public class TransactionStateRow extends GenericRow
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<String,String> |
getConfiguration(Row transactionState)
Get the configuration from the transaction state
Row returned by Transaction.getTransactionState(Engine) |
static StructType |
getLogicalSchema(Engine engine,
Row transactionState)
Get the logical schema of the table from the transaction state
Row returned by Transaction.getTransactionState(Engine)} |
static java.util.List<String> |
getPartitionColumnsList(Row transactionState)
Get the list of partition column names from the write state
Row returned by Transaction.getTransactionState(Engine) |
static String |
getTablePath(Row transactionState)
Get the table path from scan state
Row returned by Transaction.getTransactionState(Engine) |
static boolean |
isIcebergCompatV2Enabled(Row transactionState)
Get the iceberg compatibility enabled or not from the transaction state
Row returned by
Transaction.getTransactionState(Engine) |
static TransactionStateRow |
of(Metadata metadata,
String tablePath) |
public static TransactionStateRow of(Metadata metadata, String tablePath)
public static StructType getLogicalSchema(Engine engine, Row transactionState)
Row returned by Transaction.getTransactionState(Engine)}engine - Engine instance to use for parsing the schematransactionState - Transaction state state RowStructTypepublic static java.util.Map<String,String> getConfiguration(Row transactionState)
Row returned by Transaction.getTransactionState(Engine)transactionState - public static boolean isIcebergCompatV2Enabled(Row transactionState)
Row returned by
Transaction.getTransactionState(Engine)transactionState - Transaction state state Rowpublic static java.util.List<String> getPartitionColumnsList(Row transactionState)
Row returned by Transaction.getTransactionState(Engine)transactionState - Transaction state state Rowpublic static String getTablePath(Row transactionState)
Row returned by Transaction.getTransactionState(Engine)transactionState - Transaction state state Row