Package org.apache.flink.table.catalog
Class TableDistribution
java.lang.Object
org.apache.flink.table.catalog.TableDistribution
Defines whether the given table is distributed across buckets using a specified algorithm and
given columns. It represents the DISTRIBUTED BY clause in SQL.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKind()inthashCode()static TableDistributionof(TableDistribution.Kind kind, Integer bucketCount, List<String> bucketKeys) Distribution of the given kind over the given keys with a declared number of buckets.static TableDistributionHash distribution over the given keys among the declared number of buckets.static TableDistributionRange distribution over the given keys among the declared number of buckets.static TableDistributionofUnknown(int bucketCount) Connector-dependent distribution with a declared number of buckets.static TableDistributionConnector-dependent distribution with a declared number of buckets.toString()
-
Method Details
-
of
public static TableDistribution of(TableDistribution.Kind kind, @Nullable Integer bucketCount, List<String> bucketKeys) Distribution of the given kind over the given keys with a declared number of buckets. -
ofUnknown
Connector-dependent distribution with a declared number of buckets. -
ofUnknown
Connector-dependent distribution with a declared number of buckets. -
ofHash
Hash distribution over the given keys among the declared number of buckets. -
ofRange
Range distribution over the given keys among the declared number of buckets. -
equals
-
hashCode
public int hashCode() -
getKind
-
getBucketKeys
-
getBucketCount
-
toString
-