public class TableToPartitionMapping extends Object
| Constructor and Description |
|---|
TableToPartitionMapping(Optional<Map<Integer,Integer>> tableToPartitionColumns,
Map<Integer,HiveTypeName> partitionColumnCoercions) |
| Modifier and Type | Method and Description |
|---|---|
static TableToPartitionMapping |
empty() |
Optional<HiveType> |
getCoercion(int tableColumnIndex) |
int |
getEstimatedSizeInBytes() |
Map<Integer,HiveTypeName> |
getPartitionColumnCoercions() |
Optional<Map<Integer,Integer>> |
getTableToPartitionColumns() |
static TableToPartitionMapping |
mapColumnsByIndex(Map<Integer,HiveTypeName> columnCoercions) |
String |
toString() |
public static TableToPartitionMapping empty()
public static TableToPartitionMapping mapColumnsByIndex(Map<Integer,HiveTypeName> columnCoercions)
public Map<Integer,HiveTypeName> getPartitionColumnCoercions()
public int getEstimatedSizeInBytes()
Copyright © 2012–2020. All rights reserved.