java.lang.Object
org.elasticsearch.compute.lucene.LuceneOperator.Factory
org.elasticsearch.compute.lucene.LuceneMaxFactory
- All Implemented Interfaces:
Describable,Operator.OperatorFactory,SourceOperator.SourceOperatorFactory
Factory that generates an operator that finds the max 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, scoreMode, sliceQueue, taskConcurrency -
Constructor Summary
ConstructorsConstructorDescriptionLuceneMaxFactory(List<? extends ShardContext> contexts, Function<ShardContext, org.apache.lucene.search.Query> queryFunction, DataPartitioning dataPartitioning, int taskConcurrency, String fieldName, LuceneMaxFactory.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
-
LuceneMaxFactory
public LuceneMaxFactory(List<? extends ShardContext> contexts, Function<ShardContext, org.apache.lucene.search.Query> queryFunction, DataPartitioning dataPartitioning, int taskConcurrency, String fieldName, LuceneMaxFactory.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
-