Class Lucene45DocValuesProducer
- java.lang.Object
-
- org.apache.lucene.codecs.DocValuesProducer
-
- org.apache.lucene.codecs.lucene45.Lucene45DocValuesProducer
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class Lucene45DocValuesProducer extends DocValuesProducer implements java.io.Closeable
reader forLucene45DocValuesFormat
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.codecs.DocValuesProducer
DocValuesProducer.SortedDocsWithField, DocValuesProducer.SortedSetDocsWithField
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()BinaryDocValuesgetBinary(FieldInfo field)ReturnsBinaryDocValuesfor this field.BitsgetDocsWithField(FieldInfo field)Returns aBitsat the size ofreader.maxDoc(), with turned on bits for each docid that does have a value for this field.NumericDocValuesgetNumeric(FieldInfo field)ReturnsNumericDocValuesfor this field.SortedDocValuesgetSorted(FieldInfo field)ReturnsSortedDocValuesfor this field.SortedSetDocValuesgetSortedSet(FieldInfo field)ReturnsSortedSetDocValuesfor this field.longramBytesUsed()Returns approximate RAM bytes used
-
-
-
Method Detail
-
getNumeric
public NumericDocValues getNumeric(FieldInfo field) throws java.io.IOException
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:
java.io.IOException
-
ramBytesUsed
public long ramBytesUsed()
Description copied from class:DocValuesProducerReturns approximate RAM bytes used- Specified by:
ramBytesUsedin classDocValuesProducer
-
getBinary
public BinaryDocValues getBinary(FieldInfo field) throws java.io.IOException
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:
java.io.IOException
-
getSorted
public SortedDocValues getSorted(FieldInfo field) throws java.io.IOException
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:
java.io.IOException
-
getSortedSet
public SortedSetDocValues getSortedSet(FieldInfo field) throws java.io.IOException
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:
java.io.IOException
-
getDocsWithField
public Bits getDocsWithField(FieldInfo field) throws java.io.IOException
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:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-