Mutation

com.google.spanner.v1.mutation.Mutation
See theMutation companion class
object Mutation extends GeneratedMessageCompanion[Mutation]

Attributes

Companion
class
Source
Mutation.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Mutation]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Mutation.type

Members list

Type members

Classlikes

final case class Delete(table: String, keySet: Option[KeySet], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Delete]

Arguments to [delete][google.spanner.v1.Mutation.delete] operations.

Arguments to [delete][google.spanner.v1.Mutation.delete] operations.

Value parameters

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.

table

Required. The table whose rows will be deleted.

Attributes

Companion
object
Source
Mutation.scala
Supertypes
trait Updatable[Delete]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Delete extends GeneratedMessageCompanion[Delete]

Attributes

Companion
class
Source
Mutation.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Delete]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Delete.type
implicit class MutationLens[UpperPB](_l: Lens[UpperPB, Mutation]) extends ObjectLens[UpperPB, Mutation]

Attributes

Source
Mutation.scala
Supertypes
class ObjectLens[UpperPB, Mutation]
trait Lens[UpperPB, Mutation]
trait Serializable
class Object
trait Matchable
class Any
Show all
object Operation

Attributes

Companion
trait
Source
Mutation.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Operation.type
sealed trait Operation extends GeneratedOneof

Attributes

Companion
object
Source
Mutation.scala
Supertypes
trait GeneratedOneof
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Delete
object Empty.type
class Insert
class Replace
class Update
Show all
final case class Write(table: String, columns: Seq[String], values: Seq[ListValue], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Write]

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.

Value parameters

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.

table

Required. The table whose rows will be written.

values

The values to be written. values can contain more than one list of values. If it does, then multiple rows are written, one for each entry in values. Each list in values must 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 multiple Mutations, each containing one values entry 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].

Attributes

Companion
object
Source
Mutation.scala
Supertypes
trait Updatable[Write]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Write extends GeneratedMessageCompanion[Write]

Attributes

Companion
class
Source
Mutation.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Write]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Write.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type ValueType = A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala

Value members

Concrete methods

def enumCompanionForFieldNumber(`__fieldNumber`: Int): GeneratedEnumCompanion[_]

Attributes

Source
Mutation.scala
def javaDescriptor: Descriptor

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Attributes

Source
Mutation.scala
def messageCompanionForFieldNumber(`__number`: Int): GeneratedMessageCompanion[_]

Attributes

Source
Mutation.scala
def of(operation: Operation): Mutation

Attributes

Source
Mutation.scala
def parseFrom(`_input__`: CodedInputStream): Mutation

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

Source
Mutation.scala
def scalaDescriptor: Descriptor

Attributes

Source
Mutation.scala

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def fromAscii(s: String): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def merge(a: Mutation, input: CodedInputStream): A

Merges the given message with the additional fields in the steam.

Merges the given message with the additional fields in the steam.

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseDelimitedFrom(input: InputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseDelimitedFrom(input: CodedInputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseFrom(s: Array[Byte]): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseFrom(input: InputStream): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def streamFromDelimitedInput(input: InputStream): Stream[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def toByteArray(a: Mutation): Array[Byte]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def validate(s: Array[Byte]): Try[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def validateAscii(s: String): Either[TextFormatError, A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala

Concrete fields

final val DELETE_FIELD_NUMBER: 5

Attributes

Source
Mutation.scala
final val INSERT_FIELD_NUMBER: 1

Attributes

Source
Mutation.scala

Attributes

Source
Mutation.scala
final val REPLACE_FIELD_NUMBER: 4

Attributes

Source
Mutation.scala
final val UPDATE_FIELD_NUMBER: 2

Attributes

Source
Mutation.scala

Attributes

Source
Mutation.scala
lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]

Attributes

Source
Mutation.scala

Implicits

Implicits

final implicit def MutationLens[UpperPB](_l: Lens[UpperPB, Mutation]): MutationLens[UpperPB]

Attributes

Source
Mutation.scala
implicit def messageCompanion: GeneratedMessageCompanion[Mutation]

Attributes

Source
Mutation.scala
implicit def messageReads: Reads[Mutation]

Attributes

Source
Mutation.scala