public class ScanStateRow extends GenericRow
Row| Constructor and Description |
|---|
ScanStateRow(java.util.HashMap<Integer,Object> valueMap) |
| Modifier and Type | Method and Description |
|---|---|
static String |
getColumnMappingMode(Row scanState)
Get the column mapping mode from the scan state
Row returned by
Scan.getScanState(Engine). |
static StructType |
getLogicalSchema(Engine engine,
Row scanState)
Utility method to get the logical schema from the scan state
Row returned by
Scan.getScanState(Engine). |
static java.util.List<String> |
getPartitionColumns(Row scanState)
Get the list of partition column names from the scan state
Row returned by
Scan.getScanState(Engine). |
static StructType |
getPhysicalDataReadSchema(Engine engine,
Row scanState)
Utility method to get the physical data read schema from the scan state
Row
returned by Scan.getScanState(Engine). |
static StructType |
getPhysicalSchema(Engine engine,
Row scanState)
Utility method to get the physical schema from the scan state
Row returned by
Scan.getScanState(Engine). |
static String |
getTableRoot(Row scanState)
Get the table root from scan state
Row returned by
Scan.getScanState(Engine) |
static ScanStateRow |
of(Metadata metadata,
Protocol protocol,
String readSchemaLogicalJson,
String readSchemaPhysicalJson,
String readPhysicalDataSchemaJson,
String tablePath) |
public static ScanStateRow of(Metadata metadata, Protocol protocol, String readSchemaLogicalJson, String readSchemaPhysicalJson, String readPhysicalDataSchemaJson, String tablePath)
public static StructType getLogicalSchema(Engine engine, Row scanState)
Row returned by
Scan.getScanState(Engine).public static StructType getPhysicalSchema(Engine engine, Row scanState)
Row returned by
Scan.getScanState(Engine).public static StructType getPhysicalDataReadSchema(Engine engine, Row scanState)
Row
returned by Scan.getScanState(Engine). This schema is used to request data
from the scan files for the query.public static java.util.List<String> getPartitionColumns(Row scanState)
Row returned by
Scan.getScanState(Engine).scanState - Scan state Rowpublic static String getColumnMappingMode(Row scanState)
Row returned by
Scan.getScanState(Engine).public static String getTableRoot(Row scanState)
Row returned by
Scan.getScanState(Engine)scanState - Scan state Row