public class Lucene45DocValuesProducer extends DocValuesProducer implements 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 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 DocValuesProducerIOExceptionpublic long ramBytesUsed()
DocValuesProducerramBytesUsed in class DocValuesProducerpublic BinaryDocValues getBinary(FieldInfo field) throws 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 DocValuesProducerIOExceptionpublic SortedDocValues getSorted(FieldInfo field) throws 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 DocValuesProducerIOExceptionpublic SortedSetDocValues getSortedSet(FieldInfo field) throws 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 DocValuesProducerIOExceptionpublic Bits getDocsWithField(FieldInfo field) throws 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 DocValuesProducerIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved