public class SparkWriteConf
extends java.lang.Object
If a config is set at multiple levels, the following order of precedence is used (top to bottom):
Note this class is NOT meant to be serialized and sent to executors.
Constructor and Description |
---|
SparkWriteConf(org.apache.spark.sql.SparkSession spark,
Table table,
java.util.Map<java.lang.String,java.lang.String> writeOptions) |
SparkWriteConf(org.apache.spark.sql.SparkSession spark,
Table table,
java.lang.String branch,
java.util.Map<java.lang.String,java.lang.String> writeOptions) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
branch() |
boolean |
caseSensitive() |
boolean |
checkNullability() |
boolean |
checkOrdering() |
SparkWriteRequirements |
copyOnWriteRequirements(org.apache.spark.sql.connector.write.RowLevelOperation.Command command) |
FileFormat |
dataFileFormat() |
FileFormat |
deleteFileFormat() |
DeleteGranularity |
deleteGranularity() |
java.util.Map<java.lang.String,java.lang.String> |
extraSnapshotMetadata() |
IsolationLevel |
isolationLevel() |
boolean |
mergeSchema() |
int |
outputSpecId() |
java.lang.String |
overwriteMode() |
SparkWriteRequirements |
positionDeltaRequirements(org.apache.spark.sql.connector.write.RowLevelOperation.Command command) |
java.lang.String |
rewrittenFileSetId() |
long |
targetDataFileSize() |
long |
targetDeleteFileSize() |
boolean |
useFanoutWriter(SparkWriteRequirements writeRequirements) |
java.lang.Long |
validateFromSnapshotId() |
boolean |
wapEnabled() |
java.lang.String |
wapId() |
java.util.Map<java.lang.String,java.lang.String> |
writeProperties() |
SparkWriteRequirements |
writeRequirements() |
public SparkWriteConf(org.apache.spark.sql.SparkSession spark, Table table, java.util.Map<java.lang.String,java.lang.String> writeOptions)
public SparkWriteConf(org.apache.spark.sql.SparkSession spark, Table table, java.lang.String branch, java.util.Map<java.lang.String,java.lang.String> writeOptions)
public boolean checkNullability()
public boolean checkOrdering()
public java.lang.String overwriteMode()
public boolean wapEnabled()
public java.lang.String wapId()
public boolean mergeSchema()
public int outputSpecId()
public FileFormat dataFileFormat()
public long targetDataFileSize()
public boolean useFanoutWriter(SparkWriteRequirements writeRequirements)
public FileFormat deleteFileFormat()
public long targetDeleteFileSize()
public java.util.Map<java.lang.String,java.lang.String> extraSnapshotMetadata()
public java.lang.String rewrittenFileSetId()
public SparkWriteRequirements writeRequirements()
public SparkWriteRequirements copyOnWriteRequirements(org.apache.spark.sql.connector.write.RowLevelOperation.Command command)
public SparkWriteRequirements positionDeltaRequirements(org.apache.spark.sql.connector.write.RowLevelOperation.Command command)
public java.lang.Long validateFromSnapshotId()
public IsolationLevel isolationLevel()
public boolean caseSensitive()
public java.lang.String branch()
public java.util.Map<java.lang.String,java.lang.String> writeProperties()
public DeleteGranularity deleteGranularity()