Record Class PlanAnonymizer.AnonymizedPlans
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.esql.anonymizer.PlanAnonymizer.AnonymizedPlans
- Enclosing class:
PlanAnonymizer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalyzed()Returns the value of theanalyzedrecord 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 theoptimizedrecord component.parsed()Returns the value of theparsedrecord component.physical()Returns the value of thephysicalrecord component.schema()Returns the value of theschemarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AnonymizedPlans
public AnonymizedPlans(String schema, String parsed, String analyzed, String optimized, String physical) Creates an instance of aAnonymizedPlansrecord class.- Parameters:
schema- the value for theschemarecord componentparsed- the value for theparsedrecord componentanalyzed- the value for theanalyzedrecord componentoptimized- the value for theoptimizedrecord componentphysical- the value for thephysicalrecord 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). -
schema
Returns the value of theschemarecord component.- Returns:
- the value of the
schemarecord component
-
parsed
Returns the value of theparsedrecord component.- Returns:
- the value of the
parsedrecord component
-
analyzed
Returns the value of theanalyzedrecord component.- Returns:
- the value of the
analyzedrecord component
-
optimized
Returns the value of theoptimizedrecord component.- Returns:
- the value of the
optimizedrecord component
-
physical
Returns the value of thephysicalrecord component.- Returns:
- the value of the
physicalrecord component
-