Package

com.microsoft.azure.cosmosdb

spark

Permalink

package spark

Whole CosmosDB helpers.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. spark
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class AsyncClientConfiguration(host: String, key: String, connectionPolicy: ConnectionPolicy, consistencyLevel: ConsistencyLevel) extends Product with Serializable

    Permalink
  2. case class AsyncCosmosDBConnection(config: Config) extends CosmosDBLoggingTrait with Serializable with Product

    Permalink
  3. final class ContinuationTokenTrackingIterator[T <: documentdb.Resource] extends Iterator[T]

    Permalink
  4. trait CosmosDBLoggingTrait extends AnyRef

    Permalink

    Utility trait for classes that want to log data.

    Utility trait for classes that want to log data. Creates a SLF4J logger for the class and allows logging messages at different levels using methods that only evaluate parameters lazily if the log level is enabled.

  5. case class CosmosDBSpark(sparkSession: SparkSession, readConfig: Config) extends Product with Serializable

    Permalink

    The CosmosDBSpark class

    The CosmosDBSpark class

    Note: Creation of the class should be via CosmosDBSpark$.Builder.

    Since

    1.0

  6. class DefaultSource extends RelationProvider with SchemaRelationProvider with CreatableRelationProvider with CosmosDBLoggingTrait

    Permalink
  7. case class SparkContextFunctions(sc: SparkContext) extends Serializable with Product with Serializable

    Permalink

Value Members

  1. object AsyncCosmosDBConnection extends Serializable

    Permalink
  2. object Constants

    Permalink
  3. object CosmosDBConnectionCache extends CosmosDBLoggingTrait

    Permalink

    Helper class that allows access to the resources used in CosmosDBConnection that are cached as singletons on executors.

  4. object CosmosDBSpark extends CosmosDBLoggingTrait with Serializable

    Permalink

    The CosmosDBSpark allow fast creation of RDDs, DataFrames or Datasets from CosmosDBSpark.

    The CosmosDBSpark allow fast creation of RDDs, DataFrames or Datasets from CosmosDBSpark.

    Since

    1.0

  5. object DefaultHelper

    Permalink

    :: DeveloperApi ::

    :: DeveloperApi ::

    A helper containing the sealed DefaultsTo trait which is used to determine the default type for a given method.

    Annotations
    @DeveloperApi()
    Since

    1.0

  6. package config

    Permalink
  7. package gremlin

    Permalink
  8. package partitioner

    Permalink
  9. package query

    Permalink
  10. package rdd

    Permalink
  11. package schema

    Permalink

    The CosmosDB Spark Connector schema package

  12. package streaming

    Permalink
  13. implicit def toDocumentRDDFunctions[D](rdd: RDD[D])(implicit e: DefaultsTo[D, Document], ct: ClassTag[D]): CosmosRDDFunctions[D]

    Permalink

    :: DeveloperApi ::

    :: DeveloperApi ::

    Helper to implicitly add CosmosDB based functions to a SparkContext

    rdd

    the RDD to save to CosmosDB

    returns

    the CosmosDB based Spark Context

    Annotations
    @DeveloperApi()
  14. implicit def toSparkContextFunctions(sc: SparkContext): SparkContextFunctions

    Permalink

    :: DeveloperApi ::

    :: DeveloperApi ::

    Helper to implicitly add CosmosDB based functions to a SparkContext

    sc

    the current SparkContext

    returns

    the CosmosDB based Spark Context

    Annotations
    @DeveloperApi()
  15. package util

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped