Record Class DatasetResolutionService.DatasetResolutionResult
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.esql.datasources.dataset.DatasetResolutionService.DatasetResolutionResult
- Enclosing class:
DatasetResolutionService
public static record DatasetResolutionService.DatasetResolutionResult(Dataset[] datasets, ResolvedIndexExpressions resolvedIndexExpressions)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDatasetResolutionResult(Dataset[] datasets, ResolvedIndexExpressions resolvedIndexExpressions) Creates an instance of aDatasetResolutionResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionDataset[]datasets()Returns the value of thedatasetsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theresolvedIndexExpressionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DatasetResolutionResult
public DatasetResolutionResult(Dataset[] datasets, ResolvedIndexExpressions resolvedIndexExpressions) Creates an instance of aDatasetResolutionResultrecord class.- Parameters:
datasets- the value for thedatasetsrecord componentresolvedIndexExpressions- the value for theresolvedIndexExpressionsrecord 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). -
datasets
Returns the value of thedatasetsrecord component.- Returns:
- the value of the
datasetsrecord component
-
resolvedIndexExpressions
Returns the value of theresolvedIndexExpressionsrecord component.- Returns:
- the value of the
resolvedIndexExpressionsrecord component
-