Class

com.github.jeroenr.tepkin.protocol.command

Aggregate

Related Doc: package command

Permalink

case class Aggregate(databaseName: String, collectionName: String, pipeline: List[BsonDocument], explain: Option[Boolean], allowDiskUse: Option[Boolean], cursor: Option[BsonDocument]) extends Command with Product with Serializable

Performs aggregation operation using the aggregation pipeline. The pipeline allows users to process data from a collection with a sequence of stage-based manipulations.

pipeline

An array of aggregation pipeline stages that process and transform the document stream as part of the aggregation pipeline.

explain

Optional. Specifies to return the information on the processing of the pipeline.

allowDiskUse

Optional. Enables writing to temporary files. When set to true, aggregation stages can write data to the _tmp subdirectory in the dbPath directory.

cursor

Optional. Specify a document that contains options that control the creation of the cursor object.

Linear Supertypes
Serializable, Serializable, Product, Equals, Command, Message, Writable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Aggregate
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Command
  7. Message
  8. Writable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Aggregate(databaseName: String, collectionName: String, pipeline: List[BsonDocument], explain: Option[Boolean], allowDiskUse: Option[Boolean], cursor: Option[BsonDocument])

    Permalink

    pipeline

    An array of aggregation pipeline stages that process and transform the document stream as part of the aggregation pipeline.

    explain

    Optional. Specifies to return the information on the processing of the pipeline.

    allowDiskUse

    Optional. Enables writing to temporary files. When set to true, aggregation stages can write data to the _tmp subdirectory in the dbPath directory.

    cursor

    Optional. Specify a document that contains options that control the creation of the cursor object.

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: Option[Boolean]

    Permalink

    Optional.

    Optional. Enables writing to temporary files. When set to true, aggregation stages can write data to the _tmp subdirectory in the dbPath directory.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. implicit val byteOrder: ByteOrder

    Permalink
    Definition Classes
    Message
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val collectionName: String

    Permalink
  9. val command: BsonDocument

    Permalink
    Definition Classes
    AggregateCommand
  10. val cursor: Option[BsonDocument]

    Permalink

    Optional.

    Optional. Specify a document that contains options that control the creation of the cursor object.

  11. val databaseName: String

    Permalink
    Definition Classes
    AggregateCommand
  12. def encode: ByteString

    Permalink
    Definition Classes
    Message → Writable
  13. def encodeBody: ByteString

    Permalink
    Definition Classes
    CommandMessage
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. val explain: Option[Boolean]

    Permalink

    Optional.

    Optional. Specifies to return the information on the processing of the pipeline.

  16. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. val opCode: Int

    Permalink
    Definition Classes
    CommandMessage
  23. val pipeline: List[BsonDocument]

    Permalink

    An array of aggregation pipeline stages that process and transform the document stream as part of the aggregation pipeline.

  24. def putCString(builder: ByteStringBuilder, value: String): ByteStringBuilder

    Permalink
    Definition Classes
    Writable
  25. val requestID: Int

    Permalink
    Definition Classes
    Message
  26. val responseTo: Int

    Permalink
    Definition Classes
    CommandMessage
  27. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Command

Inherited from Message

Inherited from Writable

Inherited from AnyRef

Inherited from Any

Ungrouped