final case class ExecuteBatchDmlRequest(session: String = "", transaction: Option[TransactionSelector] = _root_.scala.None, statements: Seq[Statement] = _root_.scala.Seq.empty, seqno: Long = 0L, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[ExecuteBatchDmlRequest] with Product with Serializable
The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
- session
Required. The session in which the DML statements should be performed.
- transaction
Required. The transaction to use. Must be a read-write transaction. To protect against replays, single-use transactions are not supported. The caller must either supply an existing transaction ID or begin a new transaction.
- statements
Required. The list of statements to execute in this batch. Statements are executed serially, such that the effects of statement
iare visible to statementi+1. Each statement must be a DML statement. Execution stops at the first failed statement; the remaining statements are not executed. Callers must provide at least one statement.- seqno
Required. A per-transaction sequence number used to identify this request. This field makes each request idempotent such that if the request is received multiple times, at most one will succeed. The sequence number must be monotonically increasing within the transaction. If a request arrives for the first time with an out-of-order sequence number, the transaction may be aborted. Replays of previously handled requests will yield the same response as the first execution.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- ExecuteBatchDmlRequest
- Product
- Equals
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ExecuteBatchDmlRequest(session: String = "", transaction: Option[TransactionSelector] = _root_.scala.None, statements: Seq[Statement] = _root_.scala.Seq.empty, seqno: Long = 0L, unknownFields: UnknownFieldSet = ...)
- session
Required. The session in which the DML statements should be performed.
- transaction
Required. The transaction to use. Must be a read-write transaction. To protect against replays, single-use transactions are not supported. The caller must either supply an existing transaction ID or begin a new transaction.
- statements
Required. The list of statements to execute in this batch. Statements are executed serially, such that the effects of statement
iare visible to statementi+1. Each statement must be a DML statement. Execution stops at the first failed statement; the remaining statements are not executed. Callers must provide at least one statement.- seqno
Required. A per-transaction sequence number used to identify this request. This field makes each request idempotent such that if the request is received multiple times, at most one will succeed. The sequence number must be monotonically increasing within the transaction. If a request arrives for the first time with an out-of-order sequence number, the transaction may be aborted. Replays of previously handled requests will yield the same response as the first execution.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllStatements(__vs: Iterable[Statement]): ExecuteBatchDmlRequest
- def addStatements(__vs: Statement*): ExecuteBatchDmlRequest
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearStatements: ExecuteBatchDmlRequest
- def clearTransaction: ExecuteBatchDmlRequest
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: ExecuteBatchDmlRequest.type
- Definition Classes
- ExecuteBatchDmlRequest → GeneratedMessage
- def discardUnknownFields: ExecuteBatchDmlRequest
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- ExecuteBatchDmlRequest → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- ExecuteBatchDmlRequest → GeneratedMessage
- def getTransaction: TransactionSelector
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val seqno: Long
-
def
serializedSize: Int
- Definition Classes
- ExecuteBatchDmlRequest → GeneratedMessage
- val session: String
- val statements: Seq[Statement]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- ExecuteBatchDmlRequest → GeneratedMessage
- val transaction: Option[TransactionSelector]
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[ExecuteBatchDmlRequest, ExecuteBatchDmlRequest]) ⇒ scalapb.lenses.Mutation[ExecuteBatchDmlRequest]*): ExecuteBatchDmlRequest
- Definition Classes
- Updatable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withSeqno(__v: Long): ExecuteBatchDmlRequest
- def withSession(__v: String): ExecuteBatchDmlRequest
- def withStatements(__v: Seq[Statement]): ExecuteBatchDmlRequest
- def withTransaction(__v: TransactionSelector): ExecuteBatchDmlRequest
- def withUnknownFields(__v: UnknownFieldSet): ExecuteBatchDmlRequest
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- ExecuteBatchDmlRequest → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage