Module org.elasticsearch.compute
Package org.elasticsearch.compute.lucene
Class TimeSeriesSourceOperator.Factory
java.lang.Object
org.elasticsearch.compute.lucene.LuceneOperator.Factory
org.elasticsearch.compute.lucene.LuceneSourceOperator.Factory
org.elasticsearch.compute.lucene.TimeSeriesSourceOperator.Factory
- All Implemented Interfaces:
Describable,Operator.OperatorFactory,SourceOperator.SourceOperatorFactory
- Enclosing class:
TimeSeriesSourceOperator
-
Field Summary
Fields inherited from class org.elasticsearch.compute.lucene.LuceneSourceOperator.Factory
contexts, limiter, maxPageSizeFields inherited from class org.elasticsearch.compute.lucene.LuceneOperator.Factory
dataPartitioning, limit, needsScore, sliceQueue, taskConcurrency -
Constructor Summary
ConstructorsConstructorDescriptionFactory(List<? extends ShardContext> contexts, Function<ShardContext, List<LuceneSliceQueue.QueryAndTags>> queryFunction, int taskConcurrency, int maxPageSize, int limit) -
Method Summary
Modifier and TypeMethodDescriptiondescribe()Returns a description of the component.get(DriverContext driverContext) Creates a new source operator.Methods inherited from class org.elasticsearch.compute.lucene.LuceneSourceOperator.Factory
autoStrategy, maxPageSizeMethods inherited from class org.elasticsearch.compute.lucene.LuceneOperator.Factory
limit, taskConcurrency
-
Constructor Details
-
Factory
public Factory(List<? extends ShardContext> contexts, Function<ShardContext, List<LuceneSliceQueue.QueryAndTags>> queryFunction, int taskConcurrency, int maxPageSize, int limit)
-
-
Method Details
-
get
Description copied from interface:SourceOperator.SourceOperatorFactoryCreates a new source operator.- Specified by:
getin interfaceOperator.OperatorFactory- Specified by:
getin interfaceSourceOperator.SourceOperatorFactory- Overrides:
getin classLuceneSourceOperator.Factory
-
describe
Description copied from interface:DescribableReturns a description of the component. This description can be more specific than Object::toString.- Specified by:
describein interfaceDescribable- Overrides:
describein classLuceneSourceOperator.Factory- Returns:
- the description
-