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) static Map
<Integer, PartitionSpec> indexSpecs
(List<PartitionSpec> specs)
-
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) -
indexSpecs
-