20#include "ignite/client/sql/column_origin.h"
21#include "ignite/common/ignite_type.h"
31class column_metadata {
34 column_metadata() =
default;
48 : m_name(std::move(
name))
53 , m_origin(std::move(
origin)) {}
60 [[nodiscard]]
const std::string &
name()
const {
return m_name; }
67 [[nodiscard]] ignite_type
type()
const {
return m_type; }
80 [[nodiscard]] std::int32_t
precision()
const {
return m_precision; }
87 [[nodiscard]] std::int32_t
scale()
const {
return m_scale; }
94 [[nodiscard]]
bool nullable()
const {
return m_nullable; }
110 ignite_type m_type{ignite_type::UNDEFINED};
113 std::int32_t m_precision{0};
116 std::int32_t m_scale{0};
119 bool m_nullable{
false};
122 column_origin m_origin;
Definition column_origin.h:27