public class TableToPartitionMapping extends Object
| Constructor and Description |
|---|
TableToPartitionMapping(Optional<Map<Integer,Integer>> tableToPartitionColumns,
Map<Integer,com.facebook.presto.hive.metastore.Column> partitionSchemaDifference) |
| Modifier and Type | Method and Description |
|---|---|
static TableToPartitionMapping |
empty() |
int |
getEstimatedSizeInBytes() |
Optional<com.facebook.presto.hive.metastore.Column> |
getPartitionColumn(int tableColumnIndex) |
Map<Integer,com.facebook.presto.hive.metastore.Column> |
getPartitionSchemaDifference() |
Optional<Map<Integer,Integer>> |
getTableToPartitionColumns() |
static TableToPartitionMapping |
mapColumnsByIndex(Map<Integer,com.facebook.presto.hive.metastore.Column> partitionSchemaDifference) |
String |
toString() |
public static TableToPartitionMapping empty()
public static TableToPartitionMapping mapColumnsByIndex(Map<Integer,com.facebook.presto.hive.metastore.Column> partitionSchemaDifference)
public Map<Integer,com.facebook.presto.hive.metastore.Column> getPartitionSchemaDifference()
public Optional<com.facebook.presto.hive.metastore.Column> getPartitionColumn(int tableColumnIndex)
public int getEstimatedSizeInBytes()
Copyright © 2012–2023. All rights reserved.