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 void
close()
BinaryDocValues
getBinary(FieldInfo field)
ReturnsBinaryDocValues
for this field.Bits
getDocsWithField(FieldInfo field)
Returns aBits
at the size ofreader.maxDoc()
, with turned on bits for each docid that does have a value for this field.NumericDocValues
getNumeric(FieldInfo field)
ReturnsNumericDocValues
for this field.SortedDocValues
getSorted(FieldInfo field)
ReturnsSortedDocValues
for this field.SortedSetDocValues
getSortedSet(FieldInfo field)
ReturnsSortedSetDocValues
for this field.long
ramBytesUsed()
Returns approximate RAM bytes used
-
-
-
Method Detail
-
getNumeric
public NumericDocValues getNumeric(FieldInfo field) throws java.io.IOException
Description copied from class:DocValuesProducer
ReturnsNumericDocValues
for this field. The returned instance need not be thread-safe: it will only be used by a single thread.- Specified by:
getNumeric
in classDocValuesProducer
- Throws:
java.io.IOException
-
ramBytesUsed
public long ramBytesUsed()
Description copied from class:DocValuesProducer
Returns approximate RAM bytes used- Specified by:
ramBytesUsed
in classDocValuesProducer
-
getBinary
public BinaryDocValues getBinary(FieldInfo field) throws java.io.IOException
Description copied from class:DocValuesProducer
ReturnsBinaryDocValues
for this field. The returned instance need not be thread-safe: it will only be used by a single thread.- Specified by:
getBinary
in classDocValuesProducer
- Throws:
java.io.IOException
-
getSorted
public SortedDocValues getSorted(FieldInfo field) throws java.io.IOException
Description copied from class:DocValuesProducer
ReturnsSortedDocValues
for this field. The returned instance need not be thread-safe: it will only be used by a single thread.- Specified by:
getSorted
in classDocValuesProducer
- Throws:
java.io.IOException
-
getSortedSet
public SortedSetDocValues getSortedSet(FieldInfo field) throws java.io.IOException
Description copied from class:DocValuesProducer
ReturnsSortedSetDocValues
for this field. The returned instance need not be thread-safe: it will only be used by a single thread.- Specified by:
getSortedSet
in classDocValuesProducer
- Throws:
java.io.IOException
-
getDocsWithField
public Bits getDocsWithField(FieldInfo field) throws java.io.IOException
Description copied from class:DocValuesProducer
Returns aBits
at 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:
getDocsWithField
in classDocValuesProducer
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
-