public abstract class EmptyDocValuesProducer extends DocValuesProducer
DocValuesProducer that has no doc values.| 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.
|
getMergeInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildResourcespublic NumericDocValues getNumeric(FieldInfo field) throws IOException
DocValuesProducerNumericDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getNumeric in class DocValuesProducerIOExceptionpublic BinaryDocValues getBinary(FieldInfo field) throws IOException
DocValuesProducerBinaryDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getBinary in class DocValuesProducerIOExceptionpublic SortedDocValues getSorted(FieldInfo field) throws IOException
DocValuesProducerSortedDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getSorted in class DocValuesProducerIOExceptionpublic SortedNumericDocValues getSortedNumeric(FieldInfo field) throws IOException
DocValuesProducerSortedNumericDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getSortedNumeric in class DocValuesProducerIOExceptionpublic SortedSetDocValues getSortedSet(FieldInfo field) throws IOException
DocValuesProducerSortedSetDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getSortedSet in class DocValuesProducerIOExceptionpublic void checkIntegrity()
DocValuesProducerNote 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 DocValuesProducerpublic void close()
public long ramBytesUsed()
AccountableCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.