public abstract class NormsProducer extends Object implements Closeable, 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() throws IOException
The default implementation returns this
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.