Package io.trino.operator.table.json
Record Class JsonTablePlanSingle
java.lang.Object
java.lang.Record
io.trino.operator.table.json.JsonTablePlanSingle
- All Implemented Interfaces:
JsonTablePlanNode
public record JsonTablePlanSingle(IrJsonPath path, List<JsonTableColumn> columns, boolean outer, JsonTablePlanNode child)
extends Record
implements JsonTablePlanNode
-
Constructor Summary
ConstructorsConstructorDescriptionJsonTablePlanSingle(IrJsonPath path, List<JsonTableColumn> columns, boolean outer, JsonTablePlanNode child) Creates an instance of aJsonTablePlanSinglerecord class. -
Method Summary
Modifier and TypeMethodDescriptionchild()Returns the value of thechildrecord component.columns()Returns the value of thecolumnsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanouter()Returns the value of theouterrecord component.path()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
JsonTablePlanSingle
public JsonTablePlanSingle(IrJsonPath path, List<JsonTableColumn> columns, boolean outer, JsonTablePlanNode child) Creates an instance of aJsonTablePlanSinglerecord class.- Parameters:
path- the value for thepathrecord componentcolumns- the value for thecolumnsrecord componentouter- the value for theouterrecord componentchild- the value for thechildrecord 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 '=='. -
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
columns
Returns the value of thecolumnsrecord component.- Returns:
- the value of the
columnsrecord component
-
outer
public boolean outer()Returns the value of theouterrecord component.- Returns:
- the value of the
outerrecord component
-
child
Returns the value of thechildrecord component.- Returns:
- the value of the
childrecord component
-