Kudu C++ client API
|
Representation of column type attributes. More...
#include <schema.h>
Public Member Functions | |
KuduColumnTypeAttributes (const KuduColumnTypeAttributes &other) | |
KuduColumnTypeAttributes (int8_t precision, int8_t scale) | |
KuduColumnTypeAttributes (uint16_t length) | |
int8_t | precision () const |
int8_t | scale () const |
uint16_t | length () const |
Assign/copy KuduColumnTypeAttributes. | |
KuduColumnTypeAttributes & | operator= (const KuduColumnTypeAttributes &other) |
void | CopyFrom (const KuduColumnTypeAttributes &other) |
Representation of column type attributes.
kudu::client::KuduColumnTypeAttributes::KuduColumnTypeAttributes | ( | const KuduColumnTypeAttributes & | other | ) |
Create a KuduColumnTypeAttributes object as a copy of the other one.
[in] | other | The other KuduColumnTypeAttributes object to use as a reference. |
kudu::client::KuduColumnTypeAttributes::KuduColumnTypeAttributes | ( | int8_t | precision, |
int8_t | scale | ||
) |
Create a KuduColumnTypeAttributes object
[in] | precision | The precision of a decimal column. |
[in] | scale | The scale of a decimal column. |
|
explicit |
Create a KuduColumnTypeAttributes object
[in] | length | The maximum length of a VARCHAR column in characters. |
void kudu::client::KuduColumnTypeAttributes::CopyFrom | ( | const KuduColumnTypeAttributes & | other | ) |
[in] | other | The source KuduColumnTypeAttributes object to use as a reference. |
uint16_t kudu::client::KuduColumnTypeAttributes::length | ( | ) | const |
KuduColumnTypeAttributes & kudu::client::KuduColumnTypeAttributes::operator= | ( | const KuduColumnTypeAttributes & | other | ) |
[in] | other | The source KuduColumnTypeAttributes object to use as a reference. |
int8_t kudu::client::KuduColumnTypeAttributes::precision | ( | ) | const |
int8_t kudu::client::KuduColumnTypeAttributes::scale | ( | ) | const |