Class PartitionProjectionProperties
java.lang.Object
io.trino.plugin.hive.projection.PartitionProjectionProperties
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanarePartitionProjectionPropertiesSet(ConnectorTableMetadata tableMetadata) static Optional<PartitionProjection> getPartitionProjectionFromTable(Table table, TypeManager typeManager) getPartitionProjectionHiveTableProperties(ConnectorTableMetadata tableMetadata) getPartitionProjectionTrinoColumnProperties(Table table, String columnName)
-
Field Details
-
COLUMN_PROJECTION_FORMAT
- See Also:
-
COLUMN_PROJECTION_DIGITS
- See Also:
-
COLUMN_PROJECTION_INTERVAL_UNIT
- See Also:
-
COLUMN_PROJECTION_INTERVAL
- See Also:
-
COLUMN_PROJECTION_RANGE
- See Also:
-
COLUMN_PROJECTION_VALUES
- See Also:
-
COLUMN_PROJECTION_TYPE
- See Also:
-
PARTITION_PROJECTION_IGNORE
- See Also:
-
PARTITION_PROJECTION_LOCATION_TEMPLATE
- See Also:
-
PARTITION_PROJECTION_ENABLED
- See Also:
-
-
Method Details
-
getPartitionProjectionTrinoTableProperties
-
getPartitionProjectionTrinoColumnProperties
-
getPartitionProjectionHiveTableProperties
public static Map<String,String> getPartitionProjectionHiveTableProperties(ConnectorTableMetadata tableMetadata) -
arePartitionProjectionPropertiesSet
-
getPartitionProjectionFromTable
public static Optional<PartitionProjection> getPartitionProjectionFromTable(Table table, TypeManager typeManager)
-