Record Class MemoryOutputTableHandle
java.lang.Object
java.lang.Record
io.trino.plugin.memory.MemoryOutputTableHandle
- All Implemented Interfaces:
ConnectorOutputTableHandle
public record MemoryOutputTableHandle(long table, Set<Long> activeTableIds)
extends Record
implements ConnectorOutputTableHandle
-
Constructor Summary
ConstructorsConstructorDescriptionMemoryOutputTableHandle(long table, Set<Long> activeTableIds) Creates an instance of aMemoryOutputTableHandlerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactiveTableIdsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longtable()Returns the value of thetablerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MemoryOutputTableHandle
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
table
public long table()Returns the value of thetablerecord component.- Returns:
- the value of the
tablerecord component
-
activeTableIds
-