java.lang.Object
org.elasticsearch.compute.operator.SourceOperator
- All Implemented Interfaces:
Closeable,AutoCloseable,Operator,org.elasticsearch.core.Releasable
- Direct Known Subclasses:
EnrichQuerySourceOperator,ExchangeSourceOperator,LocalSourceOperator,LuceneOperator
A source operator - produces output, accepts no input.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA factory for creating source operators.Nested classes/interfaces inherited from interface org.elasticsearch.compute.operator.Operator
Operator.OperatorFactory, Operator.Status -
Field Summary
Fields inherited from interface org.elasticsearch.compute.operator.Operator
MIN_TARGET_PAGE_SIZE, NOT_BLOCKED, TARGET_PAGE_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidA source operator does not accept input - unconditionally throws UnsupportedOperationException.final booleanA source operator needs no input - unconditionally returns false.
-
Constructor Details
-
SourceOperator
public SourceOperator()
-
-
Method Details
-
needsInput
public final boolean needsInput()A source operator needs no input - unconditionally returns false.- Specified by:
needsInputin interfaceOperator- Returns:
- false
-
addInput
A source operator does not accept input - unconditionally throws UnsupportedOperationException.
-