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(String sessionId, CancellableTask parentTask, int maxOutstandingRequests, int inputChannel, Function<DriverContext,LookupFromIndexService> lookupService, DataType inputDataType, String lookupIndex, FieldAttribute.FieldName matchField, List<NamedExpression> loadFields, Source source)
extends Record
implements Operator.OperatorFactory
-
Constructor Summary
ConstructorsConstructorDescriptionFactory(String sessionId, CancellableTask parentTask, int maxOutstandingRequests, int inputChannel, Function<DriverContext, LookupFromIndexService> lookupService, DataType inputDataType, String lookupIndex, FieldAttribute.FieldName matchField, 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.intReturns the value of theinputChannelrecord component.Returns the value of theinputDataTyperecord component.Returns the value of theloadFieldsrecord component.Returns the value of thelookupIndexrecord component.Returns the value of thelookupServicerecord component.Returns the value of thematchFieldrecord 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(String sessionId, CancellableTask parentTask, int maxOutstandingRequests, int inputChannel, Function<DriverContext, LookupFromIndexService> lookupService, DataType inputDataType, String lookupIndex, FieldAttribute.FieldName matchField, List<NamedExpression> loadFields, Source source) Creates an instance of aFactoryrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentparentTask- the value for theparentTaskrecord componentmaxOutstandingRequests- the value for themaxOutstandingRequestsrecord componentinputChannel- the value for theinputChannelrecord componentlookupService- the value for thelookupServicerecord componentinputDataType- the value for theinputDataTyperecord componentlookupIndex- the value for thelookupIndexrecord componentmatchField- the value for thematchFieldrecord 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 '=='. -
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
-
inputChannel
public int inputChannel()Returns the value of theinputChannelrecord component.- Returns:
- the value of the
inputChannelrecord component
-
lookupService
Returns the value of thelookupServicerecord component.- Returns:
- the value of the
lookupServicerecord component
-
inputDataType
Returns the value of theinputDataTyperecord component.- Returns:
- the value of the
inputDataTyperecord component
-
lookupIndex
Returns the value of thelookupIndexrecord component.- Returns:
- the value of the
lookupIndexrecord component
-
matchField
Returns the value of thematchFieldrecord component.- Returns:
- the value of the
matchFieldrecord 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
-