public abstract class DocValuesProducer extends Object implements Closeable, Accountable
NULL_ACCOUNTABLE
Modifier | Constructor and Description |
---|---|
protected |
DocValuesProducer()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
checkIntegrity()
Checks consistency of this producer
|
abstract BinaryDocValues |
getBinary(FieldInfo field)
Returns
BinaryDocValues for this field. |
DocValuesProducer |
getMergeInstance()
Returns an instance optimized for merging.
|
abstract NumericDocValues |
getNumeric(FieldInfo field)
Returns
NumericDocValues for this field. |
abstract SortedDocValues |
getSorted(FieldInfo field)
Returns
SortedDocValues for this field. |
abstract SortedNumericDocValues |
getSortedNumeric(FieldInfo field)
Returns
SortedNumericDocValues for this field. |
abstract SortedSetDocValues |
getSortedSet(FieldInfo field)
Returns
SortedSetDocValues for this field. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildResources, ramBytesUsed
protected DocValuesProducer()
public abstract NumericDocValues getNumeric(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 BinaryDocValues getBinary(FieldInfo field) throws IOException
BinaryDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.IOException
public abstract SortedDocValues getSorted(FieldInfo field) throws IOException
SortedDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.IOException
public abstract SortedNumericDocValues getSortedNumeric(FieldInfo field) throws IOException
SortedNumericDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.IOException
public abstract SortedSetDocValues getSortedSet(FieldInfo field) throws IOException
SortedSetDocValues
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 DocValuesProducer getMergeInstance()
getMergeInstance()
.
The default implementation returns this
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.