Record Class MemoryInsertTableHandle
java.lang.Object
java.lang.Record
io.trino.plugin.memory.MemoryInsertTableHandle
- All Implemented Interfaces:
ConnectorInsertTableHandle
public record MemoryInsertTableHandle(long table, MemoryInsertTableHandle.InsertMode mode, Set<Long> activeTableIds)
extends Record
implements ConnectorInsertTableHandle
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMemoryInsertTableHandle(long table, MemoryInsertTableHandle.InsertMode mode, Set<Long> activeTableIds) Creates an instance of aMemoryInsertTableHandlerecord 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.mode()Returns the value of themoderecord component.longtable()Returns the value of thetablerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MemoryInsertTableHandle
public MemoryInsertTableHandle(long table, MemoryInsertTableHandle.InsertMode mode, Set<Long> activeTableIds) Creates an instance of aMemoryInsertTableHandlerecord class.- Parameters:
table- the value for thetablerecord componentmode- the value for themoderecord componentactiveTableIds- the value for theactiveTableIdsrecord 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. 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
-
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
activeTableIds
-