Package org.apache.iceberg.util
Class PartitionUtil
java.lang.Object
org.apache.iceberg.util.PartitionUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic StructLike
coercePartition
(Types.StructType partitionType, PartitionSpec spec, StructLike partition) constantsMap
(ContentScanTask<?> task) constantsMap
(ContentScanTask<?> task, BiFunction<Type, Object, Object> convertConstant) constantsMap
(ContentScanTask<?> task, Types.StructType partitionType, BiFunction<Type, Object, Object> convertConstant)
-
Method Details
-
constantsMap
-
constantsMap
public static Map<Integer,?> constantsMap(ContentScanTask<?> task, BiFunction<Type, Object, Object> convertConstant) -
constantsMap
public static Map<Integer,?> constantsMap(ContentScanTask<?> task, Types.StructType partitionType, BiFunction<Type, Object, Object> convertConstant) -
coercePartition
public static StructLike coercePartition(Types.StructType partitionType, PartitionSpec spec, StructLike partition)
-