| Package | Description |
|---|---|
| org.apache.flink.table.catalog | |
| org.apache.flink.table.catalog.exceptions | |
| org.apache.flink.table.factories |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
default List<CatalogColumnStatistics> |
Catalog.bulkGetPartitionColumnStatistics(ObjectPath tablePath,
List<CatalogPartitionSpec> partitionSpecs)
Get a list of column statistics for given partitions.
|
default List<CatalogTableStatistics> |
Catalog.bulkGetPartitionStatistics(ObjectPath tablePath,
List<CatalogPartitionSpec> partitionSpecs)
Get a list of statistics of given partitions.
|
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
ManagedTableFactory.onCompactTable(DynamicTableFactory.Context context,
CatalogPartitionSpec partitionSpec)
Deprecated.
Notifies the listener that a table compaction occurred.
|
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.