public class SparkWriteUtil
extends java.lang.Object
Note it is an evolving internal API that is subject to change even in minor releases.
Modifier and Type | Method and Description |
---|---|
static SparkWriteRequirements |
copyOnWriteRequirements(Table table,
org.apache.spark.sql.connector.write.RowLevelOperation.Command command,
DistributionMode mode,
boolean fanoutEnabled,
long advisoryPartitionSize)
Builds requirements for copy-on-write DELETE, UPDATE, MERGE operations.
|
static SparkWriteRequirements |
positionDeltaRequirements(Table table,
org.apache.spark.sql.connector.write.RowLevelOperation.Command command,
DistributionMode mode,
boolean fanoutEnabled,
long advisoryPartitionSize)
Builds requirements for merge-on-read DELETE, UPDATE, MERGE operations.
|
static SparkWriteRequirements |
writeRequirements(Table table,
DistributionMode mode,
boolean fanoutEnabled,
long advisoryPartitionSize)
Builds requirements for batch and micro-batch writes such as append or overwrite.
|
public static SparkWriteRequirements writeRequirements(Table table, DistributionMode mode, boolean fanoutEnabled, long advisoryPartitionSize)
public static SparkWriteRequirements copyOnWriteRequirements(Table table, org.apache.spark.sql.connector.write.RowLevelOperation.Command command, DistributionMode mode, boolean fanoutEnabled, long advisoryPartitionSize)
public static SparkWriteRequirements positionDeltaRequirements(Table table, org.apache.spark.sql.connector.write.RowLevelOperation.Command command, DistributionMode mode, boolean fanoutEnabled, long advisoryPartitionSize)