| 
    Kudu C++ client API
    
   | 
 
A representation of a table's schema. More...
#include <schema.h>
Public Member Functions | ||||
| KuduSchema (const KuduSchema &other) | ||||
| Status | Reset (const std::vector< KuduColumnSchema > &columns, int key_columns) WARN_UNUSED_RESULT | |||
| bool | Equals (const KuduSchema &other) const | |||
| KuduColumnSchema | Column (size_t idx) const | |||
| size_t | num_columns () const | |||
| void | GetPrimaryKeyColumnIndexes (std::vector< int > *indexes) const | |||
| KuduPartialRow * | NewRow () const | |||
Assign/copy the schema  | ||||
  | ||||
| KuduSchema & | operator= (const KuduSchema &other) | |||
| void | CopyFrom (const KuduSchema &other) | |||
Friends | |
| class | KuduClient | 
| class | KuduScanner | 
| class | KuduScanToken | 
| class | KuduScanTokenBuilder | 
| class | KuduSchemaBuilder | 
| class | KuduTable | 
| class | KuduTableCreator | 
| class | KuduWriteOperation | 
| class | ScanConfiguration | 
| class | internal::GetTableSchemaRpc | 
| class | internal::LookupRpc | 
| class | internal::MetaCacheEntry | 
| class | internal::WriteRpc | 
| class | tools::RemoteKsckMaster | 
| class | tools::ReplicaDumper | 
| KuduSchema | KuduSchemaFromSchema (const Schema &schema) | 
A representation of a table's schema.
| kudu::client::KuduSchema::KuduSchema | ( | const KuduSchema & | other | ) | 
Create a KuduSchema object as a copy of the other one.
| [in] | other | The other KuduSchema object to use as a reference. | 
| KuduColumnSchema kudu::client::KuduSchema::Column | ( | size_t | idx | ) | const | 
| [in] | idx | Column index. | 
| bool kudu::client::KuduSchema::Equals | ( | const KuduSchema & | other | ) | const | 
Check whether the schema is identical to the other one.
| [in] | other | The other KuduSchema object to compare with. | 
true iff this KuduSchema object is identical to the specified one. | void kudu::client::KuduSchema::GetPrimaryKeyColumnIndexes | ( | std::vector< int > * | indexes | ) | const | 
Get the indexes of the primary key columns within this Schema.
| [out] | indexes | The placeholder for the result. | 
| KuduPartialRow* kudu::client::KuduSchema::NewRow | ( | ) | const | 
Create a new row corresponding to this schema.
| size_t kudu::client::KuduSchema::num_columns | ( | ) | const | 
| Status kudu::client::KuduSchema::Reset | ( | const std::vector< KuduColumnSchema > & | columns, | 
| int | key_columns | ||
| ) | 
| [in] | columns | Per-column schema information. | 
| [in] | key_columns | Number of key columns in the schema. |