public static class SimpleTextNormsFormat.SimpleTextNormsProducer extends DocValuesProducer
FOR RECREATIONAL USE ONLY
| Constructor and Description |
|---|
SimpleTextNormsFormat.SimpleTextNormsProducer(SegmentReadState state) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkIntegrity()
Checks consistency of this producer
|
void |
close() |
BinaryDocValues |
getBinary(FieldInfo fieldInfo)
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 fieldInfo)
Returns
NumericDocValues for this field. |
SortedDocValues |
getSorted(FieldInfo fieldInfo)
Returns
SortedDocValues for this field. |
SortedSetDocValues |
getSortedSet(FieldInfo fieldInfo)
Returns
SortedSetDocValues for this field. |
long |
ramBytesUsed()
Returns approximate RAM bytes used
|
public SimpleTextNormsFormat.SimpleTextNormsProducer(SegmentReadState state) throws IOException
IOExceptionpublic NumericDocValues getNumeric(FieldInfo fieldInfo) 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 BinaryDocValues getBinary(FieldInfo fieldInfo) 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 fieldInfo) 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 fieldInfo) 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
IOExceptionpublic long ramBytesUsed()
DocValuesProducerramBytesUsed in class DocValuesProducerpublic void checkIntegrity()
throws IOException
DocValuesProducerNote that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
checkIntegrity in class DocValuesProducerIOExceptionCopyright © 2000-2016 The Apache Software Foundation. All Rights Reserved.