Interface LogicalWriteInfo
@Evolving
public interface LogicalWriteInfo
This interface contains logical write information that data sources can use when generating a
WriteBuilder
.- Since:
- 3.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<StructType>
the schema of the input metadata from Spark to data source.options()
the options that the user specified when writing the datasetqueryId()
queryId
is a unique string of the query.default Optional<StructType>
the schema of the ID columns from Spark to data source.schema()
the schema of the input data from Spark to data source.
-
Method Details
-
options
CaseInsensitiveStringMap options()the options that the user specified when writing the dataset -
queryId
String queryId()queryId
is a unique string of the query. It's possible that there are many queries running at the same time, or a query is restarted and resumed.BatchWrite
can use this id to identify the query. -
schema
StructType schema()the schema of the input data from Spark to data source. -
rowIdSchema
the schema of the ID columns from Spark to data source. -
metadataSchema
the schema of the input metadata from Spark to data source.
-