Class PartitionUtil


  • public class PartitionUtil
    extends java.lang.Object
    • Method Detail

      • constantsMap

        public static java.util.Map<java.lang.Integer,​?> constantsMap​(ContentScanTask<?> task)
      • constantsMap

        public static java.util.Map<java.lang.Integer,​?> constantsMap​(ContentScanTask<?> task,
                                                                            java.util.function.BiFunction<Type,​java.lang.Object,​java.lang.Object> convertConstant)
      • constantsMap

        public static java.util.Map<java.lang.Integer,​?> constantsMap​(ContentScanTask<?> task,
                                                                            Types.StructType partitionType,
                                                                            java.util.function.BiFunction<Type,​java.lang.Object,​java.lang.Object> convertConstant)
      • indexSpecs

        public static java.util.Map<java.lang.Integer,​PartitionSpec> indexSpecs​(java.util.List<PartitionSpec> specs)