final case class BatchWriteRequest(session: String = "", requestOptions: Option[RequestOptions] = _root_.scala.None, mutationGroups: Seq[MutationGroup] = _root_.scala.Seq.empty, excludeTxnFromChangeStreams: Boolean = false, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[BatchWriteRequest] with Product with Serializable
The request for [BatchWrite][google.spanner.v1.Spanner.BatchWrite].
- session
Required. The session in which the batch request is to be run.
- requestOptions
Common options for this request.
- mutationGroups
Required. The groups of mutations to be applied.
- excludeTxnFromChangeStreams
Optional. When
exclude_txn_from_change_streamsis set totrue: * Mutations from all transactions in this batch write operation will not be recorded in change streams with DDL optionallow_txn_exclusion=truethat are tracking columns modified by these transactions. * Mutations from all transactions in this batch write operation will be recorded in change streams with DDL optionallow_txn_exclusion=false or not setthat are tracking columns modified by these transactions. Whenexclude_txn_from_change_streamsis set tofalseor not set, mutations from all transactions in this batch write operation will be recorded in all change streams that are tracking columns modified by these transactions.
- Annotations
- @SerialVersionUID()
- Source
- BatchWriteRequest.scala
- Alphabetic
- By Inheritance
- BatchWriteRequest
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new BatchWriteRequest(session: String = "", requestOptions: Option[RequestOptions] = _root_.scala.None, mutationGroups: Seq[MutationGroup] = _root_.scala.Seq.empty, excludeTxnFromChangeStreams: Boolean = false, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- session
Required. The session in which the batch request is to be run.
- requestOptions
Common options for this request.
- mutationGroups
Required. The groups of mutations to be applied.
- excludeTxnFromChangeStreams
Optional. When
exclude_txn_from_change_streamsis set totrue: * Mutations from all transactions in this batch write operation will not be recorded in change streams with DDL optionallow_txn_exclusion=truethat are tracking columns modified by these transactions. * Mutations from all transactions in this batch write operation will be recorded in change streams with DDL optionallow_txn_exclusion=false or not setthat are tracking columns modified by these transactions. Whenexclude_txn_from_change_streamsis set tofalseor not set, mutations from all transactions in this batch write operation will be recorded in all change streams that are tracking columns modified by these transactions.
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 addAllMutationGroups(__vs: Iterable[MutationGroup]): BatchWriteRequest
- def addMutationGroups(__vs: MutationGroup*): BatchWriteRequest
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearMutationGroups: BatchWriteRequest
- def clearRequestOptions: BatchWriteRequest
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: BatchWriteRequest.type
- Definition Classes
- BatchWriteRequest → GeneratedMessage
- def discardUnknownFields: BatchWriteRequest
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val excludeTxnFromChangeStreams: Boolean
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- BatchWriteRequest → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- BatchWriteRequest → GeneratedMessage
- def getRequestOptions: RequestOptions
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val mutationGroups: Seq[MutationGroup]
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val requestOptions: Option[RequestOptions]
- def serializedSize: Int
- Definition Classes
- BatchWriteRequest → GeneratedMessage
- val session: String
- 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
- BatchWriteRequest → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[BatchWriteRequest, BatchWriteRequest]) => Mutation[BatchWriteRequest]*): BatchWriteRequest
- Definition Classes
- Updatable
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withExcludeTxnFromChangeStreams(__v: Boolean): BatchWriteRequest
- def withMutationGroups(__v: Seq[MutationGroup]): BatchWriteRequest
- def withRequestOptions(__v: RequestOptions): BatchWriteRequest
- def withSession(__v: String): BatchWriteRequest
- def withUnknownFields(__v: UnknownFieldSet): BatchWriteRequest
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- BatchWriteRequest → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage