Record Class TransportActionServices
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.esql.plugin.TransportActionServices
public record TransportActionServices(TransportService transportService, SearchService searchService, ExchangeService exchangeService, ClusterService clusterService, ProjectResolver projectResolver, IndexNameExpressionResolver indexNameExpressionResolver, UsageService usageService, InferenceRunner inferenceRunner)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTransportActionServices(TransportService transportService, SearchService searchService, ExchangeService exchangeService, ClusterService clusterService, ProjectResolver projectResolver, IndexNameExpressionResolver indexNameExpressionResolver, UsageService usageService, InferenceRunner inferenceRunner) Creates an instance of aTransportActionServicesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclusterServicerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexchangeServicerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theindexNameExpressionResolverrecord component.Returns the value of theinferenceRunnerrecord component.Returns the value of theprojectResolverrecord component.Returns the value of thesearchServicerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransportServicerecord component.Returns the value of theusageServicerecord component.
-
Constructor Details
-
TransportActionServices
public TransportActionServices(TransportService transportService, SearchService searchService, ExchangeService exchangeService, ClusterService clusterService, ProjectResolver projectResolver, IndexNameExpressionResolver indexNameExpressionResolver, UsageService usageService, InferenceRunner inferenceRunner) Creates an instance of aTransportActionServicesrecord class.- Parameters:
transportService- the value for thetransportServicerecord componentsearchService- the value for thesearchServicerecord componentexchangeService- the value for theexchangeServicerecord componentclusterService- the value for theclusterServicerecord componentprojectResolver- the value for theprojectResolverrecord componentindexNameExpressionResolver- the value for theindexNameExpressionResolverrecord componentusageService- the value for theusageServicerecord componentinferenceRunner- the value for theinferenceRunnerrecord component
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
transportService
Returns the value of thetransportServicerecord component.- Returns:
- the value of the
transportServicerecord component
-
searchService
Returns the value of thesearchServicerecord component.- Returns:
- the value of the
searchServicerecord component
-
exchangeService
Returns the value of theexchangeServicerecord component.- Returns:
- the value of the
exchangeServicerecord component
-
clusterService
Returns the value of theclusterServicerecord component.- Returns:
- the value of the
clusterServicerecord component
-
projectResolver
Returns the value of theprojectResolverrecord component.- Returns:
- the value of the
projectResolverrecord component
-
indexNameExpressionResolver
Returns the value of theindexNameExpressionResolverrecord component.- Returns:
- the value of the
indexNameExpressionResolverrecord component
-
usageService
Returns the value of theusageServicerecord component.- Returns:
- the value of the
usageServicerecord component
-
inferenceRunner
Returns the value of theinferenceRunnerrecord component.- Returns:
- the value of the
inferenceRunnerrecord component
-