public class SparkDistributionAndOrderingUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static org.apache.spark.sql.connector.distributions.Distribution |
buildCopyOnWriteDistribution(Table table,
org.apache.spark.sql.connector.write.RowLevelOperation.Command command,
DistributionMode distributionMode) |
static org.apache.spark.sql.connector.expressions.SortOrder[] |
buildCopyOnWriteOrdering(Table table,
org.apache.spark.sql.connector.write.RowLevelOperation.Command command,
org.apache.spark.sql.connector.distributions.Distribution distribution) |
static org.apache.spark.sql.connector.distributions.Distribution |
buildPositionDeltaDistribution(Table table,
org.apache.spark.sql.connector.write.RowLevelOperation.Command command,
DistributionMode distributionMode) |
static org.apache.spark.sql.connector.expressions.SortOrder[] |
buildPositionDeltaOrdering(Table table,
org.apache.spark.sql.connector.write.RowLevelOperation.Command command) |
static org.apache.spark.sql.connector.distributions.Distribution |
buildRequiredDistribution(Table table,
DistributionMode distributionMode) |
static org.apache.spark.sql.connector.expressions.SortOrder[] |
buildRequiredOrdering(Table table,
org.apache.spark.sql.connector.distributions.Distribution distribution) |
static org.apache.spark.sql.connector.expressions.SortOrder[] |
convert(SortOrder sortOrder) |
public static org.apache.spark.sql.connector.distributions.Distribution buildRequiredDistribution(Table table, DistributionMode distributionMode)
public static org.apache.spark.sql.connector.expressions.SortOrder[] buildRequiredOrdering(Table table, org.apache.spark.sql.connector.distributions.Distribution distribution)
public static org.apache.spark.sql.connector.distributions.Distribution buildCopyOnWriteDistribution(Table table, org.apache.spark.sql.connector.write.RowLevelOperation.Command command, DistributionMode distributionMode)
public static org.apache.spark.sql.connector.expressions.SortOrder[] buildCopyOnWriteOrdering(Table table, org.apache.spark.sql.connector.write.RowLevelOperation.Command command, org.apache.spark.sql.connector.distributions.Distribution distribution)
public static org.apache.spark.sql.connector.distributions.Distribution buildPositionDeltaDistribution(Table table, org.apache.spark.sql.connector.write.RowLevelOperation.Command command, DistributionMode distributionMode)
public static org.apache.spark.sql.connector.expressions.SortOrder[] buildPositionDeltaOrdering(Table table, org.apache.spark.sql.connector.write.RowLevelOperation.Command command)
public static org.apache.spark.sql.connector.expressions.SortOrder[] convert(SortOrder sortOrder)