public abstract class NormsProducer extends Object implements Closeable, Accountable
NULL_ACCOUNTABLE
Modifier | Constructor and Description |
---|---|
protected |
NormsProducer()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
checkIntegrity()
Checks consistency of this producer
|
NormsProducer |
getMergeInstance()
Returns an instance optimized for merging.
|
abstract NumericDocValues |
getNorms(FieldInfo field)
Returns
NumericDocValues for this field. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildResources, ramBytesUsed
protected NormsProducer()
public abstract NumericDocValues getNorms(FieldInfo field) throws IOException
NumericDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.IOException
public abstract void checkIntegrity() throws IOException
Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
IOException
public NormsProducer getMergeInstance()
The default implementation returns this
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.