Class/Object

reactivemongo.api.commands.AggregationFramework

ReplaceRoot

Related Docs: object ReplaceRoot | package AggregationFramework

Permalink

class ReplaceRoot extends PipelineOperator with Product1[P.Document] with Serializable

Promotes a specified document to the top level and replaces all other fields. The operation replaces all existing fields in the input document, including the _id field. https://docs.mongodb.com/manual/reference/operator/aggregation/replaceRoot

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplaceRoot
  2. Serializable
  3. Serializable
  4. Product1
  5. Product
  6. Equals
  7. PipelineOperator
  8. AnyRef
  9. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReplaceRoot to any2stringadd[ReplaceRoot] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ReplaceRoot, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReplaceRoot to ArrowAssoc[ReplaceRoot] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def ensuring(cond: (ReplaceRoot) ⇒ Boolean, msg: ⇒ Any): ReplaceRoot

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReplaceRoot to Ensuring[ReplaceRoot] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (ReplaceRoot) ⇒ Boolean): ReplaceRoot

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReplaceRoot to Ensuring[ReplaceRoot] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): ReplaceRoot

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReplaceRoot to Ensuring[ReplaceRoot] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): ReplaceRoot

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReplaceRoot to Ensuring[ReplaceRoot] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    ReplaceRoot → Equals → AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReplaceRoot to StringFormat[ReplaceRoot] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  19. val makePipe: P.Document

    Permalink
    Definition Classes
    ReplaceRoot → PipelineOperator
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. val newRoot: P.Document

    Permalink

    The new root object

  22. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  24. def productArity: Int

    Permalink
    Definition Classes
    Product1 → Product
  25. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Product1 → Product
    Annotations
    @throws( ... )
  26. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  27. def productPrefix: String

    Permalink
    Definition Classes
    Product
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    ReplaceRoot → AnyRef → Any
  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def [B](y: B): (ReplaceRoot, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReplaceRoot to ArrowAssoc[ReplaceRoot] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def _1: P.Document

    Permalink
    Definition Classes
    ReplaceRoot → Product1
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  2. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    ReplaceRoot → Equals
    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) No longer a case class

Inherited from Serializable

Inherited from Serializable

Inherited from Product1[P.Document]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ReplaceRoot to any2stringadd[ReplaceRoot]

Inherited by implicit conversion StringFormat from ReplaceRoot to StringFormat[ReplaceRoot]

Inherited by implicit conversion Ensuring from ReplaceRoot to Ensuring[ReplaceRoot]

Inherited by implicit conversion ArrowAssoc from ReplaceRoot to ArrowAssoc[ReplaceRoot]

Ungrouped