Class/Object

com.youtube.vitess.proto.vtgate

ExecuteBatchRequest

Related Docs: object ExecuteBatchRequest | package vtgate

Permalink

final case class ExecuteBatchRequest(callerId: Option[CallerID] = None, session: Option[Session] = None, queries: Seq[BoundQuery] = _root_.scala.collection.Seq.empty, tabletType: TabletType = ..., asTransaction: Boolean = false, keyspace: String = "", options: Option[ExecuteOptions] = None) extends GeneratedMessage with Message[ExecuteBatchRequest] with Updatable[ExecuteBatchRequest] with Product with Serializable

ExecuteBatchRequest is the payload to ExecuteBatch.

callerId

caller_id identifies the caller. This is the effective caller ID, set by the application to further identify the caller.

session

session carries the current transaction data. It is returned by Begin. Do not fill it in if outside of a transaction.

queries

queries is a list of query and bind variables to execute.

tabletType

tablet_type is the type of tablets that these queries is targeted to.

asTransaction

as_transaction will execute the queries in this batch in a single transaction per shard, created for this purpose. (this can be seen as adding a 'begin' before and 'commit' after the queries). Only makes sense if tablet_type is master. If set, the Session is ignored.

keyspace

keyspace to target the queries to.

options

options

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[ExecuteBatchRequest], Message[ExecuteBatchRequest], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExecuteBatchRequest
  2. Product
  3. Equals
  4. Updatable
  5. Message
  6. GeneratedMessage
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExecuteBatchRequest(callerId: Option[CallerID] = None, session: Option[Session] = None, queries: Seq[BoundQuery] = _root_.scala.collection.Seq.empty, tabletType: TabletType = ..., asTransaction: Boolean = false, keyspace: String = "", options: Option[ExecuteOptions] = None)

    Permalink

    callerId

    caller_id identifies the caller. This is the effective caller ID, set by the application to further identify the caller.

    session

    session carries the current transaction data. It is returned by Begin. Do not fill it in if outside of a transaction.

    queries

    queries is a list of query and bind variables to execute.

    tabletType

    tablet_type is the type of tablets that these queries is targeted to.

    asTransaction

    as_transaction will execute the queries in this batch in a single transaction per shard, created for this purpose. (this can be seen as adding a 'begin' before and 'commit' after the queries). Only makes sense if tablet_type is master. If set, the Session is ignored.

    keyspace

    keyspace to target the queries to.

    options

    options

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addAllQueries(__vs: TraversableOnce[BoundQuery]): ExecuteBatchRequest

    Permalink
  5. def addQueries(__vs: BoundQuery*): ExecuteBatchRequest

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val asTransaction: Boolean

    Permalink

    as_transaction will execute the queries in this batch in a single transaction per shard, created for this purpose.

    as_transaction will execute the queries in this batch in a single transaction per shard, created for this purpose. (this can be seen as adding a 'begin' before and 'commit' after the queries). Only makes sense if tablet_type is master. If set, the Session is ignored.

  8. val callerId: Option[CallerID]

    Permalink

    caller_id identifies the caller.

    caller_id identifies the caller. This is the effective caller ID, set by the application to further identify the caller.

  9. def clearCallerId: ExecuteBatchRequest

    Permalink
  10. def clearOptions: ExecuteBatchRequest

    Permalink
  11. def clearQueries: ExecuteBatchRequest

    Permalink
  12. def clearSession: ExecuteBatchRequest

    Permalink
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def companion: ExecuteBatchRequest.type

    Permalink
    Definition Classes
    ExecuteBatchRequest → GeneratedMessage
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def getCallerId: CallerID

    Permalink
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getField(__field: FieldDescriptor): PValue

    Permalink
    Definition Classes
    ExecuteBatchRequest → GeneratedMessage
  20. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    ExecuteBatchRequest → GeneratedMessage
  21. def getOptions: ExecuteOptions

    Permalink
  22. def getSession: Session

    Permalink
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. val keyspace: String

    Permalink

    keyspace to target the queries to.

  25. def mergeFrom(_input__: CodedInputStream): ExecuteBatchRequest

    Permalink
    Definition Classes
    ExecuteBatchRequest → Message
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  29. val options: Option[ExecuteOptions]

    Permalink

    options

  30. val queries: Seq[BoundQuery]

    Permalink

    queries is a list of query and bind variables to execute.

  31. final def serializedSize: Int

    Permalink
    Definition Classes
    ExecuteBatchRequest → GeneratedMessage
  32. val session: Option[Session]

    Permalink

    session carries the current transaction data.

    session carries the current transaction data. It is returned by Begin. Do not fill it in if outside of a transaction.

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

    Permalink
    Definition Classes
    AnyRef
  34. val tabletType: TabletType

    Permalink

    tablet_type is the type of tablets that these queries is targeted to.

  35. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  36. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  37. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  38. def toString(): String

    Permalink
    Definition Classes
    ExecuteBatchRequest → AnyRef → Any
  39. def update(ms: (Lens[ExecuteBatchRequest, ExecuteBatchRequest]) ⇒ Mutation[ExecuteBatchRequest]*): ExecuteBatchRequest

    Permalink
    Definition Classes
    Updatable
  40. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def withAsTransaction(__v: Boolean): ExecuteBatchRequest

    Permalink
  44. def withCallerId(__v: CallerID): ExecuteBatchRequest

    Permalink
  45. def withKeyspace(__v: String): ExecuteBatchRequest

    Permalink
  46. def withOptions(__v: ExecuteOptions): ExecuteBatchRequest

    Permalink
  47. def withQueries(__v: Seq[BoundQuery]): ExecuteBatchRequest

    Permalink
  48. def withSession(__v: Session): ExecuteBatchRequest

    Permalink
  49. def withTabletType(__v: TabletType): ExecuteBatchRequest

    Permalink
  50. def writeDelimitedTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage
  51. def writeTo(_output__: CodedOutputStream): Unit

    Permalink
    Definition Classes
    ExecuteBatchRequest → GeneratedMessage
  52. def writeTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue

Inherited from Product

Inherited from Equals

Inherited from Updatable[ExecuteBatchRequest]

Inherited from Message[ExecuteBatchRequest]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped