| 程序包 | 说明 |
|---|---|
| org.apache.flink.table.catalog |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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() |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
| 构造器和说明 |
|---|
DefaultCatalogTable(Schema schema,
String comment,
List<String> partitionKeys,
Map<String,String> options,
Long snapshot,
TableDistribution distribution) |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.