public interface PartitionScheme
Modifier and Type | Method and Description |
---|---|
static PartitionScheme |
create(List<Partition> partitions,
Layout layout,
List<FieldSchema> partCols)
create a partition scheme object.
|
Partition |
getPartition(String spec) |
List<FieldSchema> |
getPartitionCols()
Get partition columns.
|
List<Partition> |
getPartitions()
Get a list of partitions.
|
Layout |
getTableLayout()
Get table layout.
|
List<Partition> getPartitions()
Partition getPartition(String spec)
spec
- the partition specLayout getTableLayout()
List<FieldSchema> getPartitionCols()
static PartitionScheme create(List<Partition> partitions, Layout layout, List<FieldSchema> partCols)
partitions
- partitionslayout
- table layoutpartCols
- table partition columnsCopyright © 2023. All Rights Reserved.