public static class MultiDocValues.EmptyDocValues extends DocValues
DocValues.SortedSource, DocValues.Source, DocValues.SourceCache, DocValues.TypeEMPTY_ARRAY| Constructor and Description |
|---|
MultiDocValues.EmptyDocValues(int maxDoc,
DocValues.Type type) |
| Modifier and Type | Method and Description |
|---|---|
DocValues.Source |
getDirectSource()
Returns a disk resident
DocValues.Source instance. |
DocValues.Type |
getType()
Returns the
DocValues.Type of this DocValues instance |
DocValues.Source |
load()
Loads a new
DocValues.Source instance for this DocValues field
instance. |
close, getDefaultSortedSource, getDefaultSource, getSource, getValueSize, setCachepublic MultiDocValues.EmptyDocValues(int maxDoc,
DocValues.Type type)
public DocValues.Source load() throws IOException
DocValuesDocValues.Source instance for this DocValues field
instance. Source instances returned from this method are not cached. It is
the callers responsibility to maintain the instance and release its
resources once the source is not needed anymore.
For managed DocValues.Source instances see DocValues.getSource().
load in class DocValuesIOExceptionDocValues.getSource(),
DocValues.setCache(SourceCache)public DocValues.Type getType()
DocValuesDocValues.Type of this DocValues instancepublic DocValues.Source getDirectSource() throws IOException
DocValuesDocValues.Source instance. Direct Sources are not
cached in the DocValues.SourceCache and should not be shared between threads.getDirectSource in class DocValuesIOExceptionCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.