public abstract class EmptyDocValuesProducer extends DocValuesProducer
DocValuesProducer
that has no doc values.NULL_ACCOUNTABLE
Modifier | Constructor and Description |
---|---|
protected |
EmptyDocValuesProducer()
Sole constructor
|
Modifier and Type | Method and Description |
---|---|
void |
checkIntegrity()
Checks consistency of this producer
|
void |
close()
Closes this doc values producer.
|
BinaryDocValues |
getBinary(FieldInfo field)
Returns
BinaryDocValues for this field. |
NumericDocValues |
getNumeric(FieldInfo field)
Returns
NumericDocValues for this field. |
SortedDocValues |
getSorted(FieldInfo field)
Returns
SortedDocValues for this field. |
SortedNumericDocValues |
getSortedNumeric(FieldInfo field)
Returns
SortedNumericDocValues for this field. |
SortedSetDocValues |
getSortedSet(FieldInfo field)
Returns
SortedSetDocValues for this field. |
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
getMergeInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildResources
public NumericDocValues getNumeric(FieldInfo field) throws IOException
DocValuesProducer
NumericDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getNumeric
in class DocValuesProducer
IOException
public BinaryDocValues getBinary(FieldInfo field) throws IOException
DocValuesProducer
BinaryDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getBinary
in class DocValuesProducer
IOException
public SortedDocValues getSorted(FieldInfo field) throws IOException
DocValuesProducer
SortedDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getSorted
in class DocValuesProducer
IOException
public SortedNumericDocValues getSortedNumeric(FieldInfo field) throws IOException
DocValuesProducer
SortedNumericDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getSortedNumeric
in class DocValuesProducer
IOException
public SortedSetDocValues getSortedSet(FieldInfo field) throws IOException
DocValuesProducer
SortedSetDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getSortedSet
in class DocValuesProducer
IOException
public void checkIntegrity()
DocValuesProducer
Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
checkIntegrity
in class DocValuesProducer
public void close()
public long ramBytesUsed()
Accountable
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.