final class Lucene70NormsProducer extends NormsProducer
Lucene70NormsFormat
Modifier and Type | Class and Description |
---|---|
(package private) static class |
Lucene70NormsProducer.DenseNormsIterator |
(package private) static class |
Lucene70NormsProducer.NormsEntry |
(package private) static class |
Lucene70NormsProducer.SparseNormsIterator |
Modifier and Type | Field and Description |
---|---|
private IndexInput |
data |
private int |
maxDoc |
private java.util.Map<java.lang.Integer,Lucene70NormsProducer.NormsEntry> |
norms |
Constructor and Description |
---|
Lucene70NormsProducer(SegmentReadState state,
java.lang.String dataCodec,
java.lang.String dataExtension,
java.lang.String metaCodec,
java.lang.String metaExtension) |
Modifier and Type | Method and Description |
---|---|
void |
checkIntegrity()
Checks consistency of this producer
|
void |
close() |
NumericDocValues |
getNorms(FieldInfo field)
Returns
NumericDocValues for this field. |
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
private void |
readFields(IndexInput meta,
FieldInfos infos) |
java.lang.String |
toString() |
getMergeInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildResources
private final java.util.Map<java.lang.Integer,Lucene70NormsProducer.NormsEntry> norms
private final IndexInput data
private final int maxDoc
Lucene70NormsProducer(SegmentReadState state, java.lang.String dataCodec, java.lang.String dataExtension, java.lang.String metaCodec, java.lang.String metaExtension) throws java.io.IOException
java.io.IOException
private void readFields(IndexInput meta, FieldInfos infos) throws java.io.IOException
java.io.IOException
public NumericDocValues getNorms(FieldInfo field) throws java.io.IOException
NormsProducer
NumericDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getNorms
in class NormsProducer
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public long ramBytesUsed()
Accountable
public void checkIntegrity() throws java.io.IOException
NormsProducer
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 NormsProducer
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object