Class: Google::Spanner::V1::PartitionReadRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Spanner::V1::PartitionReadRequest
 
 
- Defined in:
 - lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb
 
Overview
The request for PartitionRead
Instance Attribute Summary collapse
- 
  
    
      #columns  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The columns of table to be returned for each row matching this request.
 - 
  
    
      #index  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If non-empty, the name of an index on table.
 - 
  
    
      #key_set  ⇒ Google::Spanner::V1::KeySet 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #partition_options  ⇒ Google::Spanner::V1::PartitionOptions 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Additional options that affect how many partitions are created.
 - 
  
    
      #session  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #table  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #transaction  ⇒ Google::Spanner::V1::TransactionSelector 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Read only snapshot transactions are supported, read/write and single use transactions are not.
 
Instance Attribute Details
#columns ⇒ Array<String>
Returns The columns of table to be returned for each row matching this request.
      277  | 
    
      # File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb', line 277 class PartitionReadRequest; end  | 
  
#index ⇒ String
      277  | 
    
      # File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb', line 277 class PartitionReadRequest; end  | 
  
#key_set ⇒ Google::Spanner::V1::KeySet
Returns Required. +key_set+ identifies the rows to be yielded. +key_set+ names the primary keys of the rows in table to be yielded, unless index is present. If index is present, then key_set instead names index keys in index.
It is not an error for the +key_set+ to name rows that do not exist in the database. Read yields nothing for nonexistent rows.
      277  | 
    
      # File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb', line 277 class PartitionReadRequest; end  | 
  
#partition_options ⇒ Google::Spanner::V1::PartitionOptions
Returns Additional options that affect how many partitions are created.
      277  | 
    
      # File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb', line 277 class PartitionReadRequest; end  | 
  
#session ⇒ String
Returns Required. The session used to create the partitions.
      277  | 
    
      # File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb', line 277 class PartitionReadRequest; end  | 
  
#table ⇒ String
Returns Required. The name of the table in the database to be read.
      277  | 
    
      # File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb', line 277 class PartitionReadRequest; end  | 
  
#transaction ⇒ Google::Spanner::V1::TransactionSelector
Returns Read only snapshot transactions are supported, read/write and single use transactions are not.
      277  | 
    
      # File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb', line 277 class PartitionReadRequest; end  |