Kudu C++ client API
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
kudu::client::KuduColumnTypeAttributes Class Reference

Representation of column type attributes. More...

#include <schema.h>

Public Member Functions

 KuduColumnTypeAttributes (const KuduColumnTypeAttributes &other)
 KuduColumnTypeAttributes (int8_t precision, int8_t scale)
int8_t precision () const
int8_t scale () const
Assign/copy KuduColumnTypeAttributes.
[in]otherThe source KuduColumnTypeAttributes object to use as a reference.
KuduColumnTypeAttributesoperator= (const KuduColumnTypeAttributes &other)
void CopyFrom (const KuduColumnTypeAttributes &other)

Detailed Description

Representation of column type attributes.

Constructor & Destructor Documentation

kudu::client::KuduColumnTypeAttributes::KuduColumnTypeAttributes ( const KuduColumnTypeAttributes other)

Create a KuduColumnTypeAttributes object as a copy of the other one.

[in]otherThe other KuduColumnTypeAttributes object to use as a reference.
kudu::client::KuduColumnTypeAttributes::KuduColumnTypeAttributes ( int8_t  precision,
int8_t  scale 

Create a KuduColumnTypeAttributes object

[in]precisionThe precision of a decimal column.
[in]scaleThe scale of a decimal column.

Member Function Documentation

int8_t kudu::client::KuduColumnTypeAttributes::precision ( ) const
Precision for the column type.
int8_t kudu::client::KuduColumnTypeAttributes::scale ( ) const
Scale for the column type.

The documentation for this class was generated from the following file: