Record Class SemiTransactionalHiveMetastore.DeclaredIntentionToWrite
java.lang.Object
java.lang.Record
io.trino.plugin.hive.metastore.SemiTransactionalHiveMetastore.DeclaredIntentionToWrite
- Enclosing class:
SemiTransactionalHiveMetastore
public static record SemiTransactionalHiveMetastore.DeclaredIntentionToWrite(String declarationId, LocationHandle.WriteMode mode, ConnectorIdentity identity, String queryId, Location rootPath, SchemaTableName schemaTableName)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDeclaredIntentionToWrite(String declarationId, LocationHandle.WriteMode mode, ConnectorIdentity identity, String queryId, Location rootPath, SchemaTableName schemaTableName) Creates an instance of aDeclaredIntentionToWriterecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeclarationIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.identity()Returns the value of theidentityrecord component.mode()Returns the value of themoderecord component.queryId()Returns the value of thequeryIdrecord component.rootPath()Returns the value of therootPathrecord component.Returns the value of theschemaTableNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DeclaredIntentionToWrite
public DeclaredIntentionToWrite(String declarationId, LocationHandle.WriteMode mode, ConnectorIdentity identity, String queryId, Location rootPath, SchemaTableName schemaTableName) Creates an instance of aDeclaredIntentionToWriterecord class.- Parameters:
declarationId- the value for thedeclarationIdrecord componentmode- the value for themoderecord componentidentity- the value for theidentityrecord componentqueryId- the value for thequeryIdrecord componentrootPath- the value for therootPathrecord componentschemaTableName- the value for theschemaTableNamerecord 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). -
declarationId
Returns the value of thedeclarationIdrecord component.- Returns:
- the value of the
declarationIdrecord component
-
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
identity
Returns the value of theidentityrecord component.- Returns:
- the value of the
identityrecord component
-
queryId
Returns the value of thequeryIdrecord component.- Returns:
- the value of the
queryIdrecord component
-
rootPath
Returns the value of therootPathrecord component.- Returns:
- the value of the
rootPathrecord component
-
schemaTableName
Returns the value of theschemaTableNamerecord component.- Returns:
- the value of the
schemaTableNamerecord component
-