Class Lucene45DocValuesProducer
java.lang.Object
org.apache.lucene.codecs.DocValuesProducer
org.apache.lucene.codecs.lucene45.Lucene45DocValuesProducer
- All Implemented Interfaces:
Closeable,AutoCloseable
reader for
Lucene45DocValuesFormat-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.codecs.DocValuesProducer
DocValuesProducer.SortedDocsWithField, DocValuesProducer.SortedSetDocsWithField -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()ReturnsBinaryDocValuesfor this field.getDocsWithField(FieldInfo field) Returns aBitsat the size ofreader.maxDoc(), with turned on bits for each docid that does have a value for this field.getNumeric(FieldInfo field) ReturnsNumericDocValuesfor this field.ReturnsSortedDocValuesfor this field.getSortedSet(FieldInfo field) ReturnsSortedSetDocValuesfor this field.longReturns approximate RAM bytes used
-
Method Details
-
getNumeric
Description copied from class:DocValuesProducerReturnsNumericDocValuesfor this field. The returned instance need not be thread-safe: it will only be used by a single thread.- Specified by:
getNumericin classDocValuesProducer- Throws:
IOException
-
ramBytesUsed
public long ramBytesUsed()Description copied from class:DocValuesProducerReturns approximate RAM bytes used- Specified by:
ramBytesUsedin classDocValuesProducer
-
getBinary
Description copied from class:DocValuesProducerReturnsBinaryDocValuesfor this field. The returned instance need not be thread-safe: it will only be used by a single thread.- Specified by:
getBinaryin classDocValuesProducer- Throws:
IOException
-
getSorted
Description copied from class:DocValuesProducerReturnsSortedDocValuesfor this field. The returned instance need not be thread-safe: it will only be used by a single thread.- Specified by:
getSortedin classDocValuesProducer- Throws:
IOException
-
getSortedSet
Description copied from class:DocValuesProducerReturnsSortedSetDocValuesfor this field. The returned instance need not be thread-safe: it will only be used by a single thread.- Specified by:
getSortedSetin classDocValuesProducer- Throws:
IOException
-
getDocsWithField
Description copied from class:DocValuesProducerReturns aBitsat the size ofreader.maxDoc(), with turned on bits for each docid that does have a value for this field. The returned instance need not be thread-safe: it will only be used by a single thread.- Specified by:
getDocsWithFieldin classDocValuesProducer- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-