DocValuesProducer

Abstract API that produces numeric, binary, sorted, sortedset, and sortednumeric docvalues.

Inheritors

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun checkIntegrity()

Checks consistency of this producer

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard
abstract fun getBinary(field: FieldInfo): BinaryDocValues?

Returns BinaryDocValues for this field. The returned instance need not be thread-safe: it will only be used by a single thread. The behavior is undefined if the doc values type of the given field is not DocValuesType.BINARY. The return value is never null.

Link copied to clipboard
abstract fun getNumeric(field: FieldInfo): NumericDocValues?

Returns NumericDocValues for this field. The returned instance need not be thread-safe: it will only be used by a single thread. The behavior is undefined if the doc values type of the given field is not DocValuesType.NUMERIC. The return value is never null.

Link copied to clipboard
abstract fun getSkipper(field: FieldInfo): DocValuesSkipper?

Returns a DocValuesSkipper for this field. The returned instance need not be thread-safe: it will only be used by a single thread. The return value is undefined if returns DocValuesSkipIndexType.NONE.

Link copied to clipboard
abstract fun getSorted(field: FieldInfo): SortedDocValues?

Returns SortedDocValues for this field. The returned instance need not be thread-safe: it will only be used by a single thread. The behavior is undefined if the doc values type of the given field is not DocValuesType.SORTED. The return value is never null.

Link copied to clipboard

Returns SortedNumericDocValues for this field. The returned instance need not be thread-safe: it will only be used by a single thread. The behavior is undefined if the doc values type of the given field is not DocValuesType.SORTED_NUMERIC. The return value is never null.

Link copied to clipboard

Returns SortedSetDocValues for this field. The returned instance need not be thread-safe: it will only be used by a single thread. The behavior is undefined if the doc values type of the given field is not DocValuesType.SORTED_SET. The return value is never null.