Package io.trino.connector.system
Record Class SystemTableHandle
java.lang.Object
java.lang.Record
io.trino.connector.system.SystemTableHandle
- All Implemented Interfaces:
ConnectorTableHandle
public record SystemTableHandle(String schemaName, String tableName, TupleDomain<ColumnHandle> constraint)
extends Record
implements ConnectorTableHandle
-
Constructor Summary
ConstructorsConstructorDescriptionSystemTableHandle(String schemaName, String tableName, TupleDomain<ColumnHandle> constraint) Creates an instance of aSystemTableHandlerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconstraintrecord component.final booleanIndicates whether some other object is "equal to" this one.static SystemTableHandlefromSchemaTableName(SchemaTableName tableName) final inthashCode()Returns a hash code value for this object.Returns the value of theschemaNamerecord component.Returns the value of thetableNamerecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
SystemTableHandle
Creates an instance of aSystemTableHandlerecord class.- Parameters:
schemaName- the value for theschemaNamerecord componenttableName- the value for thetableNamerecord componentconstraint- the value for theconstraintrecord component
-
-
Method Details
-
fromSchemaTableName
-
schemaTableName
-
toString
-
hashCode
-
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). -
schemaName
Returns the value of theschemaNamerecord component.- Returns:
- the value of the
schemaNamerecord component
-
tableName
Returns the value of thetableNamerecord component.- Returns:
- the value of the
tableNamerecord component
-
constraint
Returns the value of theconstraintrecord component.- Returns:
- the value of the
constraintrecord component
-