| 程序包 | 说明 |
|---|---|
| org.apache.flink.table.catalog | |
| org.apache.flink.table.catalog.exceptions |
| 限定符和类型 | 方法和说明 |
|---|---|
List<CatalogPartitionSpec> |
Catalog.listPartitions(ObjectPath tablePath)
Get CatalogPartitionSpec of all partitions of the table.
|
List<CatalogPartitionSpec> |
Catalog.listPartitions(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec)
Get CatalogPartitionSpec of all partitions that is under the given CatalogPartitionSpec in
the table.
|
List<CatalogPartitionSpec> |
Catalog.listPartitionsByFilter(ObjectPath tablePath,
List<Expression> filters)
Get CatalogPartitionSpec of partitions by expression filters in the table.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Catalog.alterPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogPartition newPartition,
boolean ignoreIfNotExists)
Alter a partition.
|
void |
Catalog.alterPartitionColumnStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogColumnStatistics columnStatistics,
boolean ignoreIfNotExists)
Update the column statistics of a table partition.
|
void |
Catalog.alterPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogTableStatistics partitionStatistics,
boolean ignoreIfNotExists)
Update the statistics of a table partition.
|
void |
Catalog.createPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogPartition partition,
boolean ignoreIfExists)
Create a partition.
|
void |
Catalog.dropPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
boolean ignoreIfNotExists)
Drop a partition.
|
CatalogPartition |
Catalog.getPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec)
Get a partition of the given table.
|
CatalogColumnStatistics |
Catalog.getPartitionColumnStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec)
Get the column statistics of a partition.
|
CatalogTableStatistics |
Catalog.getPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec)
Get the statistics of a partition.
|
List<CatalogPartitionSpec> |
Catalog.listPartitions(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec)
Get CatalogPartitionSpec of all partitions that is under the given CatalogPartitionSpec in
the table.
|
boolean |
Catalog.partitionExists(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec)
Check whether a partition exists or not.
|
| 构造器和说明 |
|---|
PartitionAlreadyExistsException(String catalogName,
ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
PartitionAlreadyExistsException(String catalogName,
ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
Throwable cause) |
PartitionNotExistException(String catalogName,
ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
PartitionNotExistException(String catalogName,
ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
Throwable cause) |
PartitionSpecInvalidException(String catalogName,
List<String> partitionKeys,
ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
PartitionSpecInvalidException(String catalogName,
List<String> partitionKeys,
ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
Throwable cause) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.