class Lucene53NormsProducer extends NormsProducer
Lucene53NormsFormat| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
Lucene53NormsProducer.NormsEntry |
| Modifier and Type | Field and Description |
|---|---|
private IndexInput |
data |
private int |
maxDoc |
private java.util.Map<java.lang.Integer,Lucene53NormsProducer.NormsEntry> |
norms |
| Constructor and Description |
|---|
Lucene53NormsProducer(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() |
getMergeInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildResourcesprivate final java.util.Map<java.lang.Integer,Lucene53NormsProducer.NormsEntry> norms
private final IndexInput data
private final int maxDoc
Lucene53NormsProducer(SegmentReadState state, java.lang.String dataCodec, java.lang.String dataExtension, java.lang.String metaCodec, java.lang.String metaExtension) throws java.io.IOException
java.io.IOExceptionprivate void readFields(IndexInput meta, FieldInfos infos) throws java.io.IOException
java.io.IOExceptionpublic NumericDocValues getNorms(FieldInfo field) throws java.io.IOException
NormsProducerNumericDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getNorms in class NormsProducerjava.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOExceptionpublic long ramBytesUsed()
Accountablepublic void checkIntegrity()
throws java.io.IOException
NormsProducerNote 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 NormsProducerjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object