reactivemongo.api.collections.buffer

ChannelQueryBuilder

case class ChannelQueryBuilder(collection: Collection, failover: FailoverStrategy, queryOption: Option[WritableBuffer] = None, sortOption: Option[WritableBuffer] = None, projectionOption: Option[WritableBuffer] = None, hintOption: Option[WritableBuffer] = None, explainFlag: Boolean = false, snapshotFlag: Boolean = false, commentString: Option[String] = None, options: QueryOpts = QueryOpts()) extends GenericQueryBuilder[WritableBuffer, RawBSONDocumentDeserializer, RawBSONDocumentSerializer] with BufferGenericHandlers with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ChannelQueryBuilder
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. BufferGenericHandlers
  7. GenericQueryBuilder
  8. GenericHandlers
  9. AnyRef
  10. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ChannelQueryBuilder(collection: Collection, failover: FailoverStrategy, queryOption: Option[WritableBuffer] = None, sortOption: Option[WritableBuffer] = None, projectionOption: Option[WritableBuffer] = None, hintOption: Option[WritableBuffer] = None, explainFlag: Boolean = false, snapshotFlag: Boolean = false, commentString: Option[String] = None, options: QueryOpts = QueryOpts())

Type Members

  1. case class BufferStructureReader[T](reader: RawBSONDocumentDeserializer[T]) extends GenericReader[WritableBuffer, T] with Product with Serializable

    Definition Classes
    BufferGenericHandlers
  2. case class BufferStructureWriter[T](writer: RawBSONDocumentSerializer[T]) extends GenericWriter[T, WritableBuffer] with Product with Serializable

    Definition Classes
    BufferGenericHandlers
  3. case class GenericBufferReader[T](reader: Reader[T]) extends BufferReader[T] with Product with Serializable

    Definition Classes
    GenericHandlers
  4. case class GenericBufferWriter[T](writer: Writer[T]) extends BufferWriter[T] with Product with Serializable

    Definition Classes
    GenericHandlers
  5. type Self = ChannelQueryBuilder

Value Members

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  6. def BufferReaderInstance[T](reader: RawBSONDocumentDeserializer[T]): GenericBufferReader[T]

    Definition Classes
    GenericHandlers
  7. def BufferWriterInstance[T](writer: RawBSONDocumentSerializer[T]): GenericBufferWriter[T]

    Definition Classes
    GenericHandlers
  8. object StructureBufferReader extends BufferReader[WritableBuffer]

    As seen from class P, the missing signatures are as follows.

    As seen from class P, the missing signatures are as follows. * For convenience, these are usable as stub implementations.

    Definition Classes
    BufferGenericHandlersGenericHandlers
  9. object StructureBufferWriter extends BufferWriter[WritableBuffer]

    Definition Classes
    BufferGenericHandlersGenericHandlers
  10. def StructureReader[T](reader: RawBSONDocumentDeserializer[T]): BufferStructureReader[T]

    Definition Classes
    BufferGenericHandlersGenericHandlers
  11. def StructureWriter[T](writer: RawBSONDocumentSerializer[T]): GenericWriter[T, WritableBuffer]

    Definition Classes
    BufferGenericHandlersGenericHandlers
  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. val collection: Collection

  15. def comment(message: String): Self

    Adds a comment to this query, that may appear in the MongoDB logs.

    Adds a comment to this query, that may appear in the MongoDB logs.

    Definition Classes
    GenericQueryBuilder
  16. val commentString: Option[String]

  17. def copy(queryOption: Option[WritableBuffer], sortOption: Option[WritableBuffer], projectionOption: Option[WritableBuffer], hintOption: Option[WritableBuffer], explainFlag: Boolean, snapshotFlag: Boolean, commentString: Option[String], options: QueryOpts, failover: FailoverStrategy): ChannelQueryBuilder

  18. def cursor[T](readPreference: ReadPreference)(implicit reader: RawBSONDocumentDeserializer[T], ec: ExecutionContext): Cursor[T]

    Makes a Cursor of this query, which can be enumerated.

    Makes a Cursor of this query, which can be enumerated.

    An implicit Reader[T] must be present in the scope.

    readPreference

    The ReadPreference for this request. If the ReadPreference implies that this request might be run on a Secondary, the slaveOk flag will be set.

    Definition Classes
    GenericQueryBuilder
  19. def cursor[T](implicit reader: RawBSONDocumentDeserializer[T], ec: ExecutionContext): Cursor[T]

    Sends this query and gets a Cursor of instances of T.

    Sends this query and gets a Cursor of instances of T.

    An implicit Reader[T] must be present in the scope.

    Definition Classes
    GenericQueryBuilder
  20. def ensuring(cond: (ChannelQueryBuilder) ⇒ Boolean, msg: ⇒ Any): ChannelQueryBuilder

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

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

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

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

    Definition Classes
    AnyRef
  25. val explainFlag: Boolean

  26. val failover: FailoverStrategy

  27. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  30. def hint(document: WritableBuffer): Self

    Sets the hint document (a document that declares the index MongoDB should use for this query).

    Sets the hint document (a document that declares the index MongoDB should use for this query).

    Definition Classes
    GenericQueryBuilder
  31. val hintOption: Option[WritableBuffer]

  32. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  33. def merge(): ChannelBufferWritableBuffer

  34. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  35. final def notify(): Unit

    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  37. def one[T](readPreference: ReadPreference)(implicit reader: RawBSONDocumentDeserializer[T], ec: ExecutionContext): Future[Option[T]]

    Sends this query and gets a future Option[T].

    Sends this query and gets a future Option[T].

    An implicit Reader[T] must be present in the scope.

    readPreference

    The ReadPreference for this request. If the ReadPreference implies that this request might be run on a Secondary, the slaveOk flag will be set.

    Definition Classes
    GenericQueryBuilder
  38. def one[T](implicit reader: RawBSONDocumentDeserializer[T], ec: ExecutionContext): Future[Option[T]]

    Sends this query and gets a future Option[T].

    Sends this query and gets a future Option[T].

    An implicit Reader[T] must be present in the scope.

    Definition Classes
    GenericQueryBuilder
  39. def options(options: QueryOpts): Self

    Definition Classes
    GenericQueryBuilder
  40. val options: QueryOpts

  41. def projection(p: WritableBuffer): Self

    Definition Classes
    GenericQueryBuilder
  42. def projection[Pjn](p: Pjn)(implicit writer: RawBSONDocumentSerializer[Pjn]): Self

    Sets the projection document (for retrieving only a subset of fields).

    Sets the projection document (for retrieving only a subset of fields).

    Pjn

    The type of the projection. An implicit Writer][Pjn] typeclass for handling it has to be in the scope.

    Definition Classes
    GenericQueryBuilder
  43. val projectionOption: Option[WritableBuffer]

  44. def query(selector: WritableBuffer): Self

    Sets the query (the selector document).

    Sets the query (the selector document).

    Definition Classes
    GenericQueryBuilder
  45. def query[Qry](selector: Qry)(implicit writer: RawBSONDocumentSerializer[Qry]): Self

    Sets the query (the selector document).

    Sets the query (the selector document).

    Qry

    The type of the query. An implicit Writer[Qry] typeclass for handling it has to be in the scope.

    Definition Classes
    GenericQueryBuilder
  46. val queryOption: Option[WritableBuffer]

  47. def snapshot(flag: Boolean = true): Self

    Toggles snapshot mode.

    Toggles snapshot mode.

    Definition Classes
    GenericQueryBuilder
  48. val snapshotFlag: Boolean

  49. def sort(document: WritableBuffer): Self

    Sets the sorting document.

    Sets the sorting document.

    Definition Classes
    GenericQueryBuilder
  50. val sortOption: Option[WritableBuffer]

  51. object structureReader extends RawBSONDocumentDeserializer[WritableBuffer]

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

    Definition Classes
    AnyRef
  53. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. def [B](y: B): (ChannelQueryBuilder, B)

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BufferGenericHandlers

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped