Class/Object

com.youtube.vitess.proto.vtgate

ExecuteBatchShardsRequest

Related Docs: object ExecuteBatchShardsRequest | package vtgate

Permalink

final case class ExecuteBatchShardsRequest(callerId: Option[CallerID] = None, session: Option[Session] = None, queries: Seq[BoundShardQuery] = Nil, tabletType: TabletType = ..., asTransaction: Boolean = false, options: Option[ExecuteOptions] = None) extends GeneratedMessage with Message[ExecuteBatchShardsRequest] with Updatable[ExecuteBatchShardsRequest] with Product with Serializable

ExecuteBatchShardsRequest is the payload to ExecuteBatchShards

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 carries all the queries to execute.

tabletType

tablet_type is the type of tablets that this query 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.

options

options

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[ExecuteBatchShardsRequest], Message[ExecuteBatchShardsRequest], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExecuteBatchShardsRequest
  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 ExecuteBatchShardsRequest(callerId: Option[CallerID] = None, session: Option[Session] = None, queries: Seq[BoundShardQuery] = Nil, tabletType: TabletType = ..., asTransaction: Boolean = false, 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 carries all the queries to execute.

    tabletType

    tablet_type is the type of tablets that this query 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.

    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[BoundShardQuery]): ExecuteBatchShardsRequest

    Permalink
  5. def addQueries(__vs: BoundShardQuery*): ExecuteBatchShardsRequest

    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: ExecuteBatchShardsRequest

    Permalink
  10. def clearOptions: ExecuteBatchShardsRequest

    Permalink
  11. def clearQueries: ExecuteBatchShardsRequest

    Permalink
  12. def clearSession: ExecuteBatchShardsRequest

    Permalink
  13. def clone(): AnyRef

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

    Permalink
    Definition Classes
    ExecuteBatchShardsRequest → 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 getAllFields: Map[FieldDescriptor, Any]

    Permalink
    Definition Classes
    GeneratedMessage
  18. def getCallerId: CallerID

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

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

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

    Permalink
  22. def getSession: Session

    Permalink
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def mergeFrom(_input__: CodedInputStream): ExecuteBatchShardsRequest

    Permalink
    Definition Classes
    ExecuteBatchShardsRequest → Message
  25. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink

    options

  29. val queries: Seq[BoundShardQuery]

    Permalink

    queries carries all the queries to execute.

  30. final def serializedSize: Int

    Permalink
    Definition Classes
    ExecuteBatchShardsRequest → GeneratedMessage
  31. 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.

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

    Permalink
    Definition Classes
    AnyRef
  33. val tabletType: TabletType

    Permalink

    tablet_type is the type of tablets that this query is targeted to.

  34. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  35. def toByteString: ByteString

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def withAsTransaction(__v: Boolean): ExecuteBatchShardsRequest

    Permalink
  42. def withCallerId(__v: CallerID): ExecuteBatchShardsRequest

    Permalink
  43. def withOptions(__v: ExecuteOptions): ExecuteBatchShardsRequest

    Permalink
  44. def withQueries(__v: Seq[BoundShardQuery]): ExecuteBatchShardsRequest

    Permalink
  45. def withSession(__v: Session): ExecuteBatchShardsRequest

    Permalink
  46. def withTabletType(__v: TabletType): ExecuteBatchShardsRequest

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

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

    Permalink
    Definition Classes
    ExecuteBatchShardsRequest → GeneratedMessage
  49. def writeTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage

Inherited from Product

Inherited from Equals

Inherited from Updatable[ExecuteBatchShardsRequest]

Inherited from Message[ExecuteBatchShardsRequest]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped