public class Lucene45DocValuesProducer extends DocValuesProducer implements java.io.Closeable
Lucene45DocValuesFormatDocValuesProducer.SortedDocsWithField, DocValuesProducer.SortedSetDocsWithField| Modifier and Type | Method and Description |
|---|---|
void |
close() |
BinaryDocValues |
getBinary(FieldInfo field)
Returns
BinaryDocValues for this field. |
Bits |
getDocsWithField(FieldInfo field)
Returns a
Bits at the size of reader.maxDoc(),
with turned on bits for each docid that does have a value for this field. |
NumericDocValues |
getNumeric(FieldInfo field)
Returns
NumericDocValues for this field. |
SortedDocValues |
getSorted(FieldInfo field)
Returns
SortedDocValues for this field. |
SortedSetDocValues |
getSortedSet(FieldInfo field)
Returns
SortedSetDocValues for this field. |
long |
ramBytesUsed()
Returns approximate RAM bytes used
|
public NumericDocValues getNumeric(FieldInfo field) throws java.io.IOException
DocValuesProducerNumericDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getNumeric in class DocValuesProducerjava.io.IOExceptionpublic long ramBytesUsed()
DocValuesProducerramBytesUsed in class DocValuesProducerpublic BinaryDocValues getBinary(FieldInfo field) throws java.io.IOException
DocValuesProducerBinaryDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getBinary in class DocValuesProducerjava.io.IOExceptionpublic SortedDocValues getSorted(FieldInfo field) throws java.io.IOException
DocValuesProducerSortedDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getSorted in class DocValuesProducerjava.io.IOExceptionpublic SortedSetDocValues getSortedSet(FieldInfo field) throws java.io.IOException
DocValuesProducerSortedSetDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getSortedSet in class DocValuesProducerjava.io.IOExceptionpublic Bits getDocsWithField(FieldInfo field) throws java.io.IOException
DocValuesProducerBits at the size of reader.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.getDocsWithField in class DocValuesProducerjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionCopyright © 2010 - 2024 Adobe. All Rights Reserved