final case class KeySet(keys: Seq[ListValue] = _root_.scala.Seq.empty, ranges: Seq[KeyRange] = _root_.scala.Seq.empty, all: Boolean = false, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[KeySet] with Product with Serializable

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.

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.

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.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[KeySet], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KeySet
  2. Product
  3. Equals
  4. Updatable
  5. GeneratedMessage
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KeySet(keys: Seq[ListValue] = _root_.scala.Seq.empty, ranges: Seq[KeyRange] = _root_.scala.Seq.empty, all: Boolean = false, unknownFields: UnknownFieldSet = ...)

    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.

    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.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllKeys(__vs: Iterable[ListValue]): KeySet
  5. def addAllRanges(__vs: Iterable[KeyRange]): KeySet
  6. def addKeys(__vs: ListValue*): KeySet
  7. def addRanges(__vs: KeyRange*): KeySet
  8. val all: Boolean
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clearKeys: KeySet
  11. def clearRanges: KeySet
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  13. def companion: KeySet.type
    Definition Classes
    KeySet → GeneratedMessage
  14. def discardUnknownFields: KeySet
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    KeySet → GeneratedMessage
  19. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    KeySet → GeneratedMessage
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. val keys: Seq[ListValue]
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. val ranges: Seq[KeyRange]
  26. def serializedSize: Int
    Definition Classes
    KeySet → GeneratedMessage
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  29. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  30. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  31. def toProtoString: String
    Definition Classes
    KeySet → GeneratedMessage
  32. val unknownFields: UnknownFieldSet
  33. def update(ms: (Lens[KeySet, KeySet]) ⇒ scalapb.lenses.Mutation[KeySet]*): KeySet
    Definition Classes
    Updatable
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  37. def withAll(__v: Boolean): KeySet
  38. def withKeys(__v: Seq[ListValue]): KeySet
  39. def withRanges(__v: Seq[KeyRange]): KeySet
  40. def withUnknownFields(__v: UnknownFieldSet): KeySet
  41. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  42. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    KeySet → GeneratedMessage
  43. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Product

Inherited from Equals

Inherited from Updatable[KeySet]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped