Builder for configuring and creating a CosmosDBSpark
Builder for configuring and creating a CosmosDBSpark
It requires a SparkSession
or the SparkContext
Create a builder for configuring the CosmosDBSpark
Create a builder for configuring the CosmosDBSpark
a CosmosDBSession Builder
The default source string for creating DataFrames from CosmosDB
For verfication purpose
Load data from CosmosDB
Load data from CosmosDB
the Spark context containing the CosmosDB connection configuration
a CosmosDBRDD
Load data from CosmosDB
Load data from CosmosDB
the Spark context containing the CosmosDB connection configuration
a CosmosDBRDD
Load data from CosmosDB
Load data from CosmosDB
The bean class defining the schema for the data
the SparkSession containing the CosmosDB connection configuration
the class of the data contained in the RDD
a CosmosDBRDD
Load data from CosmosDB
Load data from CosmosDB
The optional class defining the schema for the data
the SparkSession containing the CosmosDB connection configuration
a CosmosDBRDD
Load data from CosmosDB
Load data from CosmosDB
The optional class defining the schema for the data
the SparkSession containing the CosmosDB connection configuration
a CosmosDBRDD
Load data from CosmosDB
Load data from CosmosDB
the Spark context containing the CosmosDB connection configuration
a CosmosDBRDD
Load data from CosmosDB
Load data from CosmosDB
the Spark context containing the CosmosDB connection configuration
a CosmosDBRDD
Creates a DataFrameReader with CosmosDB
as the source
Creates a DataFrameReader with CosmosDB
as the source
the SparkSession
the DataFrameReader
Save data to CosmosDB
Save data to CosmosDB
Uses the writeConfig
for the database information
Requires a codec for the data type
the type of the data in the RDD
the RDD data to save to CosmosDB
the class of the data contained in the RDD
the javaRDD
Save data to CosmosDB
Save data to CosmosDB
Uses the SparkConf
for the database information
the RDD data to save to CosmosDB
the javaRDD
Save data to CosmosDB
Save data to CosmosDB
Uses the SparkConf
for the database and collection information
Requires a codec for the data type
the type of the data in the RDD
the RDD data to save to CosmosDB
the class of the data contained in the RDD
the javaRDD
Save data to CosmosDB
Save data to CosmosDB
Uses the SparkConf
for the database and collection information
the RDD data to save to CosmosDB
the javaRDD
Save data to CosmosDB
Save data to CosmosDB
the DataFrameWriter save to CosmosDB
the writeConfig
Save data to CosmosDB
Save data to CosmosDB
Uses the SparkConf
for the database and collection information
the DataFrameWriter save to CosmosDB
Save data to CosmosDB
Save data to CosmosDB
Note: If the dataFrame contains an _id
field the data will upserted and replace any existing documents in the collection.
the dataset to save to CosmosDB
the writeConfig
1.1.0
Save data to CosmosDB
Save data to CosmosDB
Uses the SparkConf
for the database and collection information
Note: If the dataFrame contains an _id
field the data will upserted and replace any existing documents in the collection.
the dataset to save to CosmosDB
1.1.0
Save data to CosmosDB
Save data to CosmosDB
the type of the data in the RDD
the RDD data to save to CosmosDB
the writeConfig
Save data to CosmosDB
Save data to CosmosDB
Uses the SparkConf
for the database and collection information
Requires a codec for the data type
the type of the data in the RDD
the RDD data to save to CosmosDB
Creates a DataFrameWriter with the CosmosDB
underlying output data source.
Creates a DataFrameWriter with the CosmosDB
underlying output data source.
the DataFrame to convert into a DataFrameWriter
the DataFrameWriter
The CosmosDBSpark allow fast creation of RDDs, DataFrames or Datasets from CosmosDBSpark.
1.0