public class PartitionUtils extends Object
Constructor and Description |
---|
PartitionUtils() |
Modifier and Type | Method and Description |
---|---|
static Pair<int[],int[][]> |
constructPartitionMapping(RowType rowType,
List<String> partitions,
int[][] projection) |
static Pair<int[],int[][]> |
constructPartitionMapping(TableSchema dataSchema,
int[][] projection) |
static PartitionInfo |
create(Pair<int[],RowType> pair,
BinaryRow binaryRow) |
public static Pair<int[],int[][]> constructPartitionMapping(TableSchema dataSchema, int[][] projection)
public static Pair<int[],int[][]> constructPartitionMapping(RowType rowType, List<String> partitions, int[][] projection)
public static PartitionInfo create(@Nullable Pair<int[],RowType> pair, BinaryRow binaryRow)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.