package protocol

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

Type Members

  1. trait ChannelBufferReadable[T] extends AnyRef

    A constructor of T instances from a ByteBuf.

    A constructor of T instances from a ByteBuf.

    T

    type which instances can be constructed with this.

  2. trait ChannelBufferWritable extends AnyRef

    Something that can be written into a ByteBuf.

  3. sealed trait MongoWireVersion extends Ordered[MongoWireVersion]
  4. implicit final class RichBuffer extends AnyVal

Deprecated Type Members

  1. case class CheckedWriteRequest(op: WriteRequestOp, documents: BufferSequence, getLastError: GetLastError) extends Product with Serializable

    A helper to build write request which result needs to be checked (by sending a reactivemongo.api.commands.GetLastError command after).

    A helper to build write request which result needs to be checked (by sending a reactivemongo.api.commands.GetLastError command after).

    op

    write operation.

    documents

    body of this request, a ByteBuf containing 0, 1, or many documents.

    getLastError

    a GetLastError command message.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Unused

  2. sealed trait CollectionAwareRequestOp extends RequestOp

    A request that needs to know the full collection name.

    A request that needs to know the full collection name.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

  3. case class Delete(fullCollectionName: String, flags: Int) extends WriteRequestOp with Product with Serializable

    Delete operation.

    Delete operation.

    flags

    operation flags.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

  4. case class GetMore(fullCollectionName: String, numberToReturn: Int, cursorID: Long) extends CollectionAwareRequestOp with Product with Serializable

    GetMore operation.

    GetMore operation.

    Allows to get more data from a cursor.

    numberToReturn

    number of documents to return in the response. 0 means the server will choose.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

  5. case class Insert(flags: Int, fullCollectionName: String) extends WriteRequestOp with Product with Serializable

    Insert operation.

    Insert operation.

    flags

    Operation flags.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

  6. case class KillCursors(cursorIDs: Set[Long]) extends RequestOp with Product with Serializable

    KillCursors operation.

    KillCursors operation.

    cursorIDs

    ids of the cursors to kill. Should not be empty.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

  7. class MessageHeader extends ChannelBufferWritable with Product4[Int, Int, Int, Int] with Serializable

    Header of a Mongo Wire Protocol message.

    Header of a Mongo Wire Protocol message.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) No longer a case class, no longer a case class

  8. sealed trait Op extends AnyRef

    A Mongo Wire Protocol operation

    A Mongo Wire Protocol operation

    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

  9. case class Query(flags: Int, fullCollectionName: String, numberToSkip: Int, numberToReturn: Int) extends CollectionAwareRequestOp with Product with Serializable

    Query operation.

    Query operation.

    flags

    the operation flags

    fullCollectionName

    the full name of the queried collection

    numberToSkip

    the number of documents to skip in the response.

    numberToReturn

    The number of documents to return in the response. 0 means the server will choose.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

  10. case class Reply(flags: Int, cursorID: Long, startingFrom: Int, numberReturned: Int) extends Op with Product with Serializable

    Reply operation.

    Reply operation.

    flags

    The flags of this response.

    cursorID

    The cursor id. Strictly positive if a cursor has been created server side, 0 if none or exhausted.

    startingFrom

    The index the returned documents start from.

    numberReturned

    The number of documents that are present in this reply.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

  11. class ReplyDocumentIteratorExhaustedException extends Exception with Product1[Exception] with Serializable
    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

  12. case class Request(requestID: Int, responseTo: Int, op: RequestOp, documents: BufferSequence, readPreference: ReadPreference = ReadPreference.primary, channelIdHint: Option[ChannelId] = None) extends ChannelBufferWritable with Product with Serializable

    Request message.

    Request message.

    requestID

    the ID of this request, so that the response may be identifiable. Should be strictly positive.

    op

    request operation.

    documents

    body of this request, a ByteBuf containing 0, 1, or many documents.

    channelIdHint

    a hint for sending this request on a particular channel.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

  13. case class RequestMaker(op: RequestOp, documents: BufferSequence = BufferSequence.empty, readPreference: ReadPreference = ReadPreference.primary, channelIdHint: Option[ChannelId] = None) extends Product with Serializable

    A helper to build requests.

    A helper to build requests.

    op

    write operation.

    documents

    body of this request, a ByteBuf containing 0, 1, or many documents.

    channelIdHint

    a hint for sending this request on a particular channel.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.19.1) Internal: will be made private

  14. sealed trait RequestOp extends Op with ChannelBufferWritable

    A Mongo Wire Protocol request operation.

    A Mongo Wire Protocol request operation.

    Actually, all operations excepted Reply are requests.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

  15. sealed abstract class Response extends Product4[MessageHeader, Reply, ByteBuf, ResponseInfo] with Serializable

    A Mongo Wire Protocol Response messages.

    A Mongo Wire Protocol Response messages.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

  16. case class Update(fullCollectionName: String, flags: Int) extends WriteRequestOp with Product with Serializable

    Update operation.

    Update operation.

    flags

    Operation flags.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

  17. sealed trait WriteRequestOp extends CollectionAwareRequestOp

    A request that will perform a write on the database

    A request that will perform a write on the database

    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

Value Members

  1. object MongoWireVersion
  2. object ReplyDocumentIterator

Deprecated Value Members

  1. object MessageHeader extends AbstractFunction4[Int, Int, Int, Int, MessageHeader] with ChannelBufferReadable[MessageHeader] with Serializable

    Header deserializer from a ByteBuf.

    Header deserializer from a ByteBuf.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

  2. object QueryFlags

    Query flags.

    Query flags.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

  3. object Reply extends ChannelBufferReadable[Reply] with Serializable
    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

  4. object ReplyDocumentIteratorExhaustedException extends AbstractFunction1[Exception, ReplyDocumentIteratorExhaustedException] with Serializable
    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

  5. object Request extends Serializable

    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

  6. object Response extends Serializable
    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

  7. object ResponseInfo extends AbstractFunction1[ChannelId, ResponseInfo]
    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

  8. object UpdateFlags
    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) Internal: will be made private

Inherited from AnyRef

Inherited from Any

Ungrouped