Package io.trino.sql.planner.plan
Record Class TableFunctionNode.TableArgumentProperties
java.lang.Object
java.lang.Record
io.trino.sql.planner.plan.TableFunctionNode.TableArgumentProperties
- Enclosing class:
TableFunctionNode
public static record TableFunctionNode.TableArgumentProperties(String argumentName, boolean rowSemantics, boolean pruneWhenEmpty, TableFunctionNode.PassThroughSpecification passThroughSpecification, List<Symbol> requiredColumns, Optional<DataOrganizationSpecification> specification)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTableArgumentProperties(String argumentName, boolean rowSemantics, boolean pruneWhenEmpty, TableFunctionNode.PassThroughSpecification passThroughSpecification, List<Symbol> requiredColumns, Optional<DataOrganizationSpecification> specification) Creates an instance of aTableArgumentPropertiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargumentNamerecord 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 thepassThroughSpecificationrecord component.booleanReturns the value of thepruneWhenEmptyrecord component.Returns the value of therequiredColumnsrecord component.booleanReturns the value of therowSemanticsrecord component.Returns the value of thespecificationrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TableArgumentProperties
public TableArgumentProperties(String argumentName, boolean rowSemantics, boolean pruneWhenEmpty, TableFunctionNode.PassThroughSpecification passThroughSpecification, List<Symbol> requiredColumns, Optional<DataOrganizationSpecification> specification) Creates an instance of aTableArgumentPropertiesrecord class.- Parameters:
argumentName- the value for theargumentNamerecord componentrowSemantics- the value for therowSemanticsrecord componentpruneWhenEmpty- the value for thepruneWhenEmptyrecord componentpassThroughSpecification- the value for thepassThroughSpecificationrecord componentrequiredColumns- the value for therequiredColumnsrecord componentspecification- the value for thespecificationrecord 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 '=='. -
argumentName
Returns the value of theargumentNamerecord component.- Returns:
- the value of the
argumentNamerecord component
-
rowSemantics
public boolean rowSemantics()Returns the value of therowSemanticsrecord component.- Returns:
- the value of the
rowSemanticsrecord component
-
pruneWhenEmpty
public boolean pruneWhenEmpty()Returns the value of thepruneWhenEmptyrecord component.- Returns:
- the value of the
pruneWhenEmptyrecord component
-
passThroughSpecification
Returns the value of thepassThroughSpecificationrecord component.- Returns:
- the value of the
passThroughSpecificationrecord component
-
requiredColumns
Returns the value of therequiredColumnsrecord component.- Returns:
- the value of the
requiredColumnsrecord component
-
specification
Returns the value of thespecificationrecord component.- Returns:
- the value of the
specificationrecord component
-