KeySet

com.google.spanner.v1.keys.KeySet
See theKeySet companion object
final case class KeySet(keys: Seq[ListValue], ranges: Seq[KeyRange], all: Boolean, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[KeySet]

KeySet defines a collection of Cloud Spanner keys and/or key ranges. All the keys are expected to be in the same table or index. The keys need not be sorted in any particular way.

If the same key is specified multiple times in the set (for example if two ranges, two keys, or a key and a range overlap), Cloud Spanner behaves as if the key were only specified once.

Value parameters

all

For convenience all can be set to true to indicate that this KeySet matches all keys in the table or index. Note that any keys specified in keys or ranges are only yielded once.

keys

A list of specific keys. Entries in keys should have exactly as many elements as there are columns in the primary or index key with which this KeySet is used. Individual key values are encoded as described [here][google.spanner.v1.TypeCode].

ranges

A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about key range specifications.

Attributes

Companion
object
Source
KeySet.scala
Graph
Supertypes
trait Updatable[KeySet]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addAllKeys(`__vs`: Iterable[ListValue]): KeySet

Attributes

Source
KeySet.scala
def addAllRanges(`__vs`: Iterable[KeyRange]): KeySet

Attributes

Source
KeySet.scala
def addKeys(`__vs`: ListValue*): KeySet

Attributes

Source
KeySet.scala
def addRanges(`__vs`: KeyRange*): KeySet

Attributes

Source
KeySet.scala

Attributes

Source
KeySet.scala

Attributes

Source
KeySet.scala
def companion: KeySet.type

Attributes

Source
KeySet.scala

Attributes

Source
KeySet.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
KeySet.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
KeySet.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
KeySet.scala
def toProtoString: String

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
KeySet.scala
def withAll(`__v`: Boolean): KeySet

Attributes

Source
KeySet.scala
def withKeys(`__v`: Seq[ListValue]): KeySet

Attributes

Source
KeySet.scala
def withRanges(`__v`: Seq[KeyRange]): KeySet

Attributes

Source
KeySet.scala
def withUnknownFields(`__v`: UnknownFieldSet): KeySet

Attributes

Source
KeySet.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
KeySet.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
def update(ms: Lens[KeySet, KeySet] => () => KeySet*): A

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala