Package io.delta.kernel.internal.data
Class TransactionStateRow
Object
io.delta.kernel.internal.data.GenericRow
io.delta.kernel.internal.data.TransactionStateRow
- All Implemented Interfaces:
Row
-
Method Summary
Modifier and TypeMethodDescriptionstatic StructTypegetLogicalSchema(Engine engine, Row transactionState) Get the logical schema of the table from the transaction stateRowreturned byTransaction.getTransactionState(Engine)}getPartitionColumnsList(Row transactionState) Get the list of partition column names from the write stateRowreturned byTransaction.getTransactionState(Engine)static StringgetTablePath(Row transactionState) Get the table path from scan stateRowreturned byTransaction.getTransactionState(Engine)static TransactionStateRow
-
Method Details
-
of
-
getLogicalSchema
Get the logical schema of the table from the transaction stateRowreturned byTransaction.getTransactionState(Engine)}- Parameters:
engine-Engineinstance to use for parsing the schematransactionState- Transaction state stateRow- Returns:
- Logical schema of the table as
StructType
-
getPartitionColumnsList
Get the list of partition column names from the write stateRowreturned byTransaction.getTransactionState(Engine)- Parameters:
transactionState- Transaction state stateRow- Returns:
- List of partition column names according to the scan state.
-
getTablePath
Get the table path from scan stateRowreturned byTransaction.getTransactionState(Engine)- Parameters:
transactionState- Transaction state stateRow- Returns:
- Fully qualified path to the location of the table.
-