package protocol
- Alphabetic
- Public
- Protected
Type Members
- 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.
- trait ChannelBufferWritable extends AnyRef
Something that can be written into a ByteBuf.
Deprecated Type Members
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- class ReplyDocumentIteratorExhaustedException extends Exception with Product1[Exception] with Serializable
- Annotations
- @deprecated
- Deprecated
(Since version 0.20.3) Internal: will be made private
- 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
- 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
- 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
- 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
- object ReplyDocumentIterator
Deprecated Value Members
- 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
- object QueryFlags
Query flags.
Query flags.
- Annotations
- @deprecated
- Deprecated
(Since version 0.20.3) Internal: will be made private
- object Reply extends ChannelBufferReadable[Reply] with Serializable
- Annotations
- @deprecated
- Deprecated
(Since version 0.20.3) Internal: will be made private
- object ReplyDocumentIteratorExhaustedException extends AbstractFunction1[Exception, ReplyDocumentIteratorExhaustedException] with Serializable
- Annotations
- @deprecated
- Deprecated
(Since version 0.20.3) Internal: will be made private
- object Response extends Serializable
- Annotations
- @deprecated
- Deprecated
(Since version 0.16.0) Internal: will be made private
- object ResponseInfo extends AbstractFunction1[ChannelId, ResponseInfo]
- Annotations
- @deprecated
- Deprecated
(Since version 0.16.0) Internal: will be made private
- object UpdateFlags
- Annotations
- @deprecated
- Deprecated
(Since version 0.20.3) Internal: will be made private