final case class PartitionReadRequest(session: String = "", transaction: Option[TransactionSelector] = _root_.scala.None, table: String = "", index: String = "", columns: Seq[String] = _root_.scala.Seq.empty, keySet: Option[KeySet] = _root_.scala.None, partitionOptions: Option[PartitionOptions] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[PartitionReadRequest] with Product with Serializable
The request for [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
- session
Required. The session used to create the partitions.
- transaction
Read only snapshot transactions are supported, read/write and single use transactions are not.
- table
Required. The name of the table in the database to be read.
- index
If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set] and sorting result rows. See [key_set][google.spanner.v1.PartitionReadRequest.key_set] for further information.
- columns
The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.
- keySet
Required.
key_setidentifies the rows to be yielded.key_setnames the primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index] is present. If [index][google.spanner.v1.PartitionReadRequest.index] is present, then [key_set][google.spanner.v1.PartitionReadRequest.key_set] instead names index keys in [index][google.spanner.v1.PartitionReadRequest.index]. It is not an error for thekey_setto name rows that do not exist in the database. Read yields nothing for nonexistent rows.- partitionOptions
Additional options that affect how many partitions are created.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- PartitionReadRequest
- Product
- Equals
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
PartitionReadRequest(session: String = "", transaction: Option[TransactionSelector] = _root_.scala.None, table: String = "", index: String = "", columns: Seq[String] = _root_.scala.Seq.empty, keySet: Option[KeySet] = _root_.scala.None, partitionOptions: Option[PartitionOptions] = _root_.scala.None, unknownFields: UnknownFieldSet = ...)
- session
Required. The session used to create the partitions.
- transaction
Read only snapshot transactions are supported, read/write and single use transactions are not.
- table
Required. The name of the table in the database to be read.
- index
If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set] and sorting result rows. See [key_set][google.spanner.v1.PartitionReadRequest.key_set] for further information.
- columns
The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching this request.
- keySet
Required.
key_setidentifies the rows to be yielded.key_setnames the primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index] is present. If [index][google.spanner.v1.PartitionReadRequest.index] is present, then [key_set][google.spanner.v1.PartitionReadRequest.key_set] instead names index keys in [index][google.spanner.v1.PartitionReadRequest.index]. It is not an error for thekey_setto name rows that do not exist in the database. Read yields nothing for nonexistent rows.- partitionOptions
Additional options that affect how many partitions are created.
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 addAllColumns(__vs: Iterable[String]): PartitionReadRequest
- def addColumns(__vs: String*): PartitionReadRequest
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearColumns: PartitionReadRequest
- def clearKeySet: PartitionReadRequest
- def clearPartitionOptions: PartitionReadRequest
- def clearTransaction: PartitionReadRequest
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val columns: Seq[String]
-
def
companion: PartitionReadRequest.type
- Definition Classes
- PartitionReadRequest → GeneratedMessage
- def discardUnknownFields: PartitionReadRequest
-
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
- PartitionReadRequest → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- PartitionReadRequest → GeneratedMessage
- def getKeySet: KeySet
- def getPartitionOptions: PartitionOptions
- def getTransaction: TransactionSelector
- val index: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keySet: Option[KeySet]
-
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 partitionOptions: Option[PartitionOptions]
-
def
serializedSize: Int
- Definition Classes
- PartitionReadRequest → GeneratedMessage
- val session: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val table: String
-
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
- PartitionReadRequest → GeneratedMessage
- val transaction: Option[TransactionSelector]
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[PartitionReadRequest, PartitionReadRequest]) ⇒ scalapb.lenses.Mutation[PartitionReadRequest]*): PartitionReadRequest
- 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 withColumns(__v: Seq[String]): PartitionReadRequest
- def withIndex(__v: String): PartitionReadRequest
- def withKeySet(__v: KeySet): PartitionReadRequest
- def withPartitionOptions(__v: PartitionOptions): PartitionReadRequest
- def withSession(__v: String): PartitionReadRequest
- def withTable(__v: String): PartitionReadRequest
- def withTransaction(__v: TransactionSelector): PartitionReadRequest
- def withUnknownFields(__v: UnknownFieldSet): PartitionReadRequest
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- PartitionReadRequest → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage