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.

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

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RequestMaker
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RequestMaker(op: RequestOp, documents: BufferSequence = BufferSequence.empty, readPreference: ReadPreference = ReadPreference.primary, channelIdHint: Option[ChannelId] = None)

    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.

Value Members

  1. def apply(requestID: Int): Request
  2. val channelIdHint: Option[ChannelId]
  3. val documents: BufferSequence
  4. val op: RequestOp
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. val readPreference: ReadPreference