Record Class EnrichLookupOperator.Factory
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.esql.enrich.EnrichLookupOperator.Factory
- All Implemented Interfaces:
Describable,Operator.OperatorFactory
- Enclosing class:
EnrichLookupOperator
public static record EnrichLookupOperator.Factory(String sessionId, CancellableTask parentTask, int maxOutstandingRequests, int inputChannel, EnrichLookupService enrichLookupService, DataType inputDataType, String enrichIndex, String matchType, String matchField, List<NamedExpression> enrichFields, Source source)
extends Record
implements Operator.OperatorFactory
-
Constructor Summary
ConstructorsConstructorDescriptionFactory(String sessionId, CancellableTask parentTask, int maxOutstandingRequests, int inputChannel, EnrichLookupService enrichLookupService, DataType inputDataType, String enrichIndex, String matchType, String matchField, List<NamedExpression> enrichFields, Source source) Creates an instance of aFactoryrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondescribe()Returns the value of theenrichFieldsrecord component.Returns the value of theenrichIndexrecord component.Returns the value of theenrichLookupServicerecord component.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 thematchFieldrecord component.Returns the value of thematchTyperecord 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, EnrichLookupService enrichLookupService, DataType inputDataType, String enrichIndex, String matchType, String matchField, List<NamedExpression> enrichFields, 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 componentenrichLookupService- the value for theenrichLookupServicerecord componentinputDataType- the value for theinputDataTyperecord componentenrichIndex- the value for theenrichIndexrecord componentmatchType- the value for thematchTyperecord componentmatchField- the value for thematchFieldrecord componentenrichFields- the value for theenrichFieldsrecord 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
-
enrichLookupService
Returns the value of theenrichLookupServicerecord component.- Returns:
- the value of the
enrichLookupServicerecord component
-
inputDataType
Returns the value of theinputDataTyperecord component.- Returns:
- the value of the
inputDataTyperecord component
-
enrichIndex
Returns the value of theenrichIndexrecord component.- Returns:
- the value of the
enrichIndexrecord component
-
matchType
Returns the value of thematchTyperecord component.- Returns:
- the value of the
matchTyperecord component
-
matchField
Returns the value of thematchFieldrecord component.- Returns:
- the value of the
matchFieldrecord component
-
enrichFields
Returns the value of theenrichFieldsrecord component.- Returns:
- the value of the
enrichFieldsrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-