Record Class LookupFromIndexOperator.Factory
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.esql.enrich.LookupFromIndexOperator.Factory
- All Implemented Interfaces:
Describable,Operator.OperatorFactory
- Enclosing class:
LookupFromIndexOperator
public static record LookupFromIndexOperator.Factory(List<MatchConfig> matchFields, String sessionId, CancellableTask parentTask, int maxOutstandingRequests, Function<DriverContext,LookupFromIndexService> lookupService, String lookupIndexPattern, String lookupIndex, List<NamedExpression> loadFields, Source source)
extends Record
implements Operator.OperatorFactory
-
Constructor Summary
ConstructorsConstructorDescriptionFactory(List<MatchConfig> matchFields, String sessionId, CancellableTask parentTask, int maxOutstandingRequests, Function<DriverContext, LookupFromIndexService> lookupService, String lookupIndexPattern, String lookupIndex, List<NamedExpression> loadFields, Source source) Creates an instance of aFactoryrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondescribe()final booleanIndicates whether some other object is "equal to" this one.get(DriverContext driverContext) final inthashCode()Returns a hash code value for this object.Returns the value of theloadFieldsrecord component.Returns the value of thelookupIndexrecord component.Returns the value of thelookupIndexPatternrecord component.Returns the value of thelookupServicerecord component.Returns the value of thematchFieldsrecord component.intReturns the value of themaxOutstandingRequestsrecord component.Returns the value of theparentTaskrecord component.Returns the value of thesessionIdrecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Factory
public Factory(List<MatchConfig> matchFields, String sessionId, CancellableTask parentTask, int maxOutstandingRequests, Function<DriverContext, LookupFromIndexService> lookupService, String lookupIndexPattern, String lookupIndex, List<NamedExpression> loadFields, Source source) Creates an instance of aFactoryrecord class.- Parameters:
matchFields- the value for thematchFieldsrecord componentsessionId- the value for thesessionIdrecord componentparentTask- the value for theparentTaskrecord componentmaxOutstandingRequests- the value for themaxOutstandingRequestsrecord componentlookupService- the value for thelookupServicerecord componentlookupIndexPattern- the value for thelookupIndexPatternrecord componentlookupIndex- the value for thelookupIndexrecord componentloadFields- the value for theloadFieldsrecord componentsource- the value for thesourcerecord component
-
-
Method Details
-
describe
- Specified by:
describein interfaceDescribable
-
get
- Specified by:
getin interfaceOperator.OperatorFactory
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
matchFields
Returns the value of thematchFieldsrecord component.- Returns:
- the value of the
matchFieldsrecord component
-
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
parentTask
Returns the value of theparentTaskrecord component.- Returns:
- the value of the
parentTaskrecord component
-
maxOutstandingRequests
public int maxOutstandingRequests()Returns the value of themaxOutstandingRequestsrecord component.- Returns:
- the value of the
maxOutstandingRequestsrecord component
-
lookupService
Returns the value of thelookupServicerecord component.- Returns:
- the value of the
lookupServicerecord component
-
lookupIndexPattern
Returns the value of thelookupIndexPatternrecord component.- Returns:
- the value of the
lookupIndexPatternrecord component
-
lookupIndex
Returns the value of thelookupIndexrecord component.- Returns:
- the value of the
lookupIndexrecord component
-
loadFields
Returns the value of theloadFieldsrecord component.- Returns:
- the value of the
loadFieldsrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-