Record Class InformationSchemaTableHandle
java.lang.Object
java.lang.Record
io.trino.connector.informationschema.InformationSchemaTableHandle
- All Implemented Interfaces:
ConnectorTableHandle
public record InformationSchemaTableHandle(String catalogName, InformationSchemaTable table, Set<QualifiedTablePrefix> prefixes, OptionalLong limit)
extends Record
implements ConnectorTableHandle
-
Constructor Summary
ConstructorsConstructorDescriptionInformationSchemaTableHandle(String catalogName, InformationSchemaTable table, Set<QualifiedTablePrefix> prefixes, OptionalLong limit) Creates an instance of aInformationSchemaTableHandlerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecatalogNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.limit()Returns the value of thelimitrecord component.prefixes()Returns the value of theprefixesrecord component.table()Returns the value of thetablerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InformationSchemaTableHandle
public InformationSchemaTableHandle(String catalogName, InformationSchemaTable table, Set<QualifiedTablePrefix> prefixes, OptionalLong limit) Creates an instance of aInformationSchemaTableHandlerecord class.- Parameters:
catalogName- the value for thecatalogNamerecord componenttable- the value for thetablerecord componentprefixes- the value for theprefixesrecord componentlimit- the value for thelimitrecord component
-
-
Method Details
-
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). -
catalogName
Returns the value of thecatalogNamerecord component.- Returns:
- the value of the
catalogNamerecord component
-
table
Returns the value of thetablerecord component.- Returns:
- the value of the
tablerecord component
-
prefixes
Returns the value of theprefixesrecord component.- Returns:
- the value of the
prefixesrecord component
-
limit
Returns the value of thelimitrecord component.- Returns:
- the value of the
limitrecord component
-