Module org.elasticsearch.compute
Package org.elasticsearch.compute.lucene
Class LuceneSourceOperator.Factory
java.lang.Object
org.elasticsearch.compute.lucene.LuceneOperator.Factory
org.elasticsearch.compute.lucene.LuceneSourceOperator.Factory
- All Implemented Interfaces:
Describable,Operator.OperatorFactory,SourceOperator.SourceOperatorFactory
- Enclosing class:
LuceneSourceOperator
-
Field Summary
Fields inherited from class org.elasticsearch.compute.lucene.LuceneOperator.Factory
dataPartitioning, limit, scoreMode, sliceQueue, taskConcurrency -
Constructor Summary
ConstructorsConstructorDescriptionFactory(List<? extends ShardContext> contexts, Function<ShardContext, org.apache.lucene.search.Query> queryFunction, DataPartitioning dataPartitioning, int taskConcurrency, int maxPageSize, int limit, boolean scoring) -
Method Summary
Modifier and TypeMethodDescriptiondescribe()Returns a description of the component.get(DriverContext driverContext) Creates a new source operator.intMethods inherited from class org.elasticsearch.compute.lucene.LuceneOperator.Factory
limit, taskConcurrency
-
Constructor Details
-
Factory
public Factory(List<? extends ShardContext> contexts, Function<ShardContext, org.apache.lucene.search.Query> queryFunction, DataPartitioning dataPartitioning, int taskConcurrency, int maxPageSize, int limit, boolean scoring)
-
-
Method Details
-
get
Description copied from interface:SourceOperator.SourceOperatorFactoryCreates a new source operator. -
maxPageSize
public int maxPageSize() -
describe
Description copied from interface:DescribableReturns a description of the component. This description can be more specific than Object::toString.- Returns:
- the description
-