Class Distributions
Object
org.apache.spark.sql.connector.distributions.Distributions
Helper methods to create distributions to pass into Spark.
- Since:
- 3.2.0
- 
Method SummaryModifier and TypeMethodDescriptionstatic ClusteredDistributionclustered(Expression[] clustering) Creates a distribution where tuples that share the same values for clustering expressions are co-located in the same partition.static OrderedDistributionCreates a distribution where tuples have been ordered across partitions according to ordering expressions, but not necessarily within a given partition.static UnspecifiedDistributionCreates a distribution where no promises are made about co-location of data.
- 
Method Details- 
unspecifiedCreates a distribution where no promises are made about co-location of data.
- 
clusteredCreates a distribution where tuples that share the same values for clustering expressions are co-located in the same partition.
- 
orderedCreates a distribution where tuples have been ordered across partitions according to ordering expressions, but not necessarily within a given partition.
 
-