java.lang.Object
org.elasticsearch.compute.operator.AbstractPageMappingOperator
org.elasticsearch.compute.operator.ProjectOperator
- All Implemented Interfaces:
Closeable,AutoCloseable,Operator,org.elasticsearch.core.Releasable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.elasticsearch.compute.operator.AbstractPageMappingOperator
AbstractPageMappingOperator.StatusNested 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
ConstructorsConstructorDescriptionProjectOperator(List<Integer> projection) Creates an operator that applies the given projection, encoded as an integer list where the ordinal indicates the output order and the value, the backing channel that to be used. -
Method Summary
Methods inherited from class org.elasticsearch.compute.operator.AbstractPageMappingOperator
addInput, close, finish, getOutput, isFinished, needsInput, status, status
-
Constructor Details
-
ProjectOperator
Creates an operator that applies the given projection, encoded as an integer list where the ordinal indicates the output order and the value, the backing channel that to be used. Given the input {a,b,c,d}, project {a,d,a} is encoded as {0,3,0}.- Parameters:
projection- list of blocks to keep and their order.
-
-
Method Details
-
process
- Specified by:
processin classAbstractPageMappingOperator
-
toString
- Specified by:
toStringin classAbstractPageMappingOperator
-