Kudu C++ client API
|
A single-row write operation to be sent to a Kudu table. More...
#include <write_op.h>
Public Types | |
enum | Type { INSERT = 1, UPDATE = 2, DELETE = 3, UPSERT = 4 } |
Write operation types. | |
Public Member Functions | |
const KuduPartialRow & | row () const |
KuduPartialRow * | mutable_row () |
virtual std::string | ToString () const =0 |
A single-row write operation to be sent to a Kudu table.
This is the abstract base class from which the particular row operations (KuduInsert, KuduUpdate, etc) are derived. These subclasses are instantiated by KuduTable::NewInsert(), etc.
The row key, as well as the columns to be inserted or updated are set using the embedded KuduPartialRow object accessible via mutable_row().
Typical usage example:
|
inline |
|
inline |
|
pure virtual |
Implemented in kudu::client::KuduDelete, kudu::client::KuduUpdate, kudu::client::KuduUpsert, and kudu::client::KuduInsert.