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
keysshould have exactly as many elements as there are columns in the primary or index key with which thisKeySetis 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
allcan be set totrueto indicate that thisKeySetmatches all keys in the table or index. Note that any keys specified inkeysorrangesare only yielded once.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- KeySet
- Product
- Equals
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
keysshould have exactly as many elements as there are columns in the primary or index key with which thisKeySetis 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
allcan be set totrueto indicate that thisKeySetmatches all keys in the table or index. Note that any keys specified inkeysorrangesare only yielded once.
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 addAllKeys(__vs: Iterable[ListValue]): KeySet
- def addAllRanges(__vs: Iterable[KeyRange]): KeySet
- def addKeys(__vs: ListValue*): KeySet
- def addRanges(__vs: KeyRange*): KeySet
- val all: Boolean
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearKeys: KeySet
- def clearRanges: KeySet
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: KeySet.type
- Definition Classes
- KeySet → GeneratedMessage
- def discardUnknownFields: KeySet
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- KeySet → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- KeySet → GeneratedMessage
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keys: Seq[ListValue]
-
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()
- val ranges: Seq[KeyRange]
-
def
serializedSize: Int
- Definition Classes
- KeySet → GeneratedMessage
-
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
- KeySet → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[KeySet, KeySet]) ⇒ scalapb.lenses.Mutation[KeySet]*): KeySet
- Definition Classes
- Updatable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withAll(__v: Boolean): KeySet
- def withKeys(__v: Seq[ListValue]): KeySet
- def withRanges(__v: Seq[KeyRange]): KeySet
- def withUnknownFields(__v: UnknownFieldSet): KeySet
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- KeySet → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage