| Package | Description |
|---|---|
| org.apache.flink.table.catalog |
| Modifier and Type | Method and Description |
|---|---|
TableDistribution |
TableChange.AddDistribution.getDistribution()
Returns the unique constraint to add.
|
TableDistribution |
TableChange.ModifyDistribution.getDistribution()
Returns the unique constraint to add.
|
static TableDistribution |
TableDistribution.of(TableDistribution.Kind kind,
Integer bucketCount,
List<String> bucketKeys)
Distribution of the given kind over the given keys with a declared number of buckets.
|
static TableDistribution |
TableDistribution.ofHash(List<String> bucketKeys,
Integer bucketCount)
Hash distribution over the given keys among the declared number of buckets.
|
static TableDistribution |
TableDistribution.ofRange(List<String> bucketKeys,
Integer bucketCount)
Range distribution over the given keys among the declared number of buckets.
|
static TableDistribution |
TableDistribution.ofUnknown(int bucketCount)
Connector-dependent distribution with a declared number of buckets.
|
static TableDistribution |
TableDistribution.ofUnknown(List<String> bucketKeys,
Integer bucketCount)
Connector-dependent distribution with a declared number of buckets.
|
| Modifier and Type | Method and Description |
|---|---|
default Optional<TableDistribution> |
CatalogTable.getDistribution()
Returns the distribution of the table if the
DISTRIBUTED clause is defined. |
Optional<TableDistribution> |
ResolvedCatalogTable.getDistribution() |
Optional<TableDistribution> |
DefaultCatalogTable.getDistribution() |
| Modifier and Type | Method and Description |
|---|---|
static TableChange.AddDistribution |
TableChange.add(TableDistribution distribution)
A table change to add a distribution.
|
CatalogTable.Builder |
CatalogTable.Builder.distribution(TableDistribution distribution) |
static TableChange.ModifyDistribution |
TableChange.modify(TableDistribution distribution)
A table change to modify a distribution.
|
| Constructor and Description |
|---|
DefaultCatalogTable(Schema schema,
String comment,
List<String> partitionKeys,
Map<String,String> options,
Long snapshot,
TableDistribution distribution) |
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.