Record Class TableChangesTableFunctionHandle
java.lang.Object
java.lang.Record
io.trino.plugin.deltalake.functions.tablechanges.TableChangesTableFunctionHandle
- All Implemented Interfaces:
ConnectorTableFunctionHandle
public record TableChangesTableFunctionHandle(SchemaTableName schemaTableName, long firstReadVersion, long tableReadVersion, String tableLocation, List<DeltaLakeColumnHandle> columns)
extends Record
implements ConnectorTableFunctionHandle
-
Constructor Summary
ConstructorsConstructorDescriptionTableChangesTableFunctionHandle(SchemaTableName schemaTableName, long firstReadVersion, long tableReadVersion, String tableLocation, List<DeltaLakeColumnHandle> columns) Creates an instance of aTableChangesTableFunctionHandlerecord class. -
Method Summary
Modifier and TypeMethodDescriptioncolumns()Returns the value of thecolumnsrecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of thefirstReadVersionrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theschemaTableNamerecord component.Returns the value of thetableLocationrecord component.longReturns the value of thetableReadVersionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TableChangesTableFunctionHandle
public TableChangesTableFunctionHandle(SchemaTableName schemaTableName, long firstReadVersion, long tableReadVersion, String tableLocation, List<DeltaLakeColumnHandle> columns) Creates an instance of aTableChangesTableFunctionHandlerecord class.- Parameters:
schemaTableName- the value for theschemaTableNamerecord componentfirstReadVersion- the value for thefirstReadVersionrecord componenttableReadVersion- the value for thetableReadVersionrecord componenttableLocation- the value for thetableLocationrecord componentcolumns- the value for thecolumnsrecord 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 '=='. -
schemaTableName
Returns the value of theschemaTableNamerecord component.- Returns:
- the value of the
schemaTableNamerecord component
-
firstReadVersion
public long firstReadVersion()Returns the value of thefirstReadVersionrecord component.- Returns:
- the value of the
firstReadVersionrecord component
-
tableReadVersion
public long tableReadVersion()Returns the value of thetableReadVersionrecord component.- Returns:
- the value of the
tableReadVersionrecord component
-
tableLocation
Returns the value of thetableLocationrecord component.- Returns:
- the value of the
tableLocationrecord component
-
columns
Returns the value of thecolumnsrecord component.- Returns:
- the value of the
columnsrecord component
-