Package io.trino.plugin.hive
Class TableToPartitionMapping
- java.lang.Object
-
- io.trino.plugin.hive.TableToPartitionMapping
-
public class TableToPartitionMapping extends Object
-
-
Constructor Summary
Constructors Constructor Description TableToPartitionMapping(Optional<Map<Integer,Integer>> tableToPartitionColumns, Map<Integer,HiveTypeName> partitionColumnCoercions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TableToPartitionMappingempty()Optional<HiveType>getCoercion(int tableColumnIndex)intgetEstimatedSizeInBytes()Map<Integer,HiveTypeName>getPartitionColumnCoercions()Optional<Map<Integer,Integer>>getTableToPartitionColumns()static TableToPartitionMappingmapColumnsByIndex(Map<Integer,HiveTypeName> columnCoercions)StringtoString()
-
-
-
Method Detail
-
empty
public static TableToPartitionMapping empty()
-
mapColumnsByIndex
public static TableToPartitionMapping mapColumnsByIndex(Map<Integer,HiveTypeName> columnCoercions)
-
getPartitionColumnCoercions
public Map<Integer,HiveTypeName> getPartitionColumnCoercions()
-
getEstimatedSizeInBytes
public int getEstimatedSizeInBytes()
-
-