Class/Object

com.mongodb.spark.config

AggregationConfig

Related Docs: object AggregationConfig | package config

Permalink

case class AggregationConfig(collationString: Option[String] = None, hintString: Option[String] = None, pipelineString: Option[String] = None, allowDiskUse: Boolean = ...) extends MongoClassConfig with Product with Serializable

The aggregation configuration

collationString

the optional collation config

hintString

the optional hint document in extended json format

pipelineString

the optional aggregation pipeline, either a list of documents in json syntax or a single document in json syntax

allowDiskUse

enables writing to temporary files

Linear Supertypes
Product, Equals, MongoClassConfig, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AggregationConfig
  2. Product
  3. Equals
  4. MongoClassConfig
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AggregationConfig(collationString: Option[String] = None, hintString: Option[String] = None, pipelineString: Option[String] = None, allowDiskUse: Boolean = ...)

    Permalink

    collationString

    the optional collation config

    hintString

    the optional hint document in extended json format

    pipelineString

    the optional aggregation pipeline, either a list of documents in json syntax or a single document in json syntax

    allowDiskUse

    enables writing to temporary files

Type Members

  1. type Self = AggregationConfig

    Permalink

    Defines Self as a type that can be used to return a copy of the object i.e.

    Defines Self as a type that can be used to return a copy of the object i.e. a different instance of the same type

    Definition Classes
    AggregationConfigMongoClassConfig

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val allowDiskUse: Boolean

    Permalink

    enables writing to temporary files

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def asJavaOptions: Map[String, String]

    Permalink

    Creates a map of options representing the configuration

    Creates a map of options representing the configuration

    returns

    the map representing the configuration values

    Definition Classes
    AggregationConfigMongoClassConfig
  7. def asOptions: Map[String, String]

    Permalink

    Creates a map of options representing this config.

    Creates a map of options representing this config.

    returns

    the map representing the config

    Definition Classes
    AggregationConfigMongoClassConfig
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. lazy val collation: Option[Collation]

    Permalink

    returns

    the collation option

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. lazy val hint: Option[BsonDocument]

    Permalink

    The optional hint document

    The optional hint document

    returns

    the bson hint document option

  14. def isDefined: Boolean

    Permalink

    returns

    true if custom aggregation options have been defined.

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. lazy val pipeline: Option[List[BsonDocument]]

    Permalink

    returns

    the pipeline option

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def withOption(key: String, value: String): AggregationConfig

    Permalink

    Creates a new config with the options applied

    Creates a new config with the options applied

    key

    the configuration key

    value

    the configuration value

    returns

    an updated config

    Definition Classes
    AggregationConfigMongoClassConfig
  25. def withOptions(options: Map[String, String]): AggregationConfig

    Permalink

    Creates a new config with the options applied

    Creates a new config with the options applied

    options

    a map of options to be applied to the config

    returns

    an updated config

    Definition Classes
    AggregationConfigMongoClassConfig
  26. def withOptions(options: Map[String, String]): AggregationConfig

    Permalink

    Creates a new config with the options applied

    Creates a new config with the options applied

    options

    a map of options to be applied to the config

    returns

    an updated config

    Definition Classes
    AggregationConfigMongoClassConfig

Inherited from Product

Inherited from Equals

Inherited from MongoClassConfig

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped