java.lang.Object
org.elasticsearch.compute.lucene.LuceneOperator.Factory
org.elasticsearch.compute.lucene.LuceneMinFactory
- All Implemented Interfaces:
Describable,Operator.OperatorFactory,SourceOperator.SourceOperatorFactory
Factory that generates an operator that finds the min value of a field using the
LuceneMinMaxOperator.-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.elasticsearch.compute.lucene.LuceneOperator.Factory
dataPartitioning, limit, needsScore, sliceQueue, taskConcurrency -
Constructor Summary
ConstructorsConstructorDescriptionLuceneMinFactory(List<? extends ShardContext> contexts, Function<ShardContext, List<LuceneSliceQueue.QueryAndTags>> queryFunction, DataPartitioning dataPartitioning, int taskConcurrency, String fieldName, LuceneMinFactory.NumberType numberType, 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.LuceneOperator.Factory
limit, taskConcurrency
-
Constructor Details
-
LuceneMinFactory
public LuceneMinFactory(List<? extends ShardContext> contexts, Function<ShardContext, List<LuceneSliceQueue.QueryAndTags>> queryFunction, DataPartitioning dataPartitioning, int taskConcurrency, String fieldName, LuceneMinFactory.NumberType numberType, int limit)
-
-
Method Details
-
get
Description copied from interface:SourceOperator.SourceOperatorFactoryCreates a new source operator. -
describe
Description copied from interface:DescribableReturns a description of the component. This description can be more specific than Object::toString.- Returns:
- the description
-