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
IOException
public NumericDocValues getNumeric(FieldInfo fieldInfo) throws IOException
DocValuesProducer
NumericDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getNumeric
in class DocValuesProducer
IOException
public BinaryDocValues getBinary(FieldInfo fieldInfo) throws IOException
DocValuesProducer
BinaryDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getBinary
in class DocValuesProducer
IOException
public SortedDocValues getSorted(FieldInfo fieldInfo) throws IOException
DocValuesProducer
SortedDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getSorted
in class DocValuesProducer
IOException
public SortedSetDocValues getSortedSet(FieldInfo fieldInfo) throws IOException
DocValuesProducer
SortedSetDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getSortedSet
in class DocValuesProducer
IOException
public Bits getDocsWithField(FieldInfo field) throws IOException
DocValuesProducer
Bits
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 DocValuesProducer
IOException
public void close() throws IOException
IOException
public long ramBytesUsed()
DocValuesProducer
ramBytesUsed
in class DocValuesProducer
public void checkIntegrity() throws IOException
DocValuesProducer
Note 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 DocValuesProducer
IOException
Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.