public class PartitionUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static StructLike |
coercePartition(Types.StructType partitionType,
PartitionSpec spec,
StructLike partition) |
static java.util.Map<java.lang.Integer,?> |
constantsMap(ContentScanTask<?> task) |
static java.util.Map<java.lang.Integer,?> |
constantsMap(ContentScanTask<?> task,
java.util.function.BiFunction<Type,java.lang.Object,java.lang.Object> convertConstant) |
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) |
public static java.util.Map<java.lang.Integer,?> constantsMap(ContentScanTask<?> task)
public static java.util.Map<java.lang.Integer,?> constantsMap(ContentScanTask<?> task, java.util.function.BiFunction<Type,java.lang.Object,java.lang.Object> convertConstant)
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)
public static StructLike coercePartition(Types.StructType partitionType, PartitionSpec spec, StructLike partition)