Module org.elasticsearch.compute
Package org.elasticsearch.compute.lucene
Class ValuesSourceReaderOperator
java.lang.Object
org.elasticsearch.compute.operator.AbstractPageMappingOperator
org.elasticsearch.compute.lucene.ValuesSourceReaderOperator
- All Implemented Interfaces:
Closeable,AutoCloseable,Operator,org.elasticsearch.core.Releasable
Operator that extracts doc_values from a Lucene index out of pages that have been produced by
LuceneSourceOperator
and outputs them to a new column.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordCreates a factory forValuesSourceReaderOperator.static final recordConfiguration for a field to load.static final recordstatic classNested classes/interfaces inherited from interface org.elasticsearch.compute.operator.Operator
Operator.OperatorFactory -
Field Summary
Fields inherited from interface org.elasticsearch.compute.operator.Operator
MIN_TARGET_PAGE_SIZE, NOT_BLOCKED, TARGET_PAGE_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionValuesSourceReaderOperator(BlockFactory blockFactory, List<ValuesSourceReaderOperator.FieldInfo> fields, List<ValuesSourceReaderOperator.ShardContext> shardContexts, int docChannel) Creates a new extractor -
Method Summary
Methods inherited from class org.elasticsearch.compute.operator.AbstractPageMappingOperator
addInput, close, finish, getOutput, isFinished, needsInput, status
-
Constructor Details
-
ValuesSourceReaderOperator
public ValuesSourceReaderOperator(BlockFactory blockFactory, List<ValuesSourceReaderOperator.FieldInfo> fields, List<ValuesSourceReaderOperator.ShardContext> shardContexts, int docChannel) Creates a new extractor- Parameters:
fields- fields to loaddocChannel- the channel containing the shard, leaf/segment and doc id
-
-
Method Details
-
process
- Specified by:
processin classAbstractPageMappingOperator
-
toString
- Specified by:
toStringin classAbstractPageMappingOperator
-
status
protected ValuesSourceReaderOperator.Status status(long processNanos, int pagesProcessed, long rowsReceived, long rowsEmitted) - Overrides:
statusin classAbstractPageMappingOperator
-