public abstract class DocValuesProducer extends java.lang.Object implements java.io.Closeable, 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, waitgetChildResources, ramBytesUsedprotected DocValuesProducer()
public abstract NumericDocValues getNumeric(FieldInfo field) throws java.io.IOException
NumericDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.java.io.IOExceptionpublic abstract BinaryDocValues getBinary(FieldInfo field) throws java.io.IOException
BinaryDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.java.io.IOExceptionpublic abstract SortedDocValues getSorted(FieldInfo field) throws java.io.IOException
SortedDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.java.io.IOExceptionpublic abstract SortedNumericDocValues getSortedNumeric(FieldInfo field) throws java.io.IOException
SortedNumericDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.java.io.IOExceptionpublic abstract SortedSetDocValues getSortedSet(FieldInfo field) throws java.io.IOException
SortedSetDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.java.io.IOExceptionpublic abstract void checkIntegrity()
throws java.io.IOException
Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
java.io.IOExceptionpublic DocValuesProducer getMergeInstance() throws java.io.IOException
The default implementation returns this
java.io.IOExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.