public abstract class DocValuesProducer extends implements , 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. |
getChildResources, ramBytesUsed
protected DocValuesProducer()
public abstract NumericDocValues getNumeric(FieldInfo field) throws
NumericDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.
public abstract BinaryDocValues getBinary(FieldInfo field) throws
BinaryDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.
public abstract SortedDocValues getSorted(FieldInfo field) throws
SortedDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.
public abstract SortedNumericDocValues getSortedNumeric(FieldInfo field) throws
SortedNumericDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.
public abstract SortedSetDocValues getSortedSet(FieldInfo field) throws
SortedSetDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.
public abstract void checkIntegrity() throws
Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
public DocValuesProducer getMergeInstance()
getMergeInstance()
.
The default implementation returns this
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.