public static class SimpleTextNormsFormat.SimpleTextNormsProducer extends NormsProducer
FOR RECREATIONAL USE ONLY
| Constructor and Description |
|---|
SimpleTextNormsProducer(SegmentReadState state) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkIntegrity()
Checks consistency of this producer
|
void |
close() |
Collection<Accountable> |
getChildResources()
Returns nested resources of this class.
|
NumericDocValues |
getNorms(FieldInfo field)
Returns
NumericDocValues for this field. |
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
String |
toString() |
getMergeInstancepublic SimpleTextNormsProducer(SegmentReadState state) throws IOException
IOExceptionpublic NumericDocValues getNorms(FieldInfo field) throws 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 NormsProducerIOExceptionpublic void close()
throws IOException
IOExceptionpublic long ramBytesUsed()
Accountablepublic Collection<Accountable> getChildResources()
AccountableAccountablespublic void checkIntegrity()
throws 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 NormsProducerIOExceptionCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.