Record Class ViewResolver.OriginViewsResolution
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.esql.view.ViewResolver.OriginViewsResolution
- Enclosing class:
ViewResolver
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOriginViewsResolution(boolean resolveLocalViews, String originProjectAlias) Creates an instance of aOriginViewsResolutionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theoriginProjectAliasrecord component.booleanReturns the value of theresolveLocalViewsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OriginViewsResolution
Creates an instance of aOriginViewsResolutionrecord class.- Parameters:
resolveLocalViews- the value for theresolveLocalViewsrecord componentoriginProjectAlias- the value for theoriginProjectAliasrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
resolveLocalViews
public boolean resolveLocalViews()Returns the value of theresolveLocalViewsrecord component.- Returns:
- the value of the
resolveLocalViewsrecord component
-
originProjectAlias
Returns the value of theoriginProjectAliasrecord component.- Returns:
- the value of the
originProjectAliasrecord component
-