Record Class MongoOutputTableHandle
java.lang.Object
java.lang.Record
io.trino.plugin.mongodb.MongoOutputTableHandle
- All Implemented Interfaces:
ConnectorOutputTableHandle
public record MongoOutputTableHandle(RemoteTableName remoteTableName, List<MongoColumnHandle> columns, Optional<String> temporaryTableName, Optional<String> pageSinkIdColumnName)
extends Record
implements ConnectorOutputTableHandle
-
Constructor Summary
ConstructorsConstructorDescriptionMongoOutputTableHandle(RemoteTableName remoteTableName, List<MongoColumnHandle> columns, Optional<String> temporaryTableName, Optional<String> pageSinkIdColumnName) Creates an instance of aMongoOutputTableHandlerecord class. -
Method Summary
Modifier and TypeMethodDescriptioncolumns()Returns the value of thecolumnsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepageSinkIdColumnNamerecord component.Returns the value of theremoteTableNamerecord component.Returns the value of thetemporaryTableNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MongoOutputTableHandle
public MongoOutputTableHandle(RemoteTableName remoteTableName, List<MongoColumnHandle> columns, Optional<String> temporaryTableName, Optional<String> pageSinkIdColumnName) Creates an instance of aMongoOutputTableHandlerecord class.- Parameters:
remoteTableName- the value for theremoteTableNamerecord componentcolumns- the value for thecolumnsrecord componenttemporaryTableName- the value for thetemporaryTableNamerecord componentpageSinkIdColumnName- the value for thepageSinkIdColumnNamerecord component
-
-
Method Details
-
getTemporaryRemoteTableName
-
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). -
remoteTableName
Returns the value of theremoteTableNamerecord component.- Returns:
- the value of the
remoteTableNamerecord component
-
columns
Returns the value of thecolumnsrecord component.- Returns:
- the value of the
columnsrecord component
-
temporaryTableName
-
pageSinkIdColumnName
-