object Mutation extends GeneratedMessageCompanion[Mutation]
- Source
- Mutation.scala
- Alphabetic
- By Inheritance
- Mutation
- GeneratedMessageCompanion
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class Delete(table: String = "", keySet: Option[KeySet] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[Delete] with Product with Serializable
Arguments to [delete][google.spanner.v1.Mutation.delete] operations.
Arguments to [delete][google.spanner.v1.Mutation.delete] operations.
- table
Required. The table whose rows will be deleted.
- keySet
Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete. The primary keys must be specified in the order in which they appear in the
PRIMARY KEY()clause of the table's equivalent DDL statement (the DDL statement used to create the table). Delete is idempotent. The transaction will succeed even if some or all rows do not exist.
- Annotations
- @SerialVersionUID()
- implicit class MutationLens[UpperPB] extends ObjectLens[UpperPB, Mutation]
- sealed trait Operation extends GeneratedOneof
- type ValueType = Mutation
- Definition Classes
- GeneratedMessageCompanion
- final case class Write(table: String = "", columns: Seq[String] = _root_.scala.Seq.empty, values: Seq[ListValue] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[Write] with Product with Serializable
Arguments to [insert][google.spanner.v1.Mutation.insert], [update][google.spanner.v1.Mutation.update], [insert_or_update][google.spanner.v1.Mutation.insert_or_update], and [replace][google.spanner.v1.Mutation.replace] operations.
Arguments to [insert][google.spanner.v1.Mutation.insert], [update][google.spanner.v1.Mutation.update], [insert_or_update][google.spanner.v1.Mutation.insert_or_update], and [replace][google.spanner.v1.Mutation.replace] operations.
- table
Required. The table whose rows will be written.
- columns
The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written. The list of columns must contain enough columns to allow Cloud Spanner to derive values for all primary key columns in the row(s) to be modified.
- values
The values to be written.
valuescan contain more than one list of values. If it does, then multiple rows are written, one for each entry invalues. Each list invaluesmust have exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] above. Sending multiple lists is equivalent to sending multipleMutations, each containing onevaluesentry and repeating [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are encoded as described [here][google.spanner.v1.TypeCode].
- Annotations
- @SerialVersionUID()
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
- final val DELETE_FIELD_NUMBER: Int(5)
- final val INSERT_FIELD_NUMBER: Int(1)
- final val INSERT_OR_UPDATE_FIELD_NUMBER: Int(3)
- final val REPLACE_FIELD_NUMBER: Int(4)
- final val UPDATE_FIELD_NUMBER: Int(2)
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- lazy val defaultInstance: Mutation
- Definition Classes
- Mutation → GeneratedMessageCompanion
- def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]
- Definition Classes
- GeneratedMessageCompanion
- def enumCompanionForFieldNumber(__fieldNumber: Int): GeneratedEnumCompanion[_]
- Definition Classes
- Mutation → GeneratedMessageCompanion
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromAscii(s: String): Mutation
- Definition Classes
- GeneratedMessageCompanion
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def javaDescriptor: Descriptor
- Definition Classes
- Mutation → GeneratedMessageCompanion
- def merge(a: Mutation, input: CodedInputStream): Mutation
- Definition Classes
- GeneratedMessageCompanion
- implicit def messageCompanion: GeneratedMessageCompanion[Mutation]
- def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]
- Definition Classes
- GeneratedMessageCompanion
- def messageCompanionForFieldNumber(__number: Int): GeneratedMessageCompanion[_]
- Definition Classes
- Mutation → GeneratedMessageCompanion
- implicit def messageReads: Reads[Mutation]
- Definition Classes
- Mutation → GeneratedMessageCompanion
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]
- Definition Classes
- Mutation → GeneratedMessageCompanion
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def of(operation: Operation): Mutation
- def parseDelimitedFrom(input: InputStream): Option[Mutation]
- Definition Classes
- GeneratedMessageCompanion
- def parseDelimitedFrom(input: CodedInputStream): Option[Mutation]
- Definition Classes
- GeneratedMessageCompanion
- def parseFrom(_input__: CodedInputStream): Mutation
- Definition Classes
- Mutation → GeneratedMessageCompanion
- def parseFrom(s: Array[Byte]): Mutation
- Definition Classes
- GeneratedMessageCompanion
- def parseFrom(input: InputStream): Mutation
- Definition Classes
- GeneratedMessageCompanion
- def scalaDescriptor: Descriptor
- Definition Classes
- Mutation → GeneratedMessageCompanion
- def streamFromDelimitedInput(input: InputStream): Stream[Mutation]
- Definition Classes
- GeneratedMessageCompanion
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toByteArray(a: Mutation): Array[Byte]
- Definition Classes
- GeneratedMessageCompanion
- def toString(): String
- Definition Classes
- AnyRef → Any
- def validate(s: Array[Byte]): Try[Mutation]
- Definition Classes
- GeneratedMessageCompanion
- def validateAscii(s: String): Either[TextFormatError, Mutation]
- Definition Classes
- GeneratedMessageCompanion
- 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()
- object Delete extends GeneratedMessageCompanion[Delete]
- object Operation extends Serializable
- object Write extends GeneratedMessageCompanion[Write]