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 , INSERT_IGNORE = 5 , UPDATE_IGNORE = 6 , DELETE_IGNORE = 7 , UPSERT_IGNORE = 8 } |
Write operation types. | |
Public Member Functions | |
const KuduPartialRow & | row () const |
KuduPartialRow * | mutable_row () |
virtual std::string | ToString () const =0 |
const KuduTable * | table () const |
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 |
|
inline |
|
pure virtual |
Implemented in kudu::client::KuduDeleteIgnore, kudu::client::KuduDelete, kudu::client::KuduUpdateIgnore, kudu::client::KuduUpdate, kudu::client::KuduUpsertIgnore, kudu::client::KuduUpsert, kudu::client::KuduInsertIgnore, and kudu::client::KuduInsert.