feat: add fulltext options for column (#179)
* feat: add fulltext options for column Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * feat: use string instead Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: polish Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: copy every where Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * doc: polish Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * extract as message Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> --------- Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
This commit is contained in:
@@ -87,6 +87,7 @@ PROTOBUF_CONSTEXPR Column::Column(
|
|||||||
, /*decltype(_impl_.null_mask_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
, /*decltype(_impl_.null_mask_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||||
, /*decltype(_impl_.values_)*/nullptr
|
, /*decltype(_impl_.values_)*/nullptr
|
||||||
, /*decltype(_impl_.datatype_extension_)*/nullptr
|
, /*decltype(_impl_.datatype_extension_)*/nullptr
|
||||||
|
, /*decltype(_impl_.options_)*/nullptr
|
||||||
, /*decltype(_impl_.semantic_type_)*/0
|
, /*decltype(_impl_.semantic_type_)*/0
|
||||||
, /*decltype(_impl_.datatype_)*/0
|
, /*decltype(_impl_.datatype_)*/0
|
||||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||||
@@ -151,6 +152,7 @@ const uint32_t TableStruct_greptime_2fv1_2fcolumn_2eproto::offsets[] PROTOBUF_SE
|
|||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column, _impl_.null_mask_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column, _impl_.null_mask_),
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column, _impl_.datatype_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column, _impl_.datatype_),
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column, _impl_.datatype_extension_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column, _impl_.datatype_extension_),
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column, _impl_.options_),
|
||||||
};
|
};
|
||||||
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||||||
{ 0, -1, -1, sizeof(::greptime::v1::Column_Values)},
|
{ 0, -1, -1, sizeof(::greptime::v1::Column_Values)},
|
||||||
@@ -164,43 +166,44 @@ static const ::_pb::Message* const file_default_instances[] = {
|
|||||||
|
|
||||||
const char descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
|
const char descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
|
||||||
"\n\030greptime/v1/column.proto\022\013greptime.v1\032"
|
"\n\030greptime/v1/column.proto\022\013greptime.v1\032"
|
||||||
"\030greptime/v1/common.proto\"\226\010\n\006Column\022\023\n\013"
|
"\030greptime/v1/common.proto\"\303\010\n\006Column\022\023\n\013"
|
||||||
"column_name\030\001 \001(\t\0220\n\rsemantic_type\030\002 \001(\016"
|
"column_name\030\001 \001(\t\0220\n\rsemantic_type\030\002 \001(\016"
|
||||||
"2\031.greptime.v1.SemanticType\022*\n\006values\030\003 "
|
"2\031.greptime.v1.SemanticType\022*\n\006values\030\003 "
|
||||||
"\001(\0132\032.greptime.v1.Column.Values\022\021\n\tnull_"
|
"\001(\0132\032.greptime.v1.Column.Values\022\021\n\tnull_"
|
||||||
"mask\030\004 \001(\014\022-\n\010datatype\030\005 \001(\0162\033.greptime."
|
"mask\030\004 \001(\014\022-\n\010datatype\030\005 \001(\0162\033.greptime."
|
||||||
"v1.ColumnDataType\022@\n\022datatype_extension\030"
|
"v1.ColumnDataType\022@\n\022datatype_extension\030"
|
||||||
"\006 \001(\0132$.greptime.v1.ColumnDataTypeExtens"
|
"\006 \001(\0132$.greptime.v1.ColumnDataTypeExtens"
|
||||||
"ion\032\224\006\n\006Values\022\021\n\ti8_values\030\001 \003(\005\022\022\n\ni16"
|
"ion\022+\n\007options\030\007 \001(\0132\032.greptime.v1.Colum"
|
||||||
"_values\030\002 \003(\005\022\022\n\ni32_values\030\003 \003(\005\022\022\n\ni64"
|
"nOptions\032\224\006\n\006Values\022\021\n\ti8_values\030\001 \003(\005\022\022"
|
||||||
"_values\030\004 \003(\003\022\021\n\tu8_values\030\005 \003(\r\022\022\n\nu16_"
|
"\n\ni16_values\030\002 \003(\005\022\022\n\ni32_values\030\003 \003(\005\022\022"
|
||||||
"values\030\006 \003(\r\022\022\n\nu32_values\030\007 \003(\r\022\022\n\nu64_"
|
"\n\ni64_values\030\004 \003(\003\022\021\n\tu8_values\030\005 \003(\r\022\022\n"
|
||||||
"values\030\010 \003(\004\022\022\n\nf32_values\030\t \003(\002\022\022\n\nf64_"
|
"\nu16_values\030\006 \003(\r\022\022\n\nu32_values\030\007 \003(\r\022\022\n"
|
||||||
"values\030\n \003(\001\022\023\n\013bool_values\030\013 \003(\010\022\025\n\rbin"
|
"\nu64_values\030\010 \003(\004\022\022\n\nf32_values\030\t \003(\002\022\022\n"
|
||||||
"ary_values\030\014 \003(\014\022\025\n\rstring_values\030\r \003(\t\022"
|
"\nf64_values\030\n \003(\001\022\023\n\013bool_values\030\013 \003(\010\022\025"
|
||||||
"\023\n\013date_values\030\016 \003(\005\022\027\n\017datetime_values\030"
|
"\n\rbinary_values\030\014 \003(\014\022\025\n\rstring_values\030\r"
|
||||||
"\017 \003(\003\022\037\n\027timestamp_second_values\030\020 \003(\003\022$"
|
" \003(\t\022\023\n\013date_values\030\016 \003(\005\022\027\n\017datetime_va"
|
||||||
"\n\034timestamp_millisecond_values\030\021 \003(\003\022$\n\034"
|
"lues\030\017 \003(\003\022\037\n\027timestamp_second_values\030\020 "
|
||||||
"timestamp_microsecond_values\030\022 \003(\003\022#\n\033ti"
|
"\003(\003\022$\n\034timestamp_millisecond_values\030\021 \003("
|
||||||
"mestamp_nanosecond_values\030\023 \003(\003\022\032\n\022time_"
|
"\003\022$\n\034timestamp_microsecond_values\030\022 \003(\003\022"
|
||||||
"second_values\030\024 \003(\003\022\037\n\027time_millisecond_"
|
"#\n\033timestamp_nanosecond_values\030\023 \003(\003\022\032\n\022"
|
||||||
"values\030\025 \003(\003\022\037\n\027time_microsecond_values\030"
|
"time_second_values\030\024 \003(\003\022\037\n\027time_millise"
|
||||||
"\026 \003(\003\022\036\n\026time_nanosecond_values\030\027 \003(\003\022\"\n"
|
"cond_values\030\025 \003(\003\022\037\n\027time_microsecond_va"
|
||||||
"\032interval_year_month_values\030\030 \003(\005\022 \n\030int"
|
"lues\030\026 \003(\003\022\036\n\026time_nanosecond_values\030\027 \003"
|
||||||
"erval_day_time_values\030\031 \003(\003\022I\n\036interval_"
|
"(\003\022\"\n\032interval_year_month_values\030\030 \003(\005\022 "
|
||||||
"month_day_nano_values\030\032 \003(\0132!.greptime.v"
|
"\n\030interval_day_time_values\030\031 \003(\003\022I\n\036inte"
|
||||||
"1.IntervalMonthDayNano\0222\n\021decimal128_val"
|
"rval_month_day_nano_values\030\032 \003(\0132!.grept"
|
||||||
"ues\030\037 \003(\0132\027.greptime.v1.Decimal128BP\n\016io"
|
"ime.v1.IntervalMonthDayNano\0222\n\021decimal12"
|
||||||
".greptime.v1B\007ColumnsZ5github.com/Grepti"
|
"8_values\030\037 \003(\0132\027.greptime.v1.Decimal128B"
|
||||||
"meTeam/greptime-proto/go/greptime/v1b\006pr"
|
"P\n\016io.greptime.v1B\007ColumnsZ5github.com/G"
|
||||||
"oto3"
|
"reptimeTeam/greptime-proto/go/greptime/v"
|
||||||
|
"1b\006proto3"
|
||||||
;
|
;
|
||||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fcolumn_2eproto_deps[1] = {
|
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fcolumn_2eproto_deps[1] = {
|
||||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||||
};
|
};
|
||||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcolumn_2eproto_once;
|
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcolumn_2eproto_once;
|
||||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcolumn_2eproto = {
|
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcolumn_2eproto = {
|
||||||
false, false, 1204, descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto,
|
false, false, 1249, descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto,
|
||||||
"greptime/v1/column.proto",
|
"greptime/v1/column.proto",
|
||||||
&descriptor_table_greptime_2fv1_2fcolumn_2eproto_once, descriptor_table_greptime_2fv1_2fcolumn_2eproto_deps, 1, 2,
|
&descriptor_table_greptime_2fv1_2fcolumn_2eproto_once, descriptor_table_greptime_2fv1_2fcolumn_2eproto_deps, 1, 2,
|
||||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fcolumn_2eproto::offsets,
|
schemas, file_default_instances, TableStruct_greptime_2fv1_2fcolumn_2eproto::offsets,
|
||||||
@@ -1459,6 +1462,7 @@ class Column::_Internal {
|
|||||||
public:
|
public:
|
||||||
static const ::greptime::v1::Column_Values& values(const Column* msg);
|
static const ::greptime::v1::Column_Values& values(const Column* msg);
|
||||||
static const ::greptime::v1::ColumnDataTypeExtension& datatype_extension(const Column* msg);
|
static const ::greptime::v1::ColumnDataTypeExtension& datatype_extension(const Column* msg);
|
||||||
|
static const ::greptime::v1::ColumnOptions& options(const Column* msg);
|
||||||
};
|
};
|
||||||
|
|
||||||
const ::greptime::v1::Column_Values&
|
const ::greptime::v1::Column_Values&
|
||||||
@@ -1469,12 +1473,22 @@ const ::greptime::v1::ColumnDataTypeExtension&
|
|||||||
Column::_Internal::datatype_extension(const Column* msg) {
|
Column::_Internal::datatype_extension(const Column* msg) {
|
||||||
return *msg->_impl_.datatype_extension_;
|
return *msg->_impl_.datatype_extension_;
|
||||||
}
|
}
|
||||||
|
const ::greptime::v1::ColumnOptions&
|
||||||
|
Column::_Internal::options(const Column* msg) {
|
||||||
|
return *msg->_impl_.options_;
|
||||||
|
}
|
||||||
void Column::clear_datatype_extension() {
|
void Column::clear_datatype_extension() {
|
||||||
if (GetArenaForAllocation() == nullptr && _impl_.datatype_extension_ != nullptr) {
|
if (GetArenaForAllocation() == nullptr && _impl_.datatype_extension_ != nullptr) {
|
||||||
delete _impl_.datatype_extension_;
|
delete _impl_.datatype_extension_;
|
||||||
}
|
}
|
||||||
_impl_.datatype_extension_ = nullptr;
|
_impl_.datatype_extension_ = nullptr;
|
||||||
}
|
}
|
||||||
|
void Column::clear_options() {
|
||||||
|
if (GetArenaForAllocation() == nullptr && _impl_.options_ != nullptr) {
|
||||||
|
delete _impl_.options_;
|
||||||
|
}
|
||||||
|
_impl_.options_ = nullptr;
|
||||||
|
}
|
||||||
Column::Column(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
Column::Column(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||||
bool is_message_owned)
|
bool is_message_owned)
|
||||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||||
@@ -1489,6 +1503,7 @@ Column::Column(const Column& from)
|
|||||||
, decltype(_impl_.null_mask_){}
|
, decltype(_impl_.null_mask_){}
|
||||||
, decltype(_impl_.values_){nullptr}
|
, decltype(_impl_.values_){nullptr}
|
||||||
, decltype(_impl_.datatype_extension_){nullptr}
|
, decltype(_impl_.datatype_extension_){nullptr}
|
||||||
|
, decltype(_impl_.options_){nullptr}
|
||||||
, decltype(_impl_.semantic_type_){}
|
, decltype(_impl_.semantic_type_){}
|
||||||
, decltype(_impl_.datatype_){}
|
, decltype(_impl_.datatype_){}
|
||||||
, /*decltype(_impl_._cached_size_)*/{}};
|
, /*decltype(_impl_._cached_size_)*/{}};
|
||||||
@@ -1516,6 +1531,9 @@ Column::Column(const Column& from)
|
|||||||
if (from._internal_has_datatype_extension()) {
|
if (from._internal_has_datatype_extension()) {
|
||||||
_this->_impl_.datatype_extension_ = new ::greptime::v1::ColumnDataTypeExtension(*from._impl_.datatype_extension_);
|
_this->_impl_.datatype_extension_ = new ::greptime::v1::ColumnDataTypeExtension(*from._impl_.datatype_extension_);
|
||||||
}
|
}
|
||||||
|
if (from._internal_has_options()) {
|
||||||
|
_this->_impl_.options_ = new ::greptime::v1::ColumnOptions(*from._impl_.options_);
|
||||||
|
}
|
||||||
::memcpy(&_impl_.semantic_type_, &from._impl_.semantic_type_,
|
::memcpy(&_impl_.semantic_type_, &from._impl_.semantic_type_,
|
||||||
static_cast<size_t>(reinterpret_cast<char*>(&_impl_.datatype_) -
|
static_cast<size_t>(reinterpret_cast<char*>(&_impl_.datatype_) -
|
||||||
reinterpret_cast<char*>(&_impl_.semantic_type_)) + sizeof(_impl_.datatype_));
|
reinterpret_cast<char*>(&_impl_.semantic_type_)) + sizeof(_impl_.datatype_));
|
||||||
@@ -1531,6 +1549,7 @@ inline void Column::SharedCtor(
|
|||||||
, decltype(_impl_.null_mask_){}
|
, decltype(_impl_.null_mask_){}
|
||||||
, decltype(_impl_.values_){nullptr}
|
, decltype(_impl_.values_){nullptr}
|
||||||
, decltype(_impl_.datatype_extension_){nullptr}
|
, decltype(_impl_.datatype_extension_){nullptr}
|
||||||
|
, decltype(_impl_.options_){nullptr}
|
||||||
, decltype(_impl_.semantic_type_){0}
|
, decltype(_impl_.semantic_type_){0}
|
||||||
, decltype(_impl_.datatype_){0}
|
, decltype(_impl_.datatype_){0}
|
||||||
, /*decltype(_impl_._cached_size_)*/{}
|
, /*decltype(_impl_._cached_size_)*/{}
|
||||||
@@ -1560,6 +1579,7 @@ inline void Column::SharedDtor() {
|
|||||||
_impl_.null_mask_.Destroy();
|
_impl_.null_mask_.Destroy();
|
||||||
if (this != internal_default_instance()) delete _impl_.values_;
|
if (this != internal_default_instance()) delete _impl_.values_;
|
||||||
if (this != internal_default_instance()) delete _impl_.datatype_extension_;
|
if (this != internal_default_instance()) delete _impl_.datatype_extension_;
|
||||||
|
if (this != internal_default_instance()) delete _impl_.options_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Column::SetCachedSize(int size) const {
|
void Column::SetCachedSize(int size) const {
|
||||||
@@ -1582,6 +1602,10 @@ void Column::Clear() {
|
|||||||
delete _impl_.datatype_extension_;
|
delete _impl_.datatype_extension_;
|
||||||
}
|
}
|
||||||
_impl_.datatype_extension_ = nullptr;
|
_impl_.datatype_extension_ = nullptr;
|
||||||
|
if (GetArenaForAllocation() == nullptr && _impl_.options_ != nullptr) {
|
||||||
|
delete _impl_.options_;
|
||||||
|
}
|
||||||
|
_impl_.options_ = nullptr;
|
||||||
::memset(&_impl_.semantic_type_, 0, static_cast<size_t>(
|
::memset(&_impl_.semantic_type_, 0, static_cast<size_t>(
|
||||||
reinterpret_cast<char*>(&_impl_.datatype_) -
|
reinterpret_cast<char*>(&_impl_.datatype_) -
|
||||||
reinterpret_cast<char*>(&_impl_.semantic_type_)) + sizeof(_impl_.datatype_));
|
reinterpret_cast<char*>(&_impl_.semantic_type_)) + sizeof(_impl_.datatype_));
|
||||||
@@ -1647,6 +1671,14 @@ const char* Column::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
|
|||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
continue;
|
continue;
|
||||||
|
// .greptime.v1.ColumnOptions options = 7;
|
||||||
|
case 7:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
|
||||||
|
ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
|
||||||
|
CHK_(ptr);
|
||||||
|
} else
|
||||||
|
goto handle_unusual;
|
||||||
|
continue;
|
||||||
default:
|
default:
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
} // switch
|
} // switch
|
||||||
@@ -1720,6 +1752,13 @@ uint8_t* Column::_InternalSerialize(
|
|||||||
_Internal::datatype_extension(this).GetCachedSize(), target, stream);
|
_Internal::datatype_extension(this).GetCachedSize(), target, stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.ColumnOptions options = 7;
|
||||||
|
if (this->_internal_has_options()) {
|
||||||
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
|
InternalWriteMessage(7, _Internal::options(this),
|
||||||
|
_Internal::options(this).GetCachedSize(), target, stream);
|
||||||
|
}
|
||||||
|
|
||||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||||
@@ -1764,6 +1803,13 @@ size_t Column::ByteSizeLong() const {
|
|||||||
*_impl_.datatype_extension_);
|
*_impl_.datatype_extension_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.ColumnOptions options = 7;
|
||||||
|
if (this->_internal_has_options()) {
|
||||||
|
total_size += 1 +
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||||
|
*_impl_.options_);
|
||||||
|
}
|
||||||
|
|
||||||
// .greptime.v1.SemanticType semantic_type = 2;
|
// .greptime.v1.SemanticType semantic_type = 2;
|
||||||
if (this->_internal_semantic_type() != 0) {
|
if (this->_internal_semantic_type() != 0) {
|
||||||
total_size += 1 +
|
total_size += 1 +
|
||||||
@@ -1808,6 +1854,10 @@ void Column::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBU
|
|||||||
_this->_internal_mutable_datatype_extension()->::greptime::v1::ColumnDataTypeExtension::MergeFrom(
|
_this->_internal_mutable_datatype_extension()->::greptime::v1::ColumnDataTypeExtension::MergeFrom(
|
||||||
from._internal_datatype_extension());
|
from._internal_datatype_extension());
|
||||||
}
|
}
|
||||||
|
if (from._internal_has_options()) {
|
||||||
|
_this->_internal_mutable_options()->::greptime::v1::ColumnOptions::MergeFrom(
|
||||||
|
from._internal_options());
|
||||||
|
}
|
||||||
if (from._internal_semantic_type() != 0) {
|
if (from._internal_semantic_type() != 0) {
|
||||||
_this->_internal_set_semantic_type(from._internal_semantic_type());
|
_this->_internal_set_semantic_type(from._internal_semantic_type());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -992,6 +992,7 @@ class Column final :
|
|||||||
kNullMaskFieldNumber = 4,
|
kNullMaskFieldNumber = 4,
|
||||||
kValuesFieldNumber = 3,
|
kValuesFieldNumber = 3,
|
||||||
kDatatypeExtensionFieldNumber = 6,
|
kDatatypeExtensionFieldNumber = 6,
|
||||||
|
kOptionsFieldNumber = 7,
|
||||||
kSemanticTypeFieldNumber = 2,
|
kSemanticTypeFieldNumber = 2,
|
||||||
kDatatypeFieldNumber = 5,
|
kDatatypeFieldNumber = 5,
|
||||||
};
|
};
|
||||||
@@ -1059,6 +1060,24 @@ class Column final :
|
|||||||
::greptime::v1::ColumnDataTypeExtension* datatype_extension);
|
::greptime::v1::ColumnDataTypeExtension* datatype_extension);
|
||||||
::greptime::v1::ColumnDataTypeExtension* unsafe_arena_release_datatype_extension();
|
::greptime::v1::ColumnDataTypeExtension* unsafe_arena_release_datatype_extension();
|
||||||
|
|
||||||
|
// .greptime.v1.ColumnOptions options = 7;
|
||||||
|
bool has_options() const;
|
||||||
|
private:
|
||||||
|
bool _internal_has_options() const;
|
||||||
|
public:
|
||||||
|
void clear_options();
|
||||||
|
const ::greptime::v1::ColumnOptions& options() const;
|
||||||
|
PROTOBUF_NODISCARD ::greptime::v1::ColumnOptions* release_options();
|
||||||
|
::greptime::v1::ColumnOptions* mutable_options();
|
||||||
|
void set_allocated_options(::greptime::v1::ColumnOptions* options);
|
||||||
|
private:
|
||||||
|
const ::greptime::v1::ColumnOptions& _internal_options() const;
|
||||||
|
::greptime::v1::ColumnOptions* _internal_mutable_options();
|
||||||
|
public:
|
||||||
|
void unsafe_arena_set_allocated_options(
|
||||||
|
::greptime::v1::ColumnOptions* options);
|
||||||
|
::greptime::v1::ColumnOptions* unsafe_arena_release_options();
|
||||||
|
|
||||||
// .greptime.v1.SemanticType semantic_type = 2;
|
// .greptime.v1.SemanticType semantic_type = 2;
|
||||||
void clear_semantic_type();
|
void clear_semantic_type();
|
||||||
::greptime::v1::SemanticType semantic_type() const;
|
::greptime::v1::SemanticType semantic_type() const;
|
||||||
@@ -1089,6 +1108,7 @@ class Column final :
|
|||||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr null_mask_;
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr null_mask_;
|
||||||
::greptime::v1::Column_Values* values_;
|
::greptime::v1::Column_Values* values_;
|
||||||
::greptime::v1::ColumnDataTypeExtension* datatype_extension_;
|
::greptime::v1::ColumnDataTypeExtension* datatype_extension_;
|
||||||
|
::greptime::v1::ColumnOptions* options_;
|
||||||
int semantic_type_;
|
int semantic_type_;
|
||||||
int datatype_;
|
int datatype_;
|
||||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
@@ -2731,6 +2751,91 @@ inline void Column::set_allocated_datatype_extension(::greptime::v1::ColumnDataT
|
|||||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.Column.datatype_extension)
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.Column.datatype_extension)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.ColumnOptions options = 7;
|
||||||
|
inline bool Column::_internal_has_options() const {
|
||||||
|
return this != internal_default_instance() && _impl_.options_ != nullptr;
|
||||||
|
}
|
||||||
|
inline bool Column::has_options() const {
|
||||||
|
return _internal_has_options();
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::ColumnOptions& Column::_internal_options() const {
|
||||||
|
const ::greptime::v1::ColumnOptions* p = _impl_.options_;
|
||||||
|
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::ColumnOptions&>(
|
||||||
|
::greptime::v1::_ColumnOptions_default_instance_);
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::ColumnOptions& Column::options() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.Column.options)
|
||||||
|
return _internal_options();
|
||||||
|
}
|
||||||
|
inline void Column::unsafe_arena_set_allocated_options(
|
||||||
|
::greptime::v1::ColumnOptions* options) {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_);
|
||||||
|
}
|
||||||
|
_impl_.options_ = options;
|
||||||
|
if (options) {
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.Column.options)
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::ColumnOptions* Column::release_options() {
|
||||||
|
|
||||||
|
::greptime::v1::ColumnOptions* temp = _impl_.options_;
|
||||||
|
_impl_.options_ = nullptr;
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||||
|
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
||||||
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
|
if (GetArenaForAllocation() == nullptr) { delete old; }
|
||||||
|
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||||
|
if (GetArenaForAllocation() != nullptr) {
|
||||||
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
|
}
|
||||||
|
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||||
|
return temp;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::ColumnOptions* Column::unsafe_arena_release_options() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.Column.options)
|
||||||
|
|
||||||
|
::greptime::v1::ColumnOptions* temp = _impl_.options_;
|
||||||
|
_impl_.options_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::ColumnOptions* Column::_internal_mutable_options() {
|
||||||
|
|
||||||
|
if (_impl_.options_ == nullptr) {
|
||||||
|
auto* p = CreateMaybeMessage<::greptime::v1::ColumnOptions>(GetArenaForAllocation());
|
||||||
|
_impl_.options_ = p;
|
||||||
|
}
|
||||||
|
return _impl_.options_;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::ColumnOptions* Column::mutable_options() {
|
||||||
|
::greptime::v1::ColumnOptions* _msg = _internal_mutable_options();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.Column.options)
|
||||||
|
return _msg;
|
||||||
|
}
|
||||||
|
inline void Column::set_allocated_options(::greptime::v1::ColumnOptions* options) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||||
|
if (message_arena == nullptr) {
|
||||||
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_);
|
||||||
|
}
|
||||||
|
if (options) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
|
||||||
|
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options));
|
||||||
|
if (message_arena != submessage_arena) {
|
||||||
|
options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||||
|
message_arena, options, submessage_arena);
|
||||||
|
}
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
_impl_.options_ = options;
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.Column.options)
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif // __GNUC__
|
#endif // __GNUC__
|
||||||
|
|||||||
+309
-20
@@ -271,9 +271,33 @@ struct DecimalTypeExtensionDefaultTypeInternal {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DecimalTypeExtensionDefaultTypeInternal _DecimalTypeExtension_default_instance_;
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DecimalTypeExtensionDefaultTypeInternal _DecimalTypeExtension_default_instance_;
|
||||||
|
PROTOBUF_CONSTEXPR ColumnOptions_OptionsEntry_DoNotUse::ColumnOptions_OptionsEntry_DoNotUse(
|
||||||
|
::_pbi::ConstantInitialized) {}
|
||||||
|
struct ColumnOptions_OptionsEntry_DoNotUseDefaultTypeInternal {
|
||||||
|
PROTOBUF_CONSTEXPR ColumnOptions_OptionsEntry_DoNotUseDefaultTypeInternal()
|
||||||
|
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||||
|
~ColumnOptions_OptionsEntry_DoNotUseDefaultTypeInternal() {}
|
||||||
|
union {
|
||||||
|
ColumnOptions_OptionsEntry_DoNotUse _instance;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ColumnOptions_OptionsEntry_DoNotUseDefaultTypeInternal _ColumnOptions_OptionsEntry_DoNotUse_default_instance_;
|
||||||
|
PROTOBUF_CONSTEXPR ColumnOptions::ColumnOptions(
|
||||||
|
::_pbi::ConstantInitialized): _impl_{
|
||||||
|
/*decltype(_impl_.options_)*/{::_pbi::ConstantInitialized()}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||||
|
struct ColumnOptionsDefaultTypeInternal {
|
||||||
|
PROTOBUF_CONSTEXPR ColumnOptionsDefaultTypeInternal()
|
||||||
|
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||||
|
~ColumnOptionsDefaultTypeInternal() {}
|
||||||
|
union {
|
||||||
|
ColumnOptions _instance;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ColumnOptionsDefaultTypeInternal _ColumnOptions_default_instance_;
|
||||||
} // namespace v1
|
} // namespace v1
|
||||||
} // namespace greptime
|
} // namespace greptime
|
||||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fcommon_2eproto[18];
|
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fcommon_2eproto[20];
|
||||||
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fcommon_2eproto[2];
|
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fcommon_2eproto[2];
|
||||||
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fcommon_2eproto = nullptr;
|
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fcommon_2eproto = nullptr;
|
||||||
|
|
||||||
@@ -430,6 +454,23 @@ const uint32_t TableStruct_greptime_2fv1_2fcommon_2eproto::offsets[] PROTOBUF_SE
|
|||||||
~0u, // no _inlined_string_donated_
|
~0u, // no _inlined_string_donated_
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::DecimalTypeExtension, _impl_.precision_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::DecimalTypeExtension, _impl_.precision_),
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::DecimalTypeExtension, _impl_.scale_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::DecimalTypeExtension, _impl_.scale_),
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse, _has_bits_),
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse, _internal_metadata_),
|
||||||
|
~0u, // no _extensions_
|
||||||
|
~0u, // no _oneof_case_
|
||||||
|
~0u, // no _weak_field_map_
|
||||||
|
~0u, // no _inlined_string_donated_
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse, key_),
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse, value_),
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
~0u, // no _has_bits_
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnOptions, _internal_metadata_),
|
||||||
|
~0u, // no _extensions_
|
||||||
|
~0u, // no _oneof_case_
|
||||||
|
~0u, // no _weak_field_map_
|
||||||
|
~0u, // no _inlined_string_donated_
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnOptions, _impl_.options_),
|
||||||
};
|
};
|
||||||
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||||||
{ 0, 8, -1, sizeof(::greptime::v1::QueryContext_ExtensionsEntry_DoNotUse)},
|
{ 0, 8, -1, sizeof(::greptime::v1::QueryContext_ExtensionsEntry_DoNotUse)},
|
||||||
@@ -450,6 +491,8 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
|||||||
{ 128, -1, -1, sizeof(::greptime::v1::Decimal128)},
|
{ 128, -1, -1, sizeof(::greptime::v1::Decimal128)},
|
||||||
{ 136, -1, -1, sizeof(::greptime::v1::ColumnDataTypeExtension)},
|
{ 136, -1, -1, sizeof(::greptime::v1::ColumnDataTypeExtension)},
|
||||||
{ 144, -1, -1, sizeof(::greptime::v1::DecimalTypeExtension)},
|
{ 144, -1, -1, sizeof(::greptime::v1::DecimalTypeExtension)},
|
||||||
|
{ 152, 160, -1, sizeof(::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse)},
|
||||||
|
{ 162, -1, -1, sizeof(::greptime::v1::ColumnOptions)},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const ::_pb::Message* const file_default_instances[] = {
|
static const ::_pb::Message* const file_default_instances[] = {
|
||||||
@@ -471,6 +514,8 @@ static const ::_pb::Message* const file_default_instances[] = {
|
|||||||
&::greptime::v1::_Decimal128_default_instance_._instance,
|
&::greptime::v1::_Decimal128_default_instance_._instance,
|
||||||
&::greptime::v1::_ColumnDataTypeExtension_default_instance_._instance,
|
&::greptime::v1::_ColumnDataTypeExtension_default_instance_._instance,
|
||||||
&::greptime::v1::_DecimalTypeExtension_default_instance_._instance,
|
&::greptime::v1::_DecimalTypeExtension_default_instance_._instance,
|
||||||
|
&::greptime::v1::_ColumnOptions_OptionsEntry_DoNotUse_default_instance_._instance,
|
||||||
|
&::greptime::v1::_ColumnOptions_default_instance_._instance,
|
||||||
};
|
};
|
||||||
|
|
||||||
const char descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
|
const char descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
|
||||||
@@ -506,29 +551,32 @@ const char descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto[] PROTOBUF_S
|
|||||||
"\n\027ColumnDataTypeExtension\0229\n\014decimal_typ"
|
"\n\027ColumnDataTypeExtension\0229\n\014decimal_typ"
|
||||||
"e\030\001 \001(\0132!.greptime.v1.DecimalTypeExtensi"
|
"e\030\001 \001(\0132!.greptime.v1.DecimalTypeExtensi"
|
||||||
"onH\000B\n\n\010type_ext\"8\n\024DecimalTypeExtension"
|
"onH\000B\n\n\010type_ext\"8\n\024DecimalTypeExtension"
|
||||||
"\022\021\n\tprecision\030\001 \001(\005\022\r\n\005scale\030\002 \001(\005*1\n\014Se"
|
"\022\021\n\tprecision\030\001 \001(\005\022\r\n\005scale\030\002 \001(\005\"y\n\rCo"
|
||||||
"manticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMEST"
|
"lumnOptions\0228\n\007options\030\001 \003(\0132\'.greptime."
|
||||||
"AMP\020\002*\326\003\n\016ColumnDataType\022\013\n\007BOOLEAN\020\000\022\010\n"
|
"v1.ColumnOptions.OptionsEntry\032.\n\014Options"
|
||||||
"\004INT8\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020\003\022\t\n\005INT64\020\004"
|
"Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001*1\n"
|
||||||
"\022\t\n\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n\n\006U"
|
"\014SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIM"
|
||||||
"INT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006BIN"
|
"ESTAMP\020\002*\326\003\n\016ColumnDataType\022\013\n\007BOOLEAN\020\000"
|
||||||
"ARY\020\013\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIME\020"
|
"\022\010\n\004INT8\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020\003\022\t\n\005INT6"
|
||||||
"\016\022\024\n\020TIMESTAMP_SECOND\020\017\022\031\n\025TIMESTAMP_MIL"
|
"4\020\004\022\t\n\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n"
|
||||||
"LISECOND\020\020\022\031\n\025TIMESTAMP_MICROSECOND\020\021\022\030\n"
|
"\n\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006"
|
||||||
"\024TIMESTAMP_NANOSECOND\020\022\022\017\n\013TIME_SECOND\020\023"
|
"BINARY\020\013\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETI"
|
||||||
"\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TIME_MICROSECO"
|
"ME\020\016\022\024\n\020TIMESTAMP_SECOND\020\017\022\031\n\025TIMESTAMP_"
|
||||||
"ND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n\023INTERVAL_YE"
|
"MILLISECOND\020\020\022\031\n\025TIMESTAMP_MICROSECOND\020\021"
|
||||||
"AR_MONTH\020\027\022\025\n\021INTERVAL_DAY_TIME\020\030\022\033\n\027INT"
|
"\022\030\n\024TIMESTAMP_NANOSECOND\020\022\022\017\n\013TIME_SECON"
|
||||||
"ERVAL_MONTH_DAY_NANO\020\031\022\016\n\nDECIMAL128\020\036BO"
|
"D\020\023\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TIME_MICROS"
|
||||||
"\n\016io.greptime.v1B\006CommonZ5github.com/Gre"
|
"ECOND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n\023INTERVAL"
|
||||||
"ptimeTeam/greptime-proto/go/greptime/v1b"
|
"_YEAR_MONTH\020\027\022\025\n\021INTERVAL_DAY_TIME\020\030\022\033\n\027"
|
||||||
"\006proto3"
|
"INTERVAL_MONTH_DAY_NANO\020\031\022\016\n\nDECIMAL128\020"
|
||||||
|
"\036BO\n\016io.greptime.v1B\006CommonZ5github.com/"
|
||||||
|
"GreptimeTeam/greptime-proto/go/greptime/"
|
||||||
|
"v1b\006proto3"
|
||||||
;
|
;
|
||||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcommon_2eproto_once;
|
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcommon_2eproto_once;
|
||||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcommon_2eproto = {
|
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcommon_2eproto = {
|
||||||
false, false, 1927, descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto,
|
false, false, 2050, descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto,
|
||||||
"greptime/v1/common.proto",
|
"greptime/v1/common.proto",
|
||||||
&descriptor_table_greptime_2fv1_2fcommon_2eproto_once, nullptr, 0, 18,
|
&descriptor_table_greptime_2fv1_2fcommon_2eproto_once, nullptr, 0, 20,
|
||||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fcommon_2eproto::offsets,
|
schemas, file_default_instances, TableStruct_greptime_2fv1_2fcommon_2eproto::offsets,
|
||||||
file_level_metadata_greptime_2fv1_2fcommon_2eproto, file_level_enum_descriptors_greptime_2fv1_2fcommon_2eproto,
|
file_level_metadata_greptime_2fv1_2fcommon_2eproto, file_level_enum_descriptors_greptime_2fv1_2fcommon_2eproto,
|
||||||
file_level_service_descriptors_greptime_2fv1_2fcommon_2eproto,
|
file_level_service_descriptors_greptime_2fv1_2fcommon_2eproto,
|
||||||
@@ -4642,6 +4690,239 @@ void DecimalTypeExtension::InternalSwap(DecimalTypeExtension* other) {
|
|||||||
file_level_metadata_greptime_2fv1_2fcommon_2eproto[17]);
|
file_level_metadata_greptime_2fv1_2fcommon_2eproto[17]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ===================================================================
|
||||||
|
|
||||||
|
ColumnOptions_OptionsEntry_DoNotUse::ColumnOptions_OptionsEntry_DoNotUse() {}
|
||||||
|
ColumnOptions_OptionsEntry_DoNotUse::ColumnOptions_OptionsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena)
|
||||||
|
: SuperType(arena) {}
|
||||||
|
void ColumnOptions_OptionsEntry_DoNotUse::MergeFrom(const ColumnOptions_OptionsEntry_DoNotUse& other) {
|
||||||
|
MergeFromInternal(other);
|
||||||
|
}
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Metadata ColumnOptions_OptionsEntry_DoNotUse::GetMetadata() const {
|
||||||
|
return ::_pbi::AssignDescriptors(
|
||||||
|
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
|
||||||
|
file_level_metadata_greptime_2fv1_2fcommon_2eproto[18]);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ===================================================================
|
||||||
|
|
||||||
|
class ColumnOptions::_Internal {
|
||||||
|
public:
|
||||||
|
};
|
||||||
|
|
||||||
|
ColumnOptions::ColumnOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||||
|
bool is_message_owned)
|
||||||
|
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||||
|
SharedCtor(arena, is_message_owned);
|
||||||
|
if (arena != nullptr && !is_message_owned) {
|
||||||
|
arena->OwnCustomDestructor(this, &ColumnOptions::ArenaDtor);
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(arena_constructor:greptime.v1.ColumnOptions)
|
||||||
|
}
|
||||||
|
ColumnOptions::ColumnOptions(const ColumnOptions& from)
|
||||||
|
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||||
|
ColumnOptions* const _this = this; (void)_this;
|
||||||
|
new (&_impl_) Impl_{
|
||||||
|
/*decltype(_impl_.options_)*/{}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}};
|
||||||
|
|
||||||
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
|
_this->_impl_.options_.MergeFrom(from._impl_.options_);
|
||||||
|
// @@protoc_insertion_point(copy_constructor:greptime.v1.ColumnOptions)
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void ColumnOptions::SharedCtor(
|
||||||
|
::_pb::Arena* arena, bool is_message_owned) {
|
||||||
|
(void)arena;
|
||||||
|
(void)is_message_owned;
|
||||||
|
new (&_impl_) Impl_{
|
||||||
|
/*decltype(_impl_.options_)*/{::_pbi::ArenaInitialized(), arena}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
ColumnOptions::~ColumnOptions() {
|
||||||
|
// @@protoc_insertion_point(destructor:greptime.v1.ColumnOptions)
|
||||||
|
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||||
|
(void)arena;
|
||||||
|
ArenaDtor(this);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
SharedDtor();
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void ColumnOptions::SharedDtor() {
|
||||||
|
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||||
|
_impl_.options_.Destruct();
|
||||||
|
_impl_.options_.~MapField();
|
||||||
|
}
|
||||||
|
|
||||||
|
void ColumnOptions::ArenaDtor(void* object) {
|
||||||
|
ColumnOptions* _this = reinterpret_cast< ColumnOptions* >(object);
|
||||||
|
_this->_impl_.options_.Destruct();
|
||||||
|
}
|
||||||
|
void ColumnOptions::SetCachedSize(int size) const {
|
||||||
|
_impl_._cached_size_.Set(size);
|
||||||
|
}
|
||||||
|
|
||||||
|
void ColumnOptions::Clear() {
|
||||||
|
// @@protoc_insertion_point(message_clear_start:greptime.v1.ColumnOptions)
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
// Prevent compiler warnings about cached_has_bits being unused
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
_impl_.options_.Clear();
|
||||||
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||||
|
}
|
||||||
|
|
||||||
|
const char* ColumnOptions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
|
||||||
|
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
|
||||||
|
while (!ctx->Done(&ptr)) {
|
||||||
|
uint32_t tag;
|
||||||
|
ptr = ::_pbi::ReadTag(ptr, &tag);
|
||||||
|
switch (tag >> 3) {
|
||||||
|
// map<string, string> options = 1;
|
||||||
|
case 1:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
|
||||||
|
ptr -= 1;
|
||||||
|
do {
|
||||||
|
ptr += 1;
|
||||||
|
ptr = ctx->ParseMessage(&_impl_.options_, ptr);
|
||||||
|
CHK_(ptr);
|
||||||
|
if (!ctx->DataAvailable(ptr)) break;
|
||||||
|
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
|
||||||
|
} else
|
||||||
|
goto handle_unusual;
|
||||||
|
continue;
|
||||||
|
default:
|
||||||
|
goto handle_unusual;
|
||||||
|
} // switch
|
||||||
|
handle_unusual:
|
||||||
|
if ((tag == 0) || ((tag & 7) == 4)) {
|
||||||
|
CHK_(ptr);
|
||||||
|
ctx->SetLastTag(tag);
|
||||||
|
goto message_done;
|
||||||
|
}
|
||||||
|
ptr = UnknownFieldParse(
|
||||||
|
tag,
|
||||||
|
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
|
||||||
|
ptr, ctx);
|
||||||
|
CHK_(ptr != nullptr);
|
||||||
|
} // while
|
||||||
|
message_done:
|
||||||
|
return ptr;
|
||||||
|
failure:
|
||||||
|
ptr = nullptr;
|
||||||
|
goto message_done;
|
||||||
|
#undef CHK_
|
||||||
|
}
|
||||||
|
|
||||||
|
uint8_t* ColumnOptions::_InternalSerialize(
|
||||||
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||||
|
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.ColumnOptions)
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
// map<string, string> options = 1;
|
||||||
|
if (!this->_internal_options().empty()) {
|
||||||
|
using MapType = ::_pb::Map<std::string, std::string>;
|
||||||
|
using WireHelper = ColumnOptions_OptionsEntry_DoNotUse::Funcs;
|
||||||
|
const auto& map_field = this->_internal_options();
|
||||||
|
auto check_utf8 = [](const MapType::value_type& entry) {
|
||||||
|
(void)entry;
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
|
||||||
|
entry.first.data(), static_cast<int>(entry.first.length()),
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
|
||||||
|
"greptime.v1.ColumnOptions.OptionsEntry.key");
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
|
||||||
|
entry.second.data(), static_cast<int>(entry.second.length()),
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
|
||||||
|
"greptime.v1.ColumnOptions.OptionsEntry.value");
|
||||||
|
};
|
||||||
|
|
||||||
|
if (stream->IsSerializationDeterministic() && map_field.size() > 1) {
|
||||||
|
for (const auto& entry : ::_pbi::MapSorterPtr<MapType>(map_field)) {
|
||||||
|
target = WireHelper::InternalSerialize(1, entry.first, entry.second, target, stream);
|
||||||
|
check_utf8(entry);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
for (const auto& entry : map_field) {
|
||||||
|
target = WireHelper::InternalSerialize(1, entry.first, entry.second, target, stream);
|
||||||
|
check_utf8(entry);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||||
|
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||||
|
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(serialize_to_array_end:greptime.v1.ColumnOptions)
|
||||||
|
return target;
|
||||||
|
}
|
||||||
|
|
||||||
|
size_t ColumnOptions::ByteSizeLong() const {
|
||||||
|
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.ColumnOptions)
|
||||||
|
size_t total_size = 0;
|
||||||
|
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
// Prevent compiler warnings about cached_has_bits being unused
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
// map<string, string> options = 1;
|
||||||
|
total_size += 1 *
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_options_size());
|
||||||
|
for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
|
||||||
|
it = this->_internal_options().begin();
|
||||||
|
it != this->_internal_options().end(); ++it) {
|
||||||
|
total_size += ColumnOptions_OptionsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
|
||||||
|
}
|
||||||
|
|
||||||
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||||
|
}
|
||||||
|
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ColumnOptions::_class_data_ = {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||||
|
ColumnOptions::MergeImpl
|
||||||
|
};
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ColumnOptions::GetClassData() const { return &_class_data_; }
|
||||||
|
|
||||||
|
|
||||||
|
void ColumnOptions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||||
|
auto* const _this = static_cast<ColumnOptions*>(&to_msg);
|
||||||
|
auto& from = static_cast<const ColumnOptions&>(from_msg);
|
||||||
|
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.ColumnOptions)
|
||||||
|
GOOGLE_DCHECK_NE(&from, _this);
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
_this->_impl_.options_.MergeFrom(from._impl_.options_);
|
||||||
|
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
|
}
|
||||||
|
|
||||||
|
void ColumnOptions::CopyFrom(const ColumnOptions& from) {
|
||||||
|
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.ColumnOptions)
|
||||||
|
if (&from == this) return;
|
||||||
|
Clear();
|
||||||
|
MergeFrom(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool ColumnOptions::IsInitialized() const {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ColumnOptions::InternalSwap(ColumnOptions* other) {
|
||||||
|
using std::swap;
|
||||||
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||||
|
_impl_.options_.InternalSwap(&other->_impl_.options_);
|
||||||
|
}
|
||||||
|
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Metadata ColumnOptions::GetMetadata() const {
|
||||||
|
return ::_pbi::AssignDescriptors(
|
||||||
|
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
|
||||||
|
file_level_metadata_greptime_2fv1_2fcommon_2eproto[19]);
|
||||||
|
}
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
} // namespace v1
|
} // namespace v1
|
||||||
} // namespace greptime
|
} // namespace greptime
|
||||||
@@ -4718,6 +4999,14 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::DecimalTypeExtension*
|
|||||||
Arena::CreateMaybeMessage< ::greptime::v1::DecimalTypeExtension >(Arena* arena) {
|
Arena::CreateMaybeMessage< ::greptime::v1::DecimalTypeExtension >(Arena* arena) {
|
||||||
return Arena::CreateMessageInternal< ::greptime::v1::DecimalTypeExtension >(arena);
|
return Arena::CreateMessageInternal< ::greptime::v1::DecimalTypeExtension >(arena);
|
||||||
}
|
}
|
||||||
|
template<> PROTOBUF_NOINLINE ::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse*
|
||||||
|
Arena::CreateMaybeMessage< ::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse >(Arena* arena) {
|
||||||
|
return Arena::CreateMessageInternal< ::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse >(arena);
|
||||||
|
}
|
||||||
|
template<> PROTOBUF_NOINLINE ::greptime::v1::ColumnOptions*
|
||||||
|
Arena::CreateMaybeMessage< ::greptime::v1::ColumnOptions >(Arena* arena) {
|
||||||
|
return Arena::CreateMessageInternal< ::greptime::v1::ColumnOptions >(arena);
|
||||||
|
}
|
||||||
PROTOBUF_NAMESPACE_CLOSE
|
PROTOBUF_NAMESPACE_CLOSE
|
||||||
|
|
||||||
// @@protoc_insertion_point(global_scope)
|
// @@protoc_insertion_point(global_scope)
|
||||||
|
|||||||
@@ -62,6 +62,12 @@ extern BasicDefaultTypeInternal _Basic_default_instance_;
|
|||||||
class ColumnDataTypeExtension;
|
class ColumnDataTypeExtension;
|
||||||
struct ColumnDataTypeExtensionDefaultTypeInternal;
|
struct ColumnDataTypeExtensionDefaultTypeInternal;
|
||||||
extern ColumnDataTypeExtensionDefaultTypeInternal _ColumnDataTypeExtension_default_instance_;
|
extern ColumnDataTypeExtensionDefaultTypeInternal _ColumnDataTypeExtension_default_instance_;
|
||||||
|
class ColumnOptions;
|
||||||
|
struct ColumnOptionsDefaultTypeInternal;
|
||||||
|
extern ColumnOptionsDefaultTypeInternal _ColumnOptions_default_instance_;
|
||||||
|
class ColumnOptions_OptionsEntry_DoNotUse;
|
||||||
|
struct ColumnOptions_OptionsEntry_DoNotUseDefaultTypeInternal;
|
||||||
|
extern ColumnOptions_OptionsEntry_DoNotUseDefaultTypeInternal _ColumnOptions_OptionsEntry_DoNotUse_default_instance_;
|
||||||
class Decimal128;
|
class Decimal128;
|
||||||
struct Decimal128DefaultTypeInternal;
|
struct Decimal128DefaultTypeInternal;
|
||||||
extern Decimal128DefaultTypeInternal _Decimal128_default_instance_;
|
extern Decimal128DefaultTypeInternal _Decimal128_default_instance_;
|
||||||
@@ -111,6 +117,8 @@ template<> ::greptime::v1::AffectedRows* Arena::CreateMaybeMessage<::greptime::v
|
|||||||
template<> ::greptime::v1::AuthHeader* Arena::CreateMaybeMessage<::greptime::v1::AuthHeader>(Arena*);
|
template<> ::greptime::v1::AuthHeader* Arena::CreateMaybeMessage<::greptime::v1::AuthHeader>(Arena*);
|
||||||
template<> ::greptime::v1::Basic* Arena::CreateMaybeMessage<::greptime::v1::Basic>(Arena*);
|
template<> ::greptime::v1::Basic* Arena::CreateMaybeMessage<::greptime::v1::Basic>(Arena*);
|
||||||
template<> ::greptime::v1::ColumnDataTypeExtension* Arena::CreateMaybeMessage<::greptime::v1::ColumnDataTypeExtension>(Arena*);
|
template<> ::greptime::v1::ColumnDataTypeExtension* Arena::CreateMaybeMessage<::greptime::v1::ColumnDataTypeExtension>(Arena*);
|
||||||
|
template<> ::greptime::v1::ColumnOptions* Arena::CreateMaybeMessage<::greptime::v1::ColumnOptions>(Arena*);
|
||||||
|
template<> ::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse>(Arena*);
|
||||||
template<> ::greptime::v1::Decimal128* Arena::CreateMaybeMessage<::greptime::v1::Decimal128>(Arena*);
|
template<> ::greptime::v1::Decimal128* Arena::CreateMaybeMessage<::greptime::v1::Decimal128>(Arena*);
|
||||||
template<> ::greptime::v1::DecimalTypeExtension* Arena::CreateMaybeMessage<::greptime::v1::DecimalTypeExtension>(Arena*);
|
template<> ::greptime::v1::DecimalTypeExtension* Arena::CreateMaybeMessage<::greptime::v1::DecimalTypeExtension>(Arena*);
|
||||||
template<> ::greptime::v1::ExpireAfter* Arena::CreateMaybeMessage<::greptime::v1::ExpireAfter>(Arena*);
|
template<> ::greptime::v1::ExpireAfter* Arena::CreateMaybeMessage<::greptime::v1::ExpireAfter>(Arena*);
|
||||||
@@ -3031,6 +3039,197 @@ class DecimalTypeExtension final :
|
|||||||
union { Impl_ _impl_; };
|
union { Impl_ _impl_; };
|
||||||
friend struct ::TableStruct_greptime_2fv1_2fcommon_2eproto;
|
friend struct ::TableStruct_greptime_2fv1_2fcommon_2eproto;
|
||||||
};
|
};
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
class ColumnOptions_OptionsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ColumnOptions_OptionsEntry_DoNotUse,
|
||||||
|
std::string, std::string,
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> {
|
||||||
|
public:
|
||||||
|
typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ColumnOptions_OptionsEntry_DoNotUse,
|
||||||
|
std::string, std::string,
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> SuperType;
|
||||||
|
ColumnOptions_OptionsEntry_DoNotUse();
|
||||||
|
explicit PROTOBUF_CONSTEXPR ColumnOptions_OptionsEntry_DoNotUse(
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||||
|
explicit ColumnOptions_OptionsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
||||||
|
void MergeFrom(const ColumnOptions_OptionsEntry_DoNotUse& other);
|
||||||
|
static const ColumnOptions_OptionsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ColumnOptions_OptionsEntry_DoNotUse*>(&_ColumnOptions_OptionsEntry_DoNotUse_default_instance_); }
|
||||||
|
static bool ValidateKey(std::string* s) {
|
||||||
|
return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "greptime.v1.ColumnOptions.OptionsEntry.key");
|
||||||
|
}
|
||||||
|
static bool ValidateValue(std::string* s) {
|
||||||
|
return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "greptime.v1.ColumnOptions.OptionsEntry.value");
|
||||||
|
}
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
||||||
|
friend struct ::TableStruct_greptime_2fv1_2fcommon_2eproto;
|
||||||
|
};
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
class ColumnOptions final :
|
||||||
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.ColumnOptions) */ {
|
||||||
|
public:
|
||||||
|
inline ColumnOptions() : ColumnOptions(nullptr) {}
|
||||||
|
~ColumnOptions() override;
|
||||||
|
explicit PROTOBUF_CONSTEXPR ColumnOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||||
|
|
||||||
|
ColumnOptions(const ColumnOptions& from);
|
||||||
|
ColumnOptions(ColumnOptions&& from) noexcept
|
||||||
|
: ColumnOptions() {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
inline ColumnOptions& operator=(const ColumnOptions& from) {
|
||||||
|
CopyFrom(from);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
inline ColumnOptions& operator=(ColumnOptions&& from) noexcept {
|
||||||
|
if (this == &from) return *this;
|
||||||
|
if (GetOwningArena() == from.GetOwningArena()
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
||||||
|
&& GetOwningArena() != nullptr
|
||||||
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
||||||
|
) {
|
||||||
|
InternalSwap(&from);
|
||||||
|
} else {
|
||||||
|
CopyFrom(from);
|
||||||
|
}
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
||||||
|
return GetDescriptor();
|
||||||
|
}
|
||||||
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
||||||
|
return default_instance().GetMetadata().descriptor;
|
||||||
|
}
|
||||||
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
||||||
|
return default_instance().GetMetadata().reflection;
|
||||||
|
}
|
||||||
|
static const ColumnOptions& default_instance() {
|
||||||
|
return *internal_default_instance();
|
||||||
|
}
|
||||||
|
static inline const ColumnOptions* internal_default_instance() {
|
||||||
|
return reinterpret_cast<const ColumnOptions*>(
|
||||||
|
&_ColumnOptions_default_instance_);
|
||||||
|
}
|
||||||
|
static constexpr int kIndexInFileMessages =
|
||||||
|
19;
|
||||||
|
|
||||||
|
friend void swap(ColumnOptions& a, ColumnOptions& b) {
|
||||||
|
a.Swap(&b);
|
||||||
|
}
|
||||||
|
inline void Swap(ColumnOptions* other) {
|
||||||
|
if (other == this) return;
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
|
if (GetOwningArena() != nullptr &&
|
||||||
|
GetOwningArena() == other->GetOwningArena()) {
|
||||||
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
|
if (GetOwningArena() == other->GetOwningArena()) {
|
||||||
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
|
InternalSwap(other);
|
||||||
|
} else {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
void UnsafeArenaSwap(ColumnOptions* other) {
|
||||||
|
if (other == this) return;
|
||||||
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||||
|
InternalSwap(other);
|
||||||
|
}
|
||||||
|
|
||||||
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
|
ColumnOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||||
|
return CreateMaybeMessage<ColumnOptions>(arena);
|
||||||
|
}
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||||
|
void CopyFrom(const ColumnOptions& from);
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||||
|
void MergeFrom( const ColumnOptions& from) {
|
||||||
|
ColumnOptions::MergeImpl(*this, from);
|
||||||
|
}
|
||||||
|
private:
|
||||||
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
||||||
|
public:
|
||||||
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||||
|
bool IsInitialized() const final;
|
||||||
|
|
||||||
|
size_t ByteSizeLong() const final;
|
||||||
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
||||||
|
uint8_t* _InternalSerialize(
|
||||||
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
||||||
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
||||||
|
|
||||||
|
private:
|
||||||
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
||||||
|
void SharedDtor();
|
||||||
|
void SetCachedSize(int size) const final;
|
||||||
|
void InternalSwap(ColumnOptions* other);
|
||||||
|
|
||||||
|
private:
|
||||||
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||||
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||||
|
return "greptime.v1.ColumnOptions";
|
||||||
|
}
|
||||||
|
protected:
|
||||||
|
explicit ColumnOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||||
|
bool is_message_owned = false);
|
||||||
|
private:
|
||||||
|
static void ArenaDtor(void* object);
|
||||||
|
public:
|
||||||
|
|
||||||
|
static const ClassData _class_data_;
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
||||||
|
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
||||||
|
|
||||||
|
// nested types ----------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
// accessors -------------------------------------------------------
|
||||||
|
|
||||||
|
enum : int {
|
||||||
|
kOptionsFieldNumber = 1,
|
||||||
|
};
|
||||||
|
// map<string, string> options = 1;
|
||||||
|
int options_size() const;
|
||||||
|
private:
|
||||||
|
int _internal_options_size() const;
|
||||||
|
public:
|
||||||
|
void clear_options();
|
||||||
|
private:
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
|
||||||
|
_internal_options() const;
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
|
||||||
|
_internal_mutable_options();
|
||||||
|
public:
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
|
||||||
|
options() const;
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
|
||||||
|
mutable_options();
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:greptime.v1.ColumnOptions)
|
||||||
|
private:
|
||||||
|
class _Internal;
|
||||||
|
|
||||||
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||||
|
typedef void InternalArenaConstructable_;
|
||||||
|
typedef void DestructorSkippable_;
|
||||||
|
struct Impl_ {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::MapField<
|
||||||
|
ColumnOptions_OptionsEntry_DoNotUse,
|
||||||
|
std::string, std::string,
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> options_;
|
||||||
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
|
};
|
||||||
|
union { Impl_ _impl_; };
|
||||||
|
friend struct ::TableStruct_greptime_2fv1_2fcommon_2eproto;
|
||||||
|
};
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
|
|
||||||
|
|
||||||
@@ -4714,6 +4913,41 @@ inline void DecimalTypeExtension::set_scale(int32_t value) {
|
|||||||
// @@protoc_insertion_point(field_set:greptime.v1.DecimalTypeExtension.scale)
|
// @@protoc_insertion_point(field_set:greptime.v1.DecimalTypeExtension.scale)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// ColumnOptions
|
||||||
|
|
||||||
|
// map<string, string> options = 1;
|
||||||
|
inline int ColumnOptions::_internal_options_size() const {
|
||||||
|
return _impl_.options_.size();
|
||||||
|
}
|
||||||
|
inline int ColumnOptions::options_size() const {
|
||||||
|
return _internal_options_size();
|
||||||
|
}
|
||||||
|
inline void ColumnOptions::clear_options() {
|
||||||
|
_impl_.options_.Clear();
|
||||||
|
}
|
||||||
|
inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
|
||||||
|
ColumnOptions::_internal_options() const {
|
||||||
|
return _impl_.options_.GetMap();
|
||||||
|
}
|
||||||
|
inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
|
||||||
|
ColumnOptions::options() const {
|
||||||
|
// @@protoc_insertion_point(field_map:greptime.v1.ColumnOptions.options)
|
||||||
|
return _internal_options();
|
||||||
|
}
|
||||||
|
inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
|
||||||
|
ColumnOptions::_internal_mutable_options() {
|
||||||
|
return _impl_.options_.MutableMap();
|
||||||
|
}
|
||||||
|
inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
|
||||||
|
ColumnOptions::mutable_options() {
|
||||||
|
// @@protoc_insertion_point(field_mutable_map:greptime.v1.ColumnOptions.options)
|
||||||
|
return _internal_mutable_options();
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif // __GNUC__
|
#endif // __GNUC__
|
||||||
@@ -4751,6 +4985,10 @@ inline void DecimalTypeExtension::set_scale(int32_t value) {
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
|
|
||||||
|
|||||||
+60
-10
@@ -373,6 +373,7 @@ PROTOBUF_CONSTEXPR ColumnDef::ColumnDef(
|
|||||||
, /*decltype(_impl_.default_constraint_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
, /*decltype(_impl_.default_constraint_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||||
, /*decltype(_impl_.comment_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
, /*decltype(_impl_.comment_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||||
, /*decltype(_impl_.datatype_extension_)*/nullptr
|
, /*decltype(_impl_.datatype_extension_)*/nullptr
|
||||||
|
, /*decltype(_impl_.options_)*/nullptr
|
||||||
, /*decltype(_impl_.data_type_)*/0
|
, /*decltype(_impl_.data_type_)*/0
|
||||||
, /*decltype(_impl_.is_nullable_)*/false
|
, /*decltype(_impl_.is_nullable_)*/false
|
||||||
, /*decltype(_impl_.semantic_type_)*/0
|
, /*decltype(_impl_.semantic_type_)*/0
|
||||||
@@ -653,6 +654,7 @@ const uint32_t TableStruct_greptime_2fv1_2fddl_2eproto::offsets[] PROTOBUF_SECTI
|
|||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnDef, _impl_.semantic_type_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnDef, _impl_.semantic_type_),
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnDef, _impl_.comment_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnDef, _impl_.comment_),
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnDef, _impl_.datatype_extension_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnDef, _impl_.datatype_extension_),
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnDef, _impl_.options_),
|
||||||
~0u, // no _has_bits_
|
~0u, // no _has_bits_
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::AddColumnLocation, _internal_metadata_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::AddColumnLocation, _internal_metadata_),
|
||||||
~0u, // no _extensions_
|
~0u, // no _extensions_
|
||||||
@@ -687,7 +689,7 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
|||||||
{ 219, -1, -1, sizeof(::greptime::v1::TableId)},
|
{ 219, -1, -1, sizeof(::greptime::v1::TableId)},
|
||||||
{ 226, -1, -1, sizeof(::greptime::v1::FlowId)},
|
{ 226, -1, -1, sizeof(::greptime::v1::FlowId)},
|
||||||
{ 233, -1, -1, sizeof(::greptime::v1::ColumnDef)},
|
{ 233, -1, -1, sizeof(::greptime::v1::ColumnDef)},
|
||||||
{ 246, -1, -1, sizeof(::greptime::v1::AddColumnLocation)},
|
{ 247, -1, -1, sizeof(::greptime::v1::AddColumnLocation)},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const ::_pb::Message* const file_default_instances[] = {
|
static const ::_pb::Message* const file_default_instances[] = {
|
||||||
@@ -800,26 +802,27 @@ const char descriptor_table_protodef_greptime_2fv1_2fddl_2eproto[] PROTOBUF_SECT
|
|||||||
"type_extension\030\003 \001(\0132$.greptime.v1.Colum"
|
"type_extension\030\003 \001(\0132$.greptime.v1.Colum"
|
||||||
"nDataTypeExtension\"\032\n\nDropColumn\022\014\n\004name"
|
"nDataTypeExtension\"\032\n\nDropColumn\022\014\n\004name"
|
||||||
"\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowId\022"
|
"\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowId\022"
|
||||||
"\n\n\002id\030\001 \001(\r\"\377\001\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022"
|
"\n\n\002id\030\001 \001(\r\"\254\002\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022"
|
||||||
".\n\tdata_type\030\002 \001(\0162\033.greptime.v1.ColumnD"
|
".\n\tdata_type\030\002 \001(\0162\033.greptime.v1.ColumnD"
|
||||||
"ataType\022\023\n\013is_nullable\030\003 \001(\010\022\032\n\022default_"
|
"ataType\022\023\n\013is_nullable\030\003 \001(\010\022\032\n\022default_"
|
||||||
"constraint\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001(\0162"
|
"constraint\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001(\0162"
|
||||||
"\031.greptime.v1.SemanticType\022\017\n\007comment\030\006 "
|
"\031.greptime.v1.SemanticType\022\017\n\007comment\030\006 "
|
||||||
"\001(\t\022@\n\022datatype_extension\030\007 \001(\0132$.grepti"
|
"\001(\t\022@\n\022datatype_extension\030\007 \001(\0132$.grepti"
|
||||||
"me.v1.ColumnDataTypeExtension\"\230\001\n\021AddCol"
|
"me.v1.ColumnDataTypeExtension\022+\n\007options"
|
||||||
"umnLocation\022B\n\rlocation_type\030\001 \001(\0162+.gre"
|
"\030\010 \001(\0132\032.greptime.v1.ColumnOptions\"\230\001\n\021A"
|
||||||
"ptime.v1.AddColumnLocation.LocationType\022"
|
"ddColumnLocation\022B\n\rlocation_type\030\001 \001(\0162"
|
||||||
"\031\n\021after_column_name\030\002 \001(\t\"$\n\014LocationTy"
|
"+.greptime.v1.AddColumnLocation.Location"
|
||||||
"pe\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001BL\n\016io.greptime."
|
"Type\022\031\n\021after_column_name\030\002 \001(\t\"$\n\014Locat"
|
||||||
"v1B\003DdlZ5github.com/GreptimeTeam/greptim"
|
"ionType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001BL\n\016io.grep"
|
||||||
"e-proto/go/greptime/v1b\006proto3"
|
"time.v1B\003DdlZ5github.com/GreptimeTeam/gr"
|
||||||
|
"eptime-proto/go/greptime/v1b\006proto3"
|
||||||
;
|
;
|
||||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fddl_2eproto_deps[1] = {
|
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fddl_2eproto_deps[1] = {
|
||||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||||
};
|
};
|
||||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fddl_2eproto_once;
|
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fddl_2eproto_once;
|
||||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fddl_2eproto = {
|
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fddl_2eproto = {
|
||||||
false, false, 3750, descriptor_table_protodef_greptime_2fv1_2fddl_2eproto,
|
false, false, 3795, descriptor_table_protodef_greptime_2fv1_2fddl_2eproto,
|
||||||
"greptime/v1/ddl.proto",
|
"greptime/v1/ddl.proto",
|
||||||
&descriptor_table_greptime_2fv1_2fddl_2eproto_once, descriptor_table_greptime_2fv1_2fddl_2eproto_deps, 1, 25,
|
&descriptor_table_greptime_2fv1_2fddl_2eproto_once, descriptor_table_greptime_2fv1_2fddl_2eproto_deps, 1, 25,
|
||||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fddl_2eproto::offsets,
|
schemas, file_default_instances, TableStruct_greptime_2fv1_2fddl_2eproto::offsets,
|
||||||
@@ -7803,18 +7806,29 @@ void FlowId::InternalSwap(FlowId* other) {
|
|||||||
class ColumnDef::_Internal {
|
class ColumnDef::_Internal {
|
||||||
public:
|
public:
|
||||||
static const ::greptime::v1::ColumnDataTypeExtension& datatype_extension(const ColumnDef* msg);
|
static const ::greptime::v1::ColumnDataTypeExtension& datatype_extension(const ColumnDef* msg);
|
||||||
|
static const ::greptime::v1::ColumnOptions& options(const ColumnDef* msg);
|
||||||
};
|
};
|
||||||
|
|
||||||
const ::greptime::v1::ColumnDataTypeExtension&
|
const ::greptime::v1::ColumnDataTypeExtension&
|
||||||
ColumnDef::_Internal::datatype_extension(const ColumnDef* msg) {
|
ColumnDef::_Internal::datatype_extension(const ColumnDef* msg) {
|
||||||
return *msg->_impl_.datatype_extension_;
|
return *msg->_impl_.datatype_extension_;
|
||||||
}
|
}
|
||||||
|
const ::greptime::v1::ColumnOptions&
|
||||||
|
ColumnDef::_Internal::options(const ColumnDef* msg) {
|
||||||
|
return *msg->_impl_.options_;
|
||||||
|
}
|
||||||
void ColumnDef::clear_datatype_extension() {
|
void ColumnDef::clear_datatype_extension() {
|
||||||
if (GetArenaForAllocation() == nullptr && _impl_.datatype_extension_ != nullptr) {
|
if (GetArenaForAllocation() == nullptr && _impl_.datatype_extension_ != nullptr) {
|
||||||
delete _impl_.datatype_extension_;
|
delete _impl_.datatype_extension_;
|
||||||
}
|
}
|
||||||
_impl_.datatype_extension_ = nullptr;
|
_impl_.datatype_extension_ = nullptr;
|
||||||
}
|
}
|
||||||
|
void ColumnDef::clear_options() {
|
||||||
|
if (GetArenaForAllocation() == nullptr && _impl_.options_ != nullptr) {
|
||||||
|
delete _impl_.options_;
|
||||||
|
}
|
||||||
|
_impl_.options_ = nullptr;
|
||||||
|
}
|
||||||
ColumnDef::ColumnDef(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
ColumnDef::ColumnDef(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||||
bool is_message_owned)
|
bool is_message_owned)
|
||||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||||
@@ -7829,6 +7843,7 @@ ColumnDef::ColumnDef(const ColumnDef& from)
|
|||||||
, decltype(_impl_.default_constraint_){}
|
, decltype(_impl_.default_constraint_){}
|
||||||
, decltype(_impl_.comment_){}
|
, decltype(_impl_.comment_){}
|
||||||
, decltype(_impl_.datatype_extension_){nullptr}
|
, decltype(_impl_.datatype_extension_){nullptr}
|
||||||
|
, decltype(_impl_.options_){nullptr}
|
||||||
, decltype(_impl_.data_type_){}
|
, decltype(_impl_.data_type_){}
|
||||||
, decltype(_impl_.is_nullable_){}
|
, decltype(_impl_.is_nullable_){}
|
||||||
, decltype(_impl_.semantic_type_){}
|
, decltype(_impl_.semantic_type_){}
|
||||||
@@ -7862,6 +7877,9 @@ ColumnDef::ColumnDef(const ColumnDef& from)
|
|||||||
if (from._internal_has_datatype_extension()) {
|
if (from._internal_has_datatype_extension()) {
|
||||||
_this->_impl_.datatype_extension_ = new ::greptime::v1::ColumnDataTypeExtension(*from._impl_.datatype_extension_);
|
_this->_impl_.datatype_extension_ = new ::greptime::v1::ColumnDataTypeExtension(*from._impl_.datatype_extension_);
|
||||||
}
|
}
|
||||||
|
if (from._internal_has_options()) {
|
||||||
|
_this->_impl_.options_ = new ::greptime::v1::ColumnOptions(*from._impl_.options_);
|
||||||
|
}
|
||||||
::memcpy(&_impl_.data_type_, &from._impl_.data_type_,
|
::memcpy(&_impl_.data_type_, &from._impl_.data_type_,
|
||||||
static_cast<size_t>(reinterpret_cast<char*>(&_impl_.semantic_type_) -
|
static_cast<size_t>(reinterpret_cast<char*>(&_impl_.semantic_type_) -
|
||||||
reinterpret_cast<char*>(&_impl_.data_type_)) + sizeof(_impl_.semantic_type_));
|
reinterpret_cast<char*>(&_impl_.data_type_)) + sizeof(_impl_.semantic_type_));
|
||||||
@@ -7877,6 +7895,7 @@ inline void ColumnDef::SharedCtor(
|
|||||||
, decltype(_impl_.default_constraint_){}
|
, decltype(_impl_.default_constraint_){}
|
||||||
, decltype(_impl_.comment_){}
|
, decltype(_impl_.comment_){}
|
||||||
, decltype(_impl_.datatype_extension_){nullptr}
|
, decltype(_impl_.datatype_extension_){nullptr}
|
||||||
|
, decltype(_impl_.options_){nullptr}
|
||||||
, decltype(_impl_.data_type_){0}
|
, decltype(_impl_.data_type_){0}
|
||||||
, decltype(_impl_.is_nullable_){false}
|
, decltype(_impl_.is_nullable_){false}
|
||||||
, decltype(_impl_.semantic_type_){0}
|
, decltype(_impl_.semantic_type_){0}
|
||||||
@@ -7911,6 +7930,7 @@ inline void ColumnDef::SharedDtor() {
|
|||||||
_impl_.default_constraint_.Destroy();
|
_impl_.default_constraint_.Destroy();
|
||||||
_impl_.comment_.Destroy();
|
_impl_.comment_.Destroy();
|
||||||
if (this != internal_default_instance()) delete _impl_.datatype_extension_;
|
if (this != internal_default_instance()) delete _impl_.datatype_extension_;
|
||||||
|
if (this != internal_default_instance()) delete _impl_.options_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ColumnDef::SetCachedSize(int size) const {
|
void ColumnDef::SetCachedSize(int size) const {
|
||||||
@@ -7930,6 +7950,10 @@ void ColumnDef::Clear() {
|
|||||||
delete _impl_.datatype_extension_;
|
delete _impl_.datatype_extension_;
|
||||||
}
|
}
|
||||||
_impl_.datatype_extension_ = nullptr;
|
_impl_.datatype_extension_ = nullptr;
|
||||||
|
if (GetArenaForAllocation() == nullptr && _impl_.options_ != nullptr) {
|
||||||
|
delete _impl_.options_;
|
||||||
|
}
|
||||||
|
_impl_.options_ = nullptr;
|
||||||
::memset(&_impl_.data_type_, 0, static_cast<size_t>(
|
::memset(&_impl_.data_type_, 0, static_cast<size_t>(
|
||||||
reinterpret_cast<char*>(&_impl_.semantic_type_) -
|
reinterpret_cast<char*>(&_impl_.semantic_type_) -
|
||||||
reinterpret_cast<char*>(&_impl_.data_type_)) + sizeof(_impl_.semantic_type_));
|
reinterpret_cast<char*>(&_impl_.data_type_)) + sizeof(_impl_.semantic_type_));
|
||||||
@@ -8005,6 +8029,14 @@ const char* ColumnDef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx
|
|||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
continue;
|
continue;
|
||||||
|
// .greptime.v1.ColumnOptions options = 8;
|
||||||
|
case 8:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
|
||||||
|
ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
|
||||||
|
CHK_(ptr);
|
||||||
|
} else
|
||||||
|
goto handle_unusual;
|
||||||
|
continue;
|
||||||
default:
|
default:
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
} // switch
|
} // switch
|
||||||
@@ -8087,6 +8119,13 @@ uint8_t* ColumnDef::_InternalSerialize(
|
|||||||
_Internal::datatype_extension(this).GetCachedSize(), target, stream);
|
_Internal::datatype_extension(this).GetCachedSize(), target, stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.ColumnOptions options = 8;
|
||||||
|
if (this->_internal_has_options()) {
|
||||||
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
|
InternalWriteMessage(8, _Internal::options(this),
|
||||||
|
_Internal::options(this).GetCachedSize(), target, stream);
|
||||||
|
}
|
||||||
|
|
||||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||||
@@ -8131,6 +8170,13 @@ size_t ColumnDef::ByteSizeLong() const {
|
|||||||
*_impl_.datatype_extension_);
|
*_impl_.datatype_extension_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.ColumnOptions options = 8;
|
||||||
|
if (this->_internal_has_options()) {
|
||||||
|
total_size += 1 +
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||||
|
*_impl_.options_);
|
||||||
|
}
|
||||||
|
|
||||||
// .greptime.v1.ColumnDataType data_type = 2;
|
// .greptime.v1.ColumnDataType data_type = 2;
|
||||||
if (this->_internal_data_type() != 0) {
|
if (this->_internal_data_type() != 0) {
|
||||||
total_size += 1 +
|
total_size += 1 +
|
||||||
@@ -8179,6 +8225,10 @@ void ColumnDef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROT
|
|||||||
_this->_internal_mutable_datatype_extension()->::greptime::v1::ColumnDataTypeExtension::MergeFrom(
|
_this->_internal_mutable_datatype_extension()->::greptime::v1::ColumnDataTypeExtension::MergeFrom(
|
||||||
from._internal_datatype_extension());
|
from._internal_datatype_extension());
|
||||||
}
|
}
|
||||||
|
if (from._internal_has_options()) {
|
||||||
|
_this->_internal_mutable_options()->::greptime::v1::ColumnOptions::MergeFrom(
|
||||||
|
from._internal_options());
|
||||||
|
}
|
||||||
if (from._internal_data_type() != 0) {
|
if (from._internal_data_type() != 0) {
|
||||||
_this->_internal_set_data_type(from._internal_data_type());
|
_this->_internal_set_data_type(from._internal_data_type());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4577,6 +4577,7 @@ class ColumnDef final :
|
|||||||
kDefaultConstraintFieldNumber = 4,
|
kDefaultConstraintFieldNumber = 4,
|
||||||
kCommentFieldNumber = 6,
|
kCommentFieldNumber = 6,
|
||||||
kDatatypeExtensionFieldNumber = 7,
|
kDatatypeExtensionFieldNumber = 7,
|
||||||
|
kOptionsFieldNumber = 8,
|
||||||
kDataTypeFieldNumber = 2,
|
kDataTypeFieldNumber = 2,
|
||||||
kIsNullableFieldNumber = 3,
|
kIsNullableFieldNumber = 3,
|
||||||
kSemanticTypeFieldNumber = 5,
|
kSemanticTypeFieldNumber = 5,
|
||||||
@@ -4641,6 +4642,24 @@ class ColumnDef final :
|
|||||||
::greptime::v1::ColumnDataTypeExtension* datatype_extension);
|
::greptime::v1::ColumnDataTypeExtension* datatype_extension);
|
||||||
::greptime::v1::ColumnDataTypeExtension* unsafe_arena_release_datatype_extension();
|
::greptime::v1::ColumnDataTypeExtension* unsafe_arena_release_datatype_extension();
|
||||||
|
|
||||||
|
// .greptime.v1.ColumnOptions options = 8;
|
||||||
|
bool has_options() const;
|
||||||
|
private:
|
||||||
|
bool _internal_has_options() const;
|
||||||
|
public:
|
||||||
|
void clear_options();
|
||||||
|
const ::greptime::v1::ColumnOptions& options() const;
|
||||||
|
PROTOBUF_NODISCARD ::greptime::v1::ColumnOptions* release_options();
|
||||||
|
::greptime::v1::ColumnOptions* mutable_options();
|
||||||
|
void set_allocated_options(::greptime::v1::ColumnOptions* options);
|
||||||
|
private:
|
||||||
|
const ::greptime::v1::ColumnOptions& _internal_options() const;
|
||||||
|
::greptime::v1::ColumnOptions* _internal_mutable_options();
|
||||||
|
public:
|
||||||
|
void unsafe_arena_set_allocated_options(
|
||||||
|
::greptime::v1::ColumnOptions* options);
|
||||||
|
::greptime::v1::ColumnOptions* unsafe_arena_release_options();
|
||||||
|
|
||||||
// .greptime.v1.ColumnDataType data_type = 2;
|
// .greptime.v1.ColumnDataType data_type = 2;
|
||||||
void clear_data_type();
|
void clear_data_type();
|
||||||
::greptime::v1::ColumnDataType data_type() const;
|
::greptime::v1::ColumnDataType data_type() const;
|
||||||
@@ -4680,6 +4699,7 @@ class ColumnDef final :
|
|||||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr default_constraint_;
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr default_constraint_;
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
|
||||||
::greptime::v1::ColumnDataTypeExtension* datatype_extension_;
|
::greptime::v1::ColumnDataTypeExtension* datatype_extension_;
|
||||||
|
::greptime::v1::ColumnOptions* options_;
|
||||||
int data_type_;
|
int data_type_;
|
||||||
bool is_nullable_;
|
bool is_nullable_;
|
||||||
int semantic_type_;
|
int semantic_type_;
|
||||||
@@ -9545,6 +9565,91 @@ inline void ColumnDef::set_allocated_datatype_extension(::greptime::v1::ColumnDa
|
|||||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.ColumnDef.datatype_extension)
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.ColumnDef.datatype_extension)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.ColumnOptions options = 8;
|
||||||
|
inline bool ColumnDef::_internal_has_options() const {
|
||||||
|
return this != internal_default_instance() && _impl_.options_ != nullptr;
|
||||||
|
}
|
||||||
|
inline bool ColumnDef::has_options() const {
|
||||||
|
return _internal_has_options();
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::ColumnOptions& ColumnDef::_internal_options() const {
|
||||||
|
const ::greptime::v1::ColumnOptions* p = _impl_.options_;
|
||||||
|
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::ColumnOptions&>(
|
||||||
|
::greptime::v1::_ColumnOptions_default_instance_);
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::ColumnOptions& ColumnDef::options() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.ColumnDef.options)
|
||||||
|
return _internal_options();
|
||||||
|
}
|
||||||
|
inline void ColumnDef::unsafe_arena_set_allocated_options(
|
||||||
|
::greptime::v1::ColumnOptions* options) {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_);
|
||||||
|
}
|
||||||
|
_impl_.options_ = options;
|
||||||
|
if (options) {
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.ColumnDef.options)
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::ColumnOptions* ColumnDef::release_options() {
|
||||||
|
|
||||||
|
::greptime::v1::ColumnOptions* temp = _impl_.options_;
|
||||||
|
_impl_.options_ = nullptr;
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||||
|
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
||||||
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
|
if (GetArenaForAllocation() == nullptr) { delete old; }
|
||||||
|
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||||
|
if (GetArenaForAllocation() != nullptr) {
|
||||||
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
|
}
|
||||||
|
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||||
|
return temp;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::ColumnOptions* ColumnDef::unsafe_arena_release_options() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.ColumnDef.options)
|
||||||
|
|
||||||
|
::greptime::v1::ColumnOptions* temp = _impl_.options_;
|
||||||
|
_impl_.options_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::ColumnOptions* ColumnDef::_internal_mutable_options() {
|
||||||
|
|
||||||
|
if (_impl_.options_ == nullptr) {
|
||||||
|
auto* p = CreateMaybeMessage<::greptime::v1::ColumnOptions>(GetArenaForAllocation());
|
||||||
|
_impl_.options_ = p;
|
||||||
|
}
|
||||||
|
return _impl_.options_;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::ColumnOptions* ColumnDef::mutable_options() {
|
||||||
|
::greptime::v1::ColumnOptions* _msg = _internal_mutable_options();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.ColumnDef.options)
|
||||||
|
return _msg;
|
||||||
|
}
|
||||||
|
inline void ColumnDef::set_allocated_options(::greptime::v1::ColumnOptions* options) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||||
|
if (message_arena == nullptr) {
|
||||||
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_);
|
||||||
|
}
|
||||||
|
if (options) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
|
||||||
|
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options));
|
||||||
|
if (message_arena != submessage_arena) {
|
||||||
|
options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||||
|
message_arena, options, submessage_arena);
|
||||||
|
}
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
_impl_.options_ = options;
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.ColumnDef.options)
|
||||||
|
}
|
||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
// AddColumnLocation
|
// AddColumnLocation
|
||||||
|
|||||||
+79
-29
@@ -40,6 +40,7 @@ PROTOBUF_CONSTEXPR ColumnSchema::ColumnSchema(
|
|||||||
::_pbi::ConstantInitialized): _impl_{
|
::_pbi::ConstantInitialized): _impl_{
|
||||||
/*decltype(_impl_.column_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
/*decltype(_impl_.column_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||||
, /*decltype(_impl_.datatype_extension_)*/nullptr
|
, /*decltype(_impl_.datatype_extension_)*/nullptr
|
||||||
|
, /*decltype(_impl_.options_)*/nullptr
|
||||||
, /*decltype(_impl_.datatype_)*/0
|
, /*decltype(_impl_.datatype_)*/0
|
||||||
, /*decltype(_impl_.semantic_type_)*/0
|
, /*decltype(_impl_.semantic_type_)*/0
|
||||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||||
@@ -104,6 +105,7 @@ const uint32_t TableStruct_greptime_2fv1_2frow_2eproto::offsets[] PROTOBUF_SECTI
|
|||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnSchema, _impl_.datatype_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnSchema, _impl_.datatype_),
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnSchema, _impl_.semantic_type_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnSchema, _impl_.semantic_type_),
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnSchema, _impl_.datatype_extension_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnSchema, _impl_.datatype_extension_),
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnSchema, _impl_.options_),
|
||||||
~0u, // no _has_bits_
|
~0u, // no _has_bits_
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Row, _internal_metadata_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::Row, _internal_metadata_),
|
||||||
~0u, // no _extensions_
|
~0u, // no _extensions_
|
||||||
@@ -149,8 +151,8 @@ const uint32_t TableStruct_greptime_2fv1_2frow_2eproto::offsets[] PROTOBUF_SECTI
|
|||||||
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||||||
{ 0, -1, -1, sizeof(::greptime::v1::Rows)},
|
{ 0, -1, -1, sizeof(::greptime::v1::Rows)},
|
||||||
{ 8, -1, -1, sizeof(::greptime::v1::ColumnSchema)},
|
{ 8, -1, -1, sizeof(::greptime::v1::ColumnSchema)},
|
||||||
{ 18, -1, -1, sizeof(::greptime::v1::Row)},
|
{ 19, -1, -1, sizeof(::greptime::v1::Row)},
|
||||||
{ 25, -1, -1, sizeof(::greptime::v1::Value)},
|
{ 26, -1, -1, sizeof(::greptime::v1::Value)},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const ::_pb::Message* const file_default_instances[] = {
|
static const ::_pb::Message* const file_default_instances[] = {
|
||||||
@@ -164,43 +166,44 @@ const char descriptor_table_protodef_greptime_2fv1_2frow_2eproto[] PROTOBUF_SECT
|
|||||||
"\n\025greptime/v1/row.proto\022\013greptime.v1\032\030gr"
|
"\n\025greptime/v1/row.proto\022\013greptime.v1\032\030gr"
|
||||||
"eptime/v1/common.proto\"Q\n\004Rows\022)\n\006schema"
|
"eptime/v1/common.proto\"Q\n\004Rows\022)\n\006schema"
|
||||||
"\030\001 \003(\0132\031.greptime.v1.ColumnSchema\022\036\n\004row"
|
"\030\001 \003(\0132\031.greptime.v1.ColumnSchema\022\036\n\004row"
|
||||||
"s\030\002 \003(\0132\020.greptime.v1.Row\"\306\001\n\014ColumnSche"
|
"s\030\002 \003(\0132\020.greptime.v1.Row\"\363\001\n\014ColumnSche"
|
||||||
"ma\022\023\n\013column_name\030\001 \001(\t\022-\n\010datatype\030\002 \001("
|
"ma\022\023\n\013column_name\030\001 \001(\t\022-\n\010datatype\030\002 \001("
|
||||||
"\0162\033.greptime.v1.ColumnDataType\0220\n\rsemant"
|
"\0162\033.greptime.v1.ColumnDataType\0220\n\rsemant"
|
||||||
"ic_type\030\003 \001(\0162\031.greptime.v1.SemanticType"
|
"ic_type\030\003 \001(\0162\031.greptime.v1.SemanticType"
|
||||||
"\022@\n\022datatype_extension\030\004 \001(\0132$.greptime."
|
"\022@\n\022datatype_extension\030\004 \001(\0132$.greptime."
|
||||||
"v1.ColumnDataTypeExtension\")\n\003Row\022\"\n\006val"
|
"v1.ColumnDataTypeExtension\022+\n\007options\030\005 "
|
||||||
"ues\030\001 \003(\0132\022.greptime.v1.Value\"\274\006\n\005Value\022"
|
"\001(\0132\032.greptime.v1.ColumnOptions\")\n\003Row\022\""
|
||||||
"\022\n\010i8_value\030\001 \001(\005H\000\022\023\n\ti16_value\030\002 \001(\005H\000"
|
"\n\006values\030\001 \003(\0132\022.greptime.v1.Value\"\274\006\n\005V"
|
||||||
"\022\023\n\ti32_value\030\003 \001(\005H\000\022\023\n\ti64_value\030\004 \001(\003"
|
"alue\022\022\n\010i8_value\030\001 \001(\005H\000\022\023\n\ti16_value\030\002 "
|
||||||
"H\000\022\022\n\010u8_value\030\005 \001(\rH\000\022\023\n\tu16_value\030\006 \001("
|
"\001(\005H\000\022\023\n\ti32_value\030\003 \001(\005H\000\022\023\n\ti64_value\030"
|
||||||
"\rH\000\022\023\n\tu32_value\030\007 \001(\rH\000\022\023\n\tu64_value\030\010 "
|
"\004 \001(\003H\000\022\022\n\010u8_value\030\005 \001(\rH\000\022\023\n\tu16_value"
|
||||||
"\001(\004H\000\022\023\n\tf32_value\030\t \001(\002H\000\022\023\n\tf64_value\030"
|
"\030\006 \001(\rH\000\022\023\n\tu32_value\030\007 \001(\rH\000\022\023\n\tu64_val"
|
||||||
"\n \001(\001H\000\022\024\n\nbool_value\030\013 \001(\010H\000\022\026\n\014binary_"
|
"ue\030\010 \001(\004H\000\022\023\n\tf32_value\030\t \001(\002H\000\022\023\n\tf64_v"
|
||||||
"value\030\014 \001(\014H\000\022\026\n\014string_value\030\r \001(\tH\000\022\024\n"
|
"alue\030\n \001(\001H\000\022\024\n\nbool_value\030\013 \001(\010H\000\022\026\n\014bi"
|
||||||
"\ndate_value\030\016 \001(\005H\000\022\030\n\016datetime_value\030\017 "
|
"nary_value\030\014 \001(\014H\000\022\026\n\014string_value\030\r \001(\t"
|
||||||
"\001(\003H\000\022 \n\026timestamp_second_value\030\020 \001(\003H\000\022"
|
"H\000\022\024\n\ndate_value\030\016 \001(\005H\000\022\030\n\016datetime_val"
|
||||||
"%\n\033timestamp_millisecond_value\030\021 \001(\003H\000\022%"
|
"ue\030\017 \001(\003H\000\022 \n\026timestamp_second_value\030\020 \001"
|
||||||
"\n\033timestamp_microsecond_value\030\022 \001(\003H\000\022$\n"
|
"(\003H\000\022%\n\033timestamp_millisecond_value\030\021 \001("
|
||||||
"\032timestamp_nanosecond_value\030\023 \001(\003H\000\022\033\n\021t"
|
"\003H\000\022%\n\033timestamp_microsecond_value\030\022 \001(\003"
|
||||||
"ime_second_value\030\024 \001(\003H\000\022 \n\026time_millise"
|
"H\000\022$\n\032timestamp_nanosecond_value\030\023 \001(\003H\000"
|
||||||
"cond_value\030\025 \001(\003H\000\022 \n\026time_microsecond_v"
|
"\022\033\n\021time_second_value\030\024 \001(\003H\000\022 \n\026time_mi"
|
||||||
"alue\030\026 \001(\003H\000\022\037\n\025time_nanosecond_value\030\027 "
|
"llisecond_value\030\025 \001(\003H\000\022 \n\026time_microsec"
|
||||||
"\001(\003H\000\022#\n\031interval_year_month_value\030\030 \001(\005"
|
"ond_value\030\026 \001(\003H\000\022\037\n\025time_nanosecond_val"
|
||||||
"H\000\022!\n\027interval_day_time_value\030\031 \001(\003H\000\022J\n"
|
"ue\030\027 \001(\003H\000\022#\n\031interval_year_month_value\030"
|
||||||
"\035interval_month_day_nano_value\030\032 \001(\0132!.g"
|
"\030 \001(\005H\000\022!\n\027interval_day_time_value\030\031 \001(\003"
|
||||||
"reptime.v1.IntervalMonthDayNanoH\000\0223\n\020dec"
|
"H\000\022J\n\035interval_month_day_nano_value\030\032 \001("
|
||||||
"imal128_value\030\037 \001(\0132\027.greptime.v1.Decima"
|
"\0132!.greptime.v1.IntervalMonthDayNanoH\000\0223"
|
||||||
"l128H\000B\014\n\nvalue_dataBP\n\016io.greptime.v1B\007"
|
"\n\020decimal128_value\030\037 \001(\0132\027.greptime.v1.D"
|
||||||
"RowDataZ5github.com/GreptimeTeam/greptim"
|
"ecimal128H\000B\014\n\nvalue_dataBP\n\016io.greptime"
|
||||||
"e-proto/go/greptime/v1b\006proto3"
|
".v1B\007RowDataZ5github.com/GreptimeTeam/gr"
|
||||||
|
"eptime-proto/go/greptime/v1b\006proto3"
|
||||||
;
|
;
|
||||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2frow_2eproto_deps[1] = {
|
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2frow_2eproto_deps[1] = {
|
||||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||||
};
|
};
|
||||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2frow_2eproto_once;
|
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2frow_2eproto_once;
|
||||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2frow_2eproto = {
|
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2frow_2eproto = {
|
||||||
false, false, 1310, descriptor_table_protodef_greptime_2fv1_2frow_2eproto,
|
false, false, 1355, descriptor_table_protodef_greptime_2fv1_2frow_2eproto,
|
||||||
"greptime/v1/row.proto",
|
"greptime/v1/row.proto",
|
||||||
&descriptor_table_greptime_2fv1_2frow_2eproto_once, descriptor_table_greptime_2fv1_2frow_2eproto_deps, 1, 4,
|
&descriptor_table_greptime_2fv1_2frow_2eproto_once, descriptor_table_greptime_2fv1_2frow_2eproto_deps, 1, 4,
|
||||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2frow_2eproto::offsets,
|
schemas, file_default_instances, TableStruct_greptime_2fv1_2frow_2eproto::offsets,
|
||||||
@@ -440,18 +443,29 @@ void Rows::InternalSwap(Rows* other) {
|
|||||||
class ColumnSchema::_Internal {
|
class ColumnSchema::_Internal {
|
||||||
public:
|
public:
|
||||||
static const ::greptime::v1::ColumnDataTypeExtension& datatype_extension(const ColumnSchema* msg);
|
static const ::greptime::v1::ColumnDataTypeExtension& datatype_extension(const ColumnSchema* msg);
|
||||||
|
static const ::greptime::v1::ColumnOptions& options(const ColumnSchema* msg);
|
||||||
};
|
};
|
||||||
|
|
||||||
const ::greptime::v1::ColumnDataTypeExtension&
|
const ::greptime::v1::ColumnDataTypeExtension&
|
||||||
ColumnSchema::_Internal::datatype_extension(const ColumnSchema* msg) {
|
ColumnSchema::_Internal::datatype_extension(const ColumnSchema* msg) {
|
||||||
return *msg->_impl_.datatype_extension_;
|
return *msg->_impl_.datatype_extension_;
|
||||||
}
|
}
|
||||||
|
const ::greptime::v1::ColumnOptions&
|
||||||
|
ColumnSchema::_Internal::options(const ColumnSchema* msg) {
|
||||||
|
return *msg->_impl_.options_;
|
||||||
|
}
|
||||||
void ColumnSchema::clear_datatype_extension() {
|
void ColumnSchema::clear_datatype_extension() {
|
||||||
if (GetArenaForAllocation() == nullptr && _impl_.datatype_extension_ != nullptr) {
|
if (GetArenaForAllocation() == nullptr && _impl_.datatype_extension_ != nullptr) {
|
||||||
delete _impl_.datatype_extension_;
|
delete _impl_.datatype_extension_;
|
||||||
}
|
}
|
||||||
_impl_.datatype_extension_ = nullptr;
|
_impl_.datatype_extension_ = nullptr;
|
||||||
}
|
}
|
||||||
|
void ColumnSchema::clear_options() {
|
||||||
|
if (GetArenaForAllocation() == nullptr && _impl_.options_ != nullptr) {
|
||||||
|
delete _impl_.options_;
|
||||||
|
}
|
||||||
|
_impl_.options_ = nullptr;
|
||||||
|
}
|
||||||
ColumnSchema::ColumnSchema(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
ColumnSchema::ColumnSchema(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||||
bool is_message_owned)
|
bool is_message_owned)
|
||||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||||
@@ -464,6 +478,7 @@ ColumnSchema::ColumnSchema(const ColumnSchema& from)
|
|||||||
new (&_impl_) Impl_{
|
new (&_impl_) Impl_{
|
||||||
decltype(_impl_.column_name_){}
|
decltype(_impl_.column_name_){}
|
||||||
, decltype(_impl_.datatype_extension_){nullptr}
|
, decltype(_impl_.datatype_extension_){nullptr}
|
||||||
|
, decltype(_impl_.options_){nullptr}
|
||||||
, decltype(_impl_.datatype_){}
|
, decltype(_impl_.datatype_){}
|
||||||
, decltype(_impl_.semantic_type_){}
|
, decltype(_impl_.semantic_type_){}
|
||||||
, /*decltype(_impl_._cached_size_)*/{}};
|
, /*decltype(_impl_._cached_size_)*/{}};
|
||||||
@@ -480,6 +495,9 @@ ColumnSchema::ColumnSchema(const ColumnSchema& from)
|
|||||||
if (from._internal_has_datatype_extension()) {
|
if (from._internal_has_datatype_extension()) {
|
||||||
_this->_impl_.datatype_extension_ = new ::greptime::v1::ColumnDataTypeExtension(*from._impl_.datatype_extension_);
|
_this->_impl_.datatype_extension_ = new ::greptime::v1::ColumnDataTypeExtension(*from._impl_.datatype_extension_);
|
||||||
}
|
}
|
||||||
|
if (from._internal_has_options()) {
|
||||||
|
_this->_impl_.options_ = new ::greptime::v1::ColumnOptions(*from._impl_.options_);
|
||||||
|
}
|
||||||
::memcpy(&_impl_.datatype_, &from._impl_.datatype_,
|
::memcpy(&_impl_.datatype_, &from._impl_.datatype_,
|
||||||
static_cast<size_t>(reinterpret_cast<char*>(&_impl_.semantic_type_) -
|
static_cast<size_t>(reinterpret_cast<char*>(&_impl_.semantic_type_) -
|
||||||
reinterpret_cast<char*>(&_impl_.datatype_)) + sizeof(_impl_.semantic_type_));
|
reinterpret_cast<char*>(&_impl_.datatype_)) + sizeof(_impl_.semantic_type_));
|
||||||
@@ -493,6 +511,7 @@ inline void ColumnSchema::SharedCtor(
|
|||||||
new (&_impl_) Impl_{
|
new (&_impl_) Impl_{
|
||||||
decltype(_impl_.column_name_){}
|
decltype(_impl_.column_name_){}
|
||||||
, decltype(_impl_.datatype_extension_){nullptr}
|
, decltype(_impl_.datatype_extension_){nullptr}
|
||||||
|
, decltype(_impl_.options_){nullptr}
|
||||||
, decltype(_impl_.datatype_){0}
|
, decltype(_impl_.datatype_){0}
|
||||||
, decltype(_impl_.semantic_type_){0}
|
, decltype(_impl_.semantic_type_){0}
|
||||||
, /*decltype(_impl_._cached_size_)*/{}
|
, /*decltype(_impl_._cached_size_)*/{}
|
||||||
@@ -516,6 +535,7 @@ inline void ColumnSchema::SharedDtor() {
|
|||||||
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||||
_impl_.column_name_.Destroy();
|
_impl_.column_name_.Destroy();
|
||||||
if (this != internal_default_instance()) delete _impl_.datatype_extension_;
|
if (this != internal_default_instance()) delete _impl_.datatype_extension_;
|
||||||
|
if (this != internal_default_instance()) delete _impl_.options_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ColumnSchema::SetCachedSize(int size) const {
|
void ColumnSchema::SetCachedSize(int size) const {
|
||||||
@@ -533,6 +553,10 @@ void ColumnSchema::Clear() {
|
|||||||
delete _impl_.datatype_extension_;
|
delete _impl_.datatype_extension_;
|
||||||
}
|
}
|
||||||
_impl_.datatype_extension_ = nullptr;
|
_impl_.datatype_extension_ = nullptr;
|
||||||
|
if (GetArenaForAllocation() == nullptr && _impl_.options_ != nullptr) {
|
||||||
|
delete _impl_.options_;
|
||||||
|
}
|
||||||
|
_impl_.options_ = nullptr;
|
||||||
::memset(&_impl_.datatype_, 0, static_cast<size_t>(
|
::memset(&_impl_.datatype_, 0, static_cast<size_t>(
|
||||||
reinterpret_cast<char*>(&_impl_.semantic_type_) -
|
reinterpret_cast<char*>(&_impl_.semantic_type_) -
|
||||||
reinterpret_cast<char*>(&_impl_.datatype_)) + sizeof(_impl_.semantic_type_));
|
reinterpret_cast<char*>(&_impl_.datatype_)) + sizeof(_impl_.semantic_type_));
|
||||||
@@ -581,6 +605,14 @@ const char* ColumnSchema::_InternalParse(const char* ptr, ::_pbi::ParseContext*
|
|||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
continue;
|
continue;
|
||||||
|
// .greptime.v1.ColumnOptions options = 5;
|
||||||
|
case 5:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
|
||||||
|
ptr = ctx->ParseMessage(_internal_mutable_options(), ptr);
|
||||||
|
CHK_(ptr);
|
||||||
|
} else
|
||||||
|
goto handle_unusual;
|
||||||
|
continue;
|
||||||
default:
|
default:
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
} // switch
|
} // switch
|
||||||
@@ -641,6 +673,13 @@ uint8_t* ColumnSchema::_InternalSerialize(
|
|||||||
_Internal::datatype_extension(this).GetCachedSize(), target, stream);
|
_Internal::datatype_extension(this).GetCachedSize(), target, stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.ColumnOptions options = 5;
|
||||||
|
if (this->_internal_has_options()) {
|
||||||
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
|
InternalWriteMessage(5, _Internal::options(this),
|
||||||
|
_Internal::options(this).GetCachedSize(), target, stream);
|
||||||
|
}
|
||||||
|
|
||||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||||
@@ -671,6 +710,13 @@ size_t ColumnSchema::ByteSizeLong() const {
|
|||||||
*_impl_.datatype_extension_);
|
*_impl_.datatype_extension_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.ColumnOptions options = 5;
|
||||||
|
if (this->_internal_has_options()) {
|
||||||
|
total_size += 1 +
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||||
|
*_impl_.options_);
|
||||||
|
}
|
||||||
|
|
||||||
// .greptime.v1.ColumnDataType datatype = 2;
|
// .greptime.v1.ColumnDataType datatype = 2;
|
||||||
if (this->_internal_datatype() != 0) {
|
if (this->_internal_datatype() != 0) {
|
||||||
total_size += 1 +
|
total_size += 1 +
|
||||||
@@ -708,6 +754,10 @@ void ColumnSchema::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::P
|
|||||||
_this->_internal_mutable_datatype_extension()->::greptime::v1::ColumnDataTypeExtension::MergeFrom(
|
_this->_internal_mutable_datatype_extension()->::greptime::v1::ColumnDataTypeExtension::MergeFrom(
|
||||||
from._internal_datatype_extension());
|
from._internal_datatype_extension());
|
||||||
}
|
}
|
||||||
|
if (from._internal_has_options()) {
|
||||||
|
_this->_internal_mutable_options()->::greptime::v1::ColumnOptions::MergeFrom(
|
||||||
|
from._internal_options());
|
||||||
|
}
|
||||||
if (from._internal_datatype() != 0) {
|
if (from._internal_datatype() != 0) {
|
||||||
_this->_internal_set_datatype(from._internal_datatype());
|
_this->_internal_set_datatype(from._internal_datatype());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -372,6 +372,7 @@ class ColumnSchema final :
|
|||||||
enum : int {
|
enum : int {
|
||||||
kColumnNameFieldNumber = 1,
|
kColumnNameFieldNumber = 1,
|
||||||
kDatatypeExtensionFieldNumber = 4,
|
kDatatypeExtensionFieldNumber = 4,
|
||||||
|
kOptionsFieldNumber = 5,
|
||||||
kDatatypeFieldNumber = 2,
|
kDatatypeFieldNumber = 2,
|
||||||
kSemanticTypeFieldNumber = 3,
|
kSemanticTypeFieldNumber = 3,
|
||||||
};
|
};
|
||||||
@@ -407,6 +408,24 @@ class ColumnSchema final :
|
|||||||
::greptime::v1::ColumnDataTypeExtension* datatype_extension);
|
::greptime::v1::ColumnDataTypeExtension* datatype_extension);
|
||||||
::greptime::v1::ColumnDataTypeExtension* unsafe_arena_release_datatype_extension();
|
::greptime::v1::ColumnDataTypeExtension* unsafe_arena_release_datatype_extension();
|
||||||
|
|
||||||
|
// .greptime.v1.ColumnOptions options = 5;
|
||||||
|
bool has_options() const;
|
||||||
|
private:
|
||||||
|
bool _internal_has_options() const;
|
||||||
|
public:
|
||||||
|
void clear_options();
|
||||||
|
const ::greptime::v1::ColumnOptions& options() const;
|
||||||
|
PROTOBUF_NODISCARD ::greptime::v1::ColumnOptions* release_options();
|
||||||
|
::greptime::v1::ColumnOptions* mutable_options();
|
||||||
|
void set_allocated_options(::greptime::v1::ColumnOptions* options);
|
||||||
|
private:
|
||||||
|
const ::greptime::v1::ColumnOptions& _internal_options() const;
|
||||||
|
::greptime::v1::ColumnOptions* _internal_mutable_options();
|
||||||
|
public:
|
||||||
|
void unsafe_arena_set_allocated_options(
|
||||||
|
::greptime::v1::ColumnOptions* options);
|
||||||
|
::greptime::v1::ColumnOptions* unsafe_arena_release_options();
|
||||||
|
|
||||||
// .greptime.v1.ColumnDataType datatype = 2;
|
// .greptime.v1.ColumnDataType datatype = 2;
|
||||||
void clear_datatype();
|
void clear_datatype();
|
||||||
::greptime::v1::ColumnDataType datatype() const;
|
::greptime::v1::ColumnDataType datatype() const;
|
||||||
@@ -435,6 +454,7 @@ class ColumnSchema final :
|
|||||||
struct Impl_ {
|
struct Impl_ {
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr column_name_;
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr column_name_;
|
||||||
::greptime::v1::ColumnDataTypeExtension* datatype_extension_;
|
::greptime::v1::ColumnDataTypeExtension* datatype_extension_;
|
||||||
|
::greptime::v1::ColumnOptions* options_;
|
||||||
int datatype_;
|
int datatype_;
|
||||||
int semantic_type_;
|
int semantic_type_;
|
||||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
@@ -1500,6 +1520,91 @@ inline void ColumnSchema::set_allocated_datatype_extension(::greptime::v1::Colum
|
|||||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.ColumnSchema.datatype_extension)
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.ColumnSchema.datatype_extension)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.ColumnOptions options = 5;
|
||||||
|
inline bool ColumnSchema::_internal_has_options() const {
|
||||||
|
return this != internal_default_instance() && _impl_.options_ != nullptr;
|
||||||
|
}
|
||||||
|
inline bool ColumnSchema::has_options() const {
|
||||||
|
return _internal_has_options();
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::ColumnOptions& ColumnSchema::_internal_options() const {
|
||||||
|
const ::greptime::v1::ColumnOptions* p = _impl_.options_;
|
||||||
|
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::ColumnOptions&>(
|
||||||
|
::greptime::v1::_ColumnOptions_default_instance_);
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::ColumnOptions& ColumnSchema::options() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.ColumnSchema.options)
|
||||||
|
return _internal_options();
|
||||||
|
}
|
||||||
|
inline void ColumnSchema::unsafe_arena_set_allocated_options(
|
||||||
|
::greptime::v1::ColumnOptions* options) {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_);
|
||||||
|
}
|
||||||
|
_impl_.options_ = options;
|
||||||
|
if (options) {
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.ColumnSchema.options)
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::ColumnOptions* ColumnSchema::release_options() {
|
||||||
|
|
||||||
|
::greptime::v1::ColumnOptions* temp = _impl_.options_;
|
||||||
|
_impl_.options_ = nullptr;
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||||
|
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
||||||
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
|
if (GetArenaForAllocation() == nullptr) { delete old; }
|
||||||
|
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||||
|
if (GetArenaForAllocation() != nullptr) {
|
||||||
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
|
}
|
||||||
|
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||||
|
return temp;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::ColumnOptions* ColumnSchema::unsafe_arena_release_options() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.ColumnSchema.options)
|
||||||
|
|
||||||
|
::greptime::v1::ColumnOptions* temp = _impl_.options_;
|
||||||
|
_impl_.options_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::ColumnOptions* ColumnSchema::_internal_mutable_options() {
|
||||||
|
|
||||||
|
if (_impl_.options_ == nullptr) {
|
||||||
|
auto* p = CreateMaybeMessage<::greptime::v1::ColumnOptions>(GetArenaForAllocation());
|
||||||
|
_impl_.options_ = p;
|
||||||
|
}
|
||||||
|
return _impl_.options_;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::ColumnOptions* ColumnSchema::mutable_options() {
|
||||||
|
::greptime::v1::ColumnOptions* _msg = _internal_mutable_options();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.ColumnSchema.options)
|
||||||
|
return _msg;
|
||||||
|
}
|
||||||
|
inline void ColumnSchema::set_allocated_options(::greptime::v1::ColumnOptions* options) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||||
|
if (message_arena == nullptr) {
|
||||||
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_);
|
||||||
|
}
|
||||||
|
if (options) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
|
||||||
|
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options));
|
||||||
|
if (message_arena != submessage_arena) {
|
||||||
|
options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||||
|
message_arena, options, submessage_arena);
|
||||||
|
}
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
_impl_.options_ = options;
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.ColumnSchema.options)
|
||||||
|
}
|
||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
// Row
|
// Row
|
||||||
|
|||||||
+110
-95
@@ -60,6 +60,8 @@ type Column struct {
|
|||||||
Datatype ColumnDataType `protobuf:"varint,5,opt,name=datatype,proto3,enum=greptime.v1.ColumnDataType" json:"datatype,omitempty"`
|
Datatype ColumnDataType `protobuf:"varint,5,opt,name=datatype,proto3,enum=greptime.v1.ColumnDataType" json:"datatype,omitempty"`
|
||||||
// Extension for ColumnDataType.
|
// Extension for ColumnDataType.
|
||||||
DatatypeExtension *ColumnDataTypeExtension `protobuf:"bytes,6,opt,name=datatype_extension,json=datatypeExtension,proto3" json:"datatype_extension,omitempty"`
|
DatatypeExtension *ColumnDataTypeExtension `protobuf:"bytes,6,opt,name=datatype_extension,json=datatypeExtension,proto3" json:"datatype_extension,omitempty"`
|
||||||
|
// Additional column options.
|
||||||
|
Options *ColumnOptions `protobuf:"bytes,7,opt,name=options,proto3" json:"options,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Column) Reset() {
|
func (x *Column) Reset() {
|
||||||
@@ -136,6 +138,13 @@ func (x *Column) GetDatatypeExtension() *ColumnDataTypeExtension {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *Column) GetOptions() *ColumnOptions {
|
||||||
|
if x != nil {
|
||||||
|
return x.Options
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
type Column_Values struct {
|
type Column_Values struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -398,7 +407,7 @@ var file_greptime_v1_column_proto_rawDesc = []byte{
|
|||||||
0x6c, 0x75, 0x6d, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x67, 0x72, 0x65, 0x70,
|
0x6c, 0x75, 0x6d, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x67, 0x72, 0x65, 0x70,
|
||||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x18, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x18, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||||
0x65, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
0x65, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||||
0x6f, 0x22, 0xad, 0x0c, 0x0a, 0x06, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x1f, 0x0a, 0x0b,
|
0x6f, 0x22, 0xe3, 0x0c, 0x0a, 0x06, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x1f, 0x0a, 0x0b,
|
||||||
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a,
|
0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a,
|
||||||
0x0d, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
|
0x0d, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
|
||||||
@@ -418,91 +427,95 @@ var file_greptime_v1_column_proto_rawDesc = []byte{
|
|||||||
0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||||
0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65,
|
0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65,
|
||||||
0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x64, 0x61, 0x74, 0x61, 0x74,
|
0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x64, 0x61, 0x74, 0x61, 0x74,
|
||||||
0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0xe2, 0x09, 0x0a,
|
0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x07,
|
||||||
0x06, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x38, 0x5f, 0x76, 0x61,
|
0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
|
||||||
0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x69, 0x38, 0x56, 0x61,
|
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75,
|
||||||
0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x31, 0x36, 0x5f, 0x76, 0x61, 0x6c, 0x75,
|
0x6d, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f,
|
||||||
0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09, 0x69, 0x31, 0x36, 0x56, 0x61, 0x6c,
|
0x6e, 0x73, 0x1a, 0xe2, 0x09, 0x0a, 0x06, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1b, 0x0a,
|
||||||
0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x33, 0x32, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
0x09, 0x69, 0x38, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05,
|
||||||
0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09, 0x69, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75,
|
0x52, 0x08, 0x69, 0x38, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x31,
|
||||||
0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
0x36, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09,
|
||||||
0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x69, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
0x69, 0x31, 0x36, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x33, 0x32,
|
||||||
0x73, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x38, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x05,
|
0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09, 0x69,
|
||||||
0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x75, 0x38, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d,
|
0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x36, 0x34, 0x5f,
|
||||||
0x0a, 0x0a, 0x75, 0x31, 0x36, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03,
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x69, 0x36,
|
||||||
0x28, 0x0d, 0x52, 0x09, 0x75, 0x31, 0x36, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a,
|
0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x38, 0x5f, 0x76, 0x61,
|
||||||
0x0a, 0x75, 0x33, 0x32, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,
|
0x6c, 0x75, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x75, 0x38, 0x56, 0x61,
|
||||||
0x0d, 0x52, 0x09, 0x75, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
|
0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x31, 0x36, 0x5f, 0x76, 0x61, 0x6c, 0x75,
|
||||||
0x75, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x04,
|
0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x75, 0x31, 0x36, 0x56, 0x61, 0x6c,
|
||||||
0x52, 0x09, 0x75, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x66,
|
0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x33, 0x32, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||||
0x33, 0x32, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x02, 0x52,
|
0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x75, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75,
|
||||||
0x09, 0x66, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x36,
|
0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||||
0x34, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09,
|
0x18, 0x08, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x75, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||||
0x66, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x6f, 0x6f,
|
0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x33, 0x32, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18,
|
||||||
0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x08, 0x52, 0x0a,
|
0x09, 0x20, 0x03, 0x28, 0x02, 0x52, 0x09, 0x66, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||||
0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x69,
|
0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0a,
|
||||||
0x6e, 0x61, 0x72, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28,
|
0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x66, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12,
|
||||||
0x0c, 0x52, 0x0c, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12,
|
0x1f, 0x0a, 0x0b, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0b,
|
||||||
0x23, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
0x20, 0x03, 0x28, 0x08, 0x52, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||||
0x18, 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61,
|
0x12, 0x23, 0x0a, 0x0d, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||||
0x6c, 0x75, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x61, 0x6c,
|
0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56,
|
||||||
0x75, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x65, 0x56,
|
0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f,
|
||||||
0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d,
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74,
|
||||||
0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0e,
|
0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61,
|
||||||
0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x36,
|
0x74, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x05, 0x52,
|
||||||
0x0a, 0x17, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x73, 0x65, 0x63, 0x6f,
|
0x0a, 0x64, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x64,
|
||||||
0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x03, 0x52,
|
0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0f,
|
||||||
0x15, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64,
|
0x20, 0x03, 0x28, 0x03, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x56, 0x61,
|
||||||
0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x1c, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
|
0x6c, 0x75, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
||||||
0x61, 0x6d, 0x70, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f,
|
0x70, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18,
|
||||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x03, 0x52, 0x1a, 0x74, 0x69,
|
0x10, 0x20, 0x03, 0x28, 0x03, 0x52, 0x15, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
||||||
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f,
|
0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x1c,
|
||||||
0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x1c, 0x74, 0x69, 0x6d, 0x65,
|
0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73,
|
||||||
0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e,
|
0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x11, 0x20, 0x03,
|
||||||
0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x03, 0x52, 0x1a,
|
0x28, 0x03, 0x52, 0x1a, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4d, 0x69, 0x6c,
|
||||||
0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x65,
|
0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x40,
|
||||||
0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x3e, 0x0a, 0x1b, 0x74, 0x69,
|
0x0a, 0x1c, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6d, 0x69, 0x63, 0x72,
|
||||||
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f,
|
0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x12,
|
||||||
0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x03, 0x52,
|
0x20, 0x03, 0x28, 0x03, 0x52, 0x1a, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4d,
|
||||||
0x19, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4e, 0x61, 0x6e, 0x6f, 0x73, 0x65,
|
0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||||
0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x69,
|
0x12, 0x3e, 0x0a, 0x1b, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6e, 0x61,
|
||||||
0x6d, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18,
|
||||||
0x18, 0x14, 0x20, 0x03, 0x28, 0x03, 0x52, 0x10, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x63, 0x6f,
|
0x13, 0x20, 0x03, 0x28, 0x03, 0x52, 0x19, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
||||||
0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x74, 0x69, 0x6d, 0x65,
|
0x4e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||||
0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c,
|
0x12, 0x2c, 0x0a, 0x12, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f,
|
||||||
0x75, 0x65, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x03, 0x52, 0x15, 0x74, 0x69, 0x6d, 0x65, 0x4d,
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x03, 0x52, 0x10, 0x74, 0x69,
|
||||||
0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
0x6d, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x36,
|
||||||
0x12, 0x36, 0x0a, 0x17, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x65,
|
0x0a, 0x17, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f,
|
||||||
0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x16, 0x20, 0x03, 0x28,
|
0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x03, 0x52,
|
||||||
0x03, 0x52, 0x15, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f,
|
0x15, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64,
|
||||||
0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x69, 0x6d, 0x65,
|
0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d,
|
||||||
0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75,
|
0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||||
0x65, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x03, 0x52, 0x14, 0x74, 0x69, 0x6d, 0x65, 0x4e, 0x61,
|
0x73, 0x18, 0x16, 0x20, 0x03, 0x28, 0x03, 0x52, 0x15, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63,
|
||||||
0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x3b,
|
0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x34,
|
||||||
0x0a, 0x1a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x79, 0x65, 0x61, 0x72, 0x5f,
|
0x0a, 0x16, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e,
|
||||||
0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x18, 0x20, 0x03,
|
0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x03, 0x52, 0x14,
|
||||||
0x28, 0x05, 0x52, 0x17, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x59, 0x65, 0x61, 0x72,
|
0x74, 0x69, 0x6d, 0x65, 0x4e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61,
|
||||||
0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x18, 0x69,
|
0x6c, 0x75, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x1a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c,
|
||||||
0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x64, 0x61, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65,
|
0x5f, 0x79, 0x65, 0x61, 0x72, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x5f, 0x76, 0x61, 0x6c, 0x75,
|
||||||
0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x19, 0x20, 0x03, 0x28, 0x03, 0x52, 0x15, 0x69,
|
0x65, 0x73, 0x18, 0x18, 0x20, 0x03, 0x28, 0x05, 0x52, 0x17, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76,
|
||||||
0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x44, 0x61, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61,
|
0x61, 0x6c, 0x59, 0x65, 0x61, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||||
0x6c, 0x75, 0x65, 0x73, 0x12, 0x65, 0x0a, 0x1e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c,
|
0x73, 0x12, 0x37, 0x0a, 0x18, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x64, 0x61,
|
||||||
0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x5f, 0x64, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x5f,
|
0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x19, 0x20,
|
||||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67,
|
0x03, 0x28, 0x03, 0x52, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x44, 0x61, 0x79,
|
||||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72,
|
0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x65, 0x0a, 0x1e, 0x69, 0x6e,
|
||||||
0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x52,
|
0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x5f, 0x64, 0x61, 0x79,
|
||||||
0x1a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61,
|
0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x1a, 0x20, 0x03,
|
||||||
0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x11, 0x64,
|
0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||||
0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61,
|
||||||
0x18, 0x1f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x52, 0x1a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d,
|
||||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x52,
|
0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||||
0x10, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
0x73, 0x12, 0x44, 0x0a, 0x11, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x5f,
|
||||||
0x73, 0x42, 0x50, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67,
|
||||||
0x2e, 0x76, 0x31, 0x42, 0x07, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x5a, 0x35, 0x67, 0x69,
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x69, 0x6d,
|
||||||
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
0x61, 0x6c, 0x31, 0x32, 0x38, 0x52, 0x10, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32,
|
||||||
0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70,
|
0x38, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, 0x50, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72,
|
||||||
0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
|
||||||
0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x6e, 0x73, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47,
|
||||||
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70,
|
||||||
|
0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72,
|
||||||
|
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||||
|
0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -524,21 +537,23 @@ var file_greptime_v1_column_proto_goTypes = []interface{}{
|
|||||||
(SemanticType)(0), // 2: greptime.v1.SemanticType
|
(SemanticType)(0), // 2: greptime.v1.SemanticType
|
||||||
(ColumnDataType)(0), // 3: greptime.v1.ColumnDataType
|
(ColumnDataType)(0), // 3: greptime.v1.ColumnDataType
|
||||||
(*ColumnDataTypeExtension)(nil), // 4: greptime.v1.ColumnDataTypeExtension
|
(*ColumnDataTypeExtension)(nil), // 4: greptime.v1.ColumnDataTypeExtension
|
||||||
(*IntervalMonthDayNano)(nil), // 5: greptime.v1.IntervalMonthDayNano
|
(*ColumnOptions)(nil), // 5: greptime.v1.ColumnOptions
|
||||||
(*Decimal128)(nil), // 6: greptime.v1.Decimal128
|
(*IntervalMonthDayNano)(nil), // 6: greptime.v1.IntervalMonthDayNano
|
||||||
|
(*Decimal128)(nil), // 7: greptime.v1.Decimal128
|
||||||
}
|
}
|
||||||
var file_greptime_v1_column_proto_depIdxs = []int32{
|
var file_greptime_v1_column_proto_depIdxs = []int32{
|
||||||
2, // 0: greptime.v1.Column.semantic_type:type_name -> greptime.v1.SemanticType
|
2, // 0: greptime.v1.Column.semantic_type:type_name -> greptime.v1.SemanticType
|
||||||
1, // 1: greptime.v1.Column.values:type_name -> greptime.v1.Column.Values
|
1, // 1: greptime.v1.Column.values:type_name -> greptime.v1.Column.Values
|
||||||
3, // 2: greptime.v1.Column.datatype:type_name -> greptime.v1.ColumnDataType
|
3, // 2: greptime.v1.Column.datatype:type_name -> greptime.v1.ColumnDataType
|
||||||
4, // 3: greptime.v1.Column.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
4, // 3: greptime.v1.Column.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||||
5, // 4: greptime.v1.Column.Values.interval_month_day_nano_values:type_name -> greptime.v1.IntervalMonthDayNano
|
5, // 4: greptime.v1.Column.options:type_name -> greptime.v1.ColumnOptions
|
||||||
6, // 5: greptime.v1.Column.Values.decimal128_values:type_name -> greptime.v1.Decimal128
|
6, // 5: greptime.v1.Column.Values.interval_month_day_nano_values:type_name -> greptime.v1.IntervalMonthDayNano
|
||||||
6, // [6:6] is the sub-list for method output_type
|
7, // 6: greptime.v1.Column.Values.decimal128_values:type_name -> greptime.v1.Decimal128
|
||||||
6, // [6:6] is the sub-list for method input_type
|
7, // [7:7] is the sub-list for method output_type
|
||||||
6, // [6:6] is the sub-list for extension type_name
|
7, // [7:7] is the sub-list for method input_type
|
||||||
6, // [6:6] is the sub-list for extension extendee
|
7, // [7:7] is the sub-list for extension type_name
|
||||||
0, // [0:6] is the sub-list for field type_name
|
7, // [7:7] is the sub-list for extension extendee
|
||||||
|
0, // [0:7] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_greptime_v1_column_proto_init() }
|
func init() { file_greptime_v1_column_proto_init() }
|
||||||
|
|||||||
+143
-50
@@ -1156,6 +1156,74 @@ func (x *DecimalTypeExtension) GetScale() int32 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Additional options for the column.
|
||||||
|
type ColumnOptions struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
// Supported keys:
|
||||||
|
//
|
||||||
|
// "fulltext":
|
||||||
|
// A JSON encoded string containing full-text search options for the column.
|
||||||
|
//
|
||||||
|
// The fulltext options JSON structure:
|
||||||
|
// {
|
||||||
|
// "enable": bool, // Indicates whether full-text search is
|
||||||
|
// // enabled for the column.
|
||||||
|
//
|
||||||
|
// "analyzer": string, // The language-specific text analyzer to
|
||||||
|
// // use for indexing and searching text.
|
||||||
|
// // Supported values: ["English" (Default), "Chinese"].
|
||||||
|
//
|
||||||
|
// "case-sensitive": bool // Indicates whether the text should be treated
|
||||||
|
// // as case-sensitive during full-text search.
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// Example:
|
||||||
|
// "fulltext": "{\"enable\": true, \"analyzer\": \"English\", \"case-sensitive\": false}"
|
||||||
|
Options map[string]string `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ColumnOptions) Reset() {
|
||||||
|
*x = ColumnOptions{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_greptime_v1_common_proto_msgTypes[16]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ColumnOptions) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*ColumnOptions) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *ColumnOptions) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_greptime_v1_common_proto_msgTypes[16]
|
||||||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
return ms
|
||||||
|
}
|
||||||
|
return mi.MessageOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use ColumnOptions.ProtoReflect.Descriptor instead.
|
||||||
|
func (*ColumnOptions) Descriptor() ([]byte, []int) {
|
||||||
|
return file_greptime_v1_common_proto_rawDescGZIP(), []int{16}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ColumnOptions) GetOptions() map[string]string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Options
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
var File_greptime_v1_common_proto protoreflect.FileDescriptor
|
var File_greptime_v1_common_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
var file_greptime_v1_common_proto_rawDesc = []byte{
|
var file_greptime_v1_common_proto_rawDesc = []byte{
|
||||||
@@ -1263,45 +1331,55 @@ var file_greptime_v1_common_proto_rawDesc = []byte{
|
|||||||
0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69,
|
0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69,
|
||||||
0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63,
|
0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63,
|
||||||
0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x02,
|
0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x02,
|
||||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2a, 0x31, 0x0a, 0x0c, 0x53,
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x22, 0x8e, 0x01, 0x0a, 0x0d,
|
||||||
0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x54,
|
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a,
|
||||||
0x41, 0x47, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x01, 0x12,
|
0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27,
|
||||||
0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x02, 0x2a, 0xd6,
|
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c,
|
||||||
0x03, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70,
|
0x75, 0x6d, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f,
|
||||||
0x65, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x00, 0x12, 0x08,
|
0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
||||||
0x0a, 0x04, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x31,
|
0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
||||||
0x36, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x03, 0x12, 0x09,
|
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
|
||||||
0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x49, 0x4e,
|
0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||||
0x54, 0x38, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x06,
|
0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x31, 0x0a, 0x0c,
|
||||||
0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06,
|
0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03,
|
||||||
0x55, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41,
|
0x54, 0x41, 0x47, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x01,
|
||||||
0x54, 0x33, 0x32, 0x10, 0x09, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36, 0x34,
|
0x12, 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x02, 0x2a,
|
||||||
0x10, 0x0a, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x0b, 0x12, 0x0a,
|
0xd6, 0x03, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79,
|
||||||
0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41,
|
0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x00, 0x12,
|
||||||
0x54, 0x45, 0x10, 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45,
|
0x08, 0x0a, 0x04, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54,
|
||||||
0x10, 0x0e, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f,
|
0x31, 0x36, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x03, 0x12,
|
||||||
0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x0f, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45,
|
0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x49,
|
||||||
0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e,
|
0x4e, 0x54, 0x38, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10,
|
||||||
0x44, 0x10, 0x10, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50,
|
0x06, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x07, 0x12, 0x0a, 0x0a,
|
||||||
0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x11, 0x12, 0x18,
|
0x06, 0x55, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f,
|
||||||
0x0a, 0x14, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4e, 0x41, 0x4e, 0x4f,
|
0x41, 0x54, 0x33, 0x32, 0x10, 0x09, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36,
|
||||||
0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x12, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x49, 0x4d, 0x45,
|
0x34, 0x10, 0x0a, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x0b, 0x12,
|
||||||
0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x13, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d,
|
0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x04, 0x44,
|
||||||
0x45, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x14, 0x12,
|
0x41, 0x54, 0x45, 0x10, 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d,
|
||||||
0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43,
|
0x45, 0x10, 0x0e, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50,
|
||||||
0x4f, 0x4e, 0x44, 0x10, 0x15, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4e, 0x41,
|
0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x0f, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d,
|
||||||
0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x16, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e,
|
0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f,
|
||||||
0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x59, 0x45, 0x41, 0x52, 0x5f, 0x4d, 0x4f, 0x4e, 0x54,
|
0x4e, 0x44, 0x10, 0x10, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d,
|
||||||
0x48, 0x10, 0x17, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f,
|
0x50, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x11, 0x12,
|
||||||
0x44, 0x41, 0x59, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x18, 0x12, 0x1b, 0x0a, 0x17, 0x49, 0x4e,
|
0x18, 0x0a, 0x14, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4e, 0x41, 0x4e,
|
||||||
0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x5f, 0x44, 0x41, 0x59,
|
0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x12, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x49, 0x4d,
|
||||||
0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x10, 0x19, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x43, 0x49, 0x4d,
|
0x45, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x13, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49,
|
||||||
0x41, 0x4c, 0x31, 0x32, 0x38, 0x10, 0x1e, 0x42, 0x4f, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72,
|
0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x14,
|
||||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
|
0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45,
|
||||||
0x6e, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72,
|
0x43, 0x4f, 0x4e, 0x44, 0x10, 0x15, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4e,
|
||||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74,
|
0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x16, 0x12, 0x17, 0x0a, 0x13, 0x49,
|
||||||
0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65,
|
0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x59, 0x45, 0x41, 0x52, 0x5f, 0x4d, 0x4f, 0x4e,
|
||||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x54, 0x48, 0x10, 0x17, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c,
|
||||||
|
0x5f, 0x44, 0x41, 0x59, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x18, 0x12, 0x1b, 0x0a, 0x17, 0x49,
|
||||||
|
0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x5f, 0x44, 0x41,
|
||||||
|
0x59, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x10, 0x19, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x43, 0x49,
|
||||||
|
0x4d, 0x41, 0x4c, 0x31, 0x32, 0x38, 0x10, 0x1e, 0x42, 0x4f, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67,
|
||||||
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x06, 0x43, 0x6f, 0x6d, 0x6d,
|
||||||
|
0x6f, 0x6e, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47,
|
||||||
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70,
|
||||||
|
0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72,
|
||||||
|
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||||
|
0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -1317,7 +1395,7 @@ func file_greptime_v1_common_proto_rawDescGZIP() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var file_greptime_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
var file_greptime_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
||||||
var file_greptime_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
|
var file_greptime_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
|
||||||
var file_greptime_v1_common_proto_goTypes = []interface{}{
|
var file_greptime_v1_common_proto_goTypes = []interface{}{
|
||||||
(SemanticType)(0), // 0: greptime.v1.SemanticType
|
(SemanticType)(0), // 0: greptime.v1.SemanticType
|
||||||
(ColumnDataType)(0), // 1: greptime.v1.ColumnDataType
|
(ColumnDataType)(0), // 1: greptime.v1.ColumnDataType
|
||||||
@@ -1337,24 +1415,27 @@ var file_greptime_v1_common_proto_goTypes = []interface{}{
|
|||||||
(*Decimal128)(nil), // 15: greptime.v1.Decimal128
|
(*Decimal128)(nil), // 15: greptime.v1.Decimal128
|
||||||
(*ColumnDataTypeExtension)(nil), // 16: greptime.v1.ColumnDataTypeExtension
|
(*ColumnDataTypeExtension)(nil), // 16: greptime.v1.ColumnDataTypeExtension
|
||||||
(*DecimalTypeExtension)(nil), // 17: greptime.v1.DecimalTypeExtension
|
(*DecimalTypeExtension)(nil), // 17: greptime.v1.DecimalTypeExtension
|
||||||
nil, // 18: greptime.v1.QueryContext.ExtensionsEntry
|
(*ColumnOptions)(nil), // 18: greptime.v1.ColumnOptions
|
||||||
nil, // 19: greptime.v1.RequestHeader.TracingContextEntry
|
nil, // 19: greptime.v1.QueryContext.ExtensionsEntry
|
||||||
|
nil, // 20: greptime.v1.RequestHeader.TracingContextEntry
|
||||||
|
nil, // 21: greptime.v1.ColumnOptions.OptionsEntry
|
||||||
}
|
}
|
||||||
var file_greptime_v1_common_proto_depIdxs = []int32{
|
var file_greptime_v1_common_proto_depIdxs = []int32{
|
||||||
18, // 0: greptime.v1.QueryContext.extensions:type_name -> greptime.v1.QueryContext.ExtensionsEntry
|
19, // 0: greptime.v1.QueryContext.extensions:type_name -> greptime.v1.QueryContext.ExtensionsEntry
|
||||||
6, // 1: greptime.v1.RequestHeader.authorization:type_name -> greptime.v1.AuthHeader
|
6, // 1: greptime.v1.RequestHeader.authorization:type_name -> greptime.v1.AuthHeader
|
||||||
19, // 2: greptime.v1.RequestHeader.tracing_context:type_name -> greptime.v1.RequestHeader.TracingContextEntry
|
20, // 2: greptime.v1.RequestHeader.tracing_context:type_name -> greptime.v1.RequestHeader.TracingContextEntry
|
||||||
5, // 3: greptime.v1.ResponseHeader.status:type_name -> greptime.v1.Status
|
5, // 3: greptime.v1.ResponseHeader.status:type_name -> greptime.v1.Status
|
||||||
7, // 4: greptime.v1.AuthHeader.basic:type_name -> greptime.v1.Basic
|
7, // 4: greptime.v1.AuthHeader.basic:type_name -> greptime.v1.Basic
|
||||||
8, // 5: greptime.v1.AuthHeader.token:type_name -> greptime.v1.Token
|
8, // 5: greptime.v1.AuthHeader.token:type_name -> greptime.v1.Token
|
||||||
10, // 6: greptime.v1.FlightMetadata.affected_rows:type_name -> greptime.v1.AffectedRows
|
10, // 6: greptime.v1.FlightMetadata.affected_rows:type_name -> greptime.v1.AffectedRows
|
||||||
11, // 7: greptime.v1.FlightMetadata.metrics:type_name -> greptime.v1.Metrics
|
11, // 7: greptime.v1.FlightMetadata.metrics:type_name -> greptime.v1.Metrics
|
||||||
17, // 8: greptime.v1.ColumnDataTypeExtension.decimal_type:type_name -> greptime.v1.DecimalTypeExtension
|
17, // 8: greptime.v1.ColumnDataTypeExtension.decimal_type:type_name -> greptime.v1.DecimalTypeExtension
|
||||||
9, // [9:9] is the sub-list for method output_type
|
21, // 9: greptime.v1.ColumnOptions.options:type_name -> greptime.v1.ColumnOptions.OptionsEntry
|
||||||
9, // [9:9] is the sub-list for method input_type
|
10, // [10:10] is the sub-list for method output_type
|
||||||
9, // [9:9] is the sub-list for extension type_name
|
10, // [10:10] is the sub-list for method input_type
|
||||||
9, // [9:9] is the sub-list for extension extendee
|
10, // [10:10] is the sub-list for extension type_name
|
||||||
0, // [0:9] is the sub-list for field type_name
|
10, // [10:10] is the sub-list for extension extendee
|
||||||
|
0, // [0:10] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_greptime_v1_common_proto_init() }
|
func init() { file_greptime_v1_common_proto_init() }
|
||||||
@@ -1555,6 +1636,18 @@ func file_greptime_v1_common_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
file_greptime_v1_common_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*ColumnOptions); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
file_greptime_v1_common_proto_msgTypes[4].OneofWrappers = []interface{}{
|
file_greptime_v1_common_proto_msgTypes[4].OneofWrappers = []interface{}{
|
||||||
(*AuthHeader_Basic)(nil),
|
(*AuthHeader_Basic)(nil),
|
||||||
@@ -1569,7 +1662,7 @@ func file_greptime_v1_common_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_greptime_v1_common_proto_rawDesc,
|
RawDescriptor: file_greptime_v1_common_proto_rawDesc,
|
||||||
NumEnums: 2,
|
NumEnums: 2,
|
||||||
NumMessages: 18,
|
NumMessages: 20,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
|||||||
+39
-25
@@ -1636,6 +1636,8 @@ type ColumnDef struct {
|
|||||||
Comment string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"`
|
Comment string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"`
|
||||||
// Extension for ColumnDataType.
|
// Extension for ColumnDataType.
|
||||||
DatatypeExtension *ColumnDataTypeExtension `protobuf:"bytes,7,opt,name=datatype_extension,json=datatypeExtension,proto3" json:"datatype_extension,omitempty"`
|
DatatypeExtension *ColumnDataTypeExtension `protobuf:"bytes,7,opt,name=datatype_extension,json=datatypeExtension,proto3" json:"datatype_extension,omitempty"`
|
||||||
|
// Additional column options.
|
||||||
|
Options *ColumnOptions `protobuf:"bytes,8,opt,name=options,proto3" json:"options,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ColumnDef) Reset() {
|
func (x *ColumnDef) Reset() {
|
||||||
@@ -1719,6 +1721,13 @@ func (x *ColumnDef) GetDatatypeExtension() *ColumnDataTypeExtension {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *ColumnDef) GetOptions() *ColumnOptions {
|
||||||
|
if x != nil {
|
||||||
|
return x.Options
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
type AddColumnLocation struct {
|
type AddColumnLocation struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -2043,7 +2052,7 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{
|
|||||||
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x19, 0x0a, 0x07, 0x54, 0x61, 0x62, 0x6c, 0x65,
|
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x19, 0x0a, 0x07, 0x54, 0x61, 0x62, 0x6c, 0x65,
|
||||||
0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02,
|
0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02,
|
||||||
0x69, 0x64, 0x22, 0x18, 0x0a, 0x06, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02,
|
0x69, 0x64, 0x22, 0x18, 0x0a, 0x06, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02,
|
||||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0xd8, 0x02, 0x0a,
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0x8e, 0x03, 0x0a,
|
||||||
0x09, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
0x09, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
||||||
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38,
|
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38,
|
||||||
0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||||
@@ -2065,24 +2074,27 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{
|
|||||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c,
|
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c,
|
||||||
0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e,
|
0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e,
|
||||||
0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x45, 0x78,
|
0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x45, 0x78,
|
||||||
0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xb7, 0x01, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x43,
|
0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f,
|
||||||
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a,
|
0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||||
0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
|
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4f, 0x70, 0x74,
|
||||||
0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xb7, 0x01,
|
||||||
0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61,
|
0x0a, 0x11, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74,
|
||||||
0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70,
|
0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
|
||||||
0x65, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12,
|
0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x72, 0x65,
|
||||||
0x2a, 0x0a, 0x11, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f,
|
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75,
|
||||||
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x66, 0x74, 0x65,
|
0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74,
|
||||||
0x72, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x24, 0x0a, 0x0c, 0x4c,
|
0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
|
||||||
0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x46,
|
0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63,
|
||||||
0x49, 0x52, 0x53, 0x54, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x46, 0x54, 0x45, 0x52, 0x10,
|
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||||
0x01, 0x42, 0x4c, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
0x52, 0x0f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d,
|
||||||
0x2e, 0x76, 0x31, 0x42, 0x03, 0x44, 0x64, 0x6c, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
|
0x65, 0x22, 0x24, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70,
|
||||||
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61,
|
0x65, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x52, 0x53, 0x54, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05,
|
||||||
0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
0x41, 0x46, 0x54, 0x45, 0x52, 0x10, 0x01, 0x42, 0x4c, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72,
|
||||||
0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62,
|
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x03, 0x44, 0x64, 0x6c, 0x5a, 0x35,
|
||||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74,
|
||||||
|
0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||||
|
0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||||
|
0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -2131,6 +2143,7 @@ var file_greptime_v1_ddl_proto_goTypes = []interface{}{
|
|||||||
(ColumnDataType)(0), // 28: greptime.v1.ColumnDataType
|
(ColumnDataType)(0), // 28: greptime.v1.ColumnDataType
|
||||||
(*ColumnDataTypeExtension)(nil), // 29: greptime.v1.ColumnDataTypeExtension
|
(*ColumnDataTypeExtension)(nil), // 29: greptime.v1.ColumnDataTypeExtension
|
||||||
(SemanticType)(0), // 30: greptime.v1.SemanticType
|
(SemanticType)(0), // 30: greptime.v1.SemanticType
|
||||||
|
(*ColumnOptions)(nil), // 31: greptime.v1.ColumnOptions
|
||||||
}
|
}
|
||||||
var file_greptime_v1_ddl_proto_depIdxs = []int32{
|
var file_greptime_v1_ddl_proto_depIdxs = []int32{
|
||||||
9, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr
|
9, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr
|
||||||
@@ -2169,12 +2182,13 @@ var file_greptime_v1_ddl_proto_depIdxs = []int32{
|
|||||||
28, // 33: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType
|
28, // 33: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType
|
||||||
30, // 34: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType
|
30, // 34: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType
|
||||||
29, // 35: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
29, // 35: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||||
0, // 36: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType
|
31, // 36: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions
|
||||||
37, // [37:37] is the sub-list for method output_type
|
0, // 37: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType
|
||||||
37, // [37:37] is the sub-list for method input_type
|
38, // [38:38] is the sub-list for method output_type
|
||||||
37, // [37:37] is the sub-list for extension type_name
|
38, // [38:38] is the sub-list for method input_type
|
||||||
37, // [37:37] is the sub-list for extension extendee
|
38, // [38:38] is the sub-list for extension type_name
|
||||||
0, // [0:37] is the sub-list for field type_name
|
38, // [38:38] is the sub-list for extension extendee
|
||||||
|
0, // [0:38] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_greptime_v1_ddl_proto_init() }
|
func init() { file_greptime_v1_ddl_proto_init() }
|
||||||
|
|||||||
+115
-100
@@ -99,6 +99,8 @@ type ColumnSchema struct {
|
|||||||
SemanticType SemanticType `protobuf:"varint,3,opt,name=semantic_type,json=semanticType,proto3,enum=greptime.v1.SemanticType" json:"semantic_type,omitempty"`
|
SemanticType SemanticType `protobuf:"varint,3,opt,name=semantic_type,json=semanticType,proto3,enum=greptime.v1.SemanticType" json:"semantic_type,omitempty"`
|
||||||
// Extension for ColumnDataType.
|
// Extension for ColumnDataType.
|
||||||
DatatypeExtension *ColumnDataTypeExtension `protobuf:"bytes,4,opt,name=datatype_extension,json=datatypeExtension,proto3" json:"datatype_extension,omitempty"`
|
DatatypeExtension *ColumnDataTypeExtension `protobuf:"bytes,4,opt,name=datatype_extension,json=datatypeExtension,proto3" json:"datatype_extension,omitempty"`
|
||||||
|
// Additional column options.
|
||||||
|
Options *ColumnOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ColumnSchema) Reset() {
|
func (x *ColumnSchema) Reset() {
|
||||||
@@ -161,6 +163,13 @@ func (x *ColumnSchema) GetDatatypeExtension() *ColumnDataTypeExtension {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *ColumnSchema) GetOptions() *ColumnOptions {
|
||||||
|
if x != nil {
|
||||||
|
return x.Options
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
type Row struct {
|
type Row struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -652,7 +661,7 @@ var file_greptime_v1_row_proto_rawDesc = []byte{
|
|||||||
0x61, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x24, 0x0a, 0x04, 0x72, 0x6f, 0x77,
|
0x61, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x24, 0x0a, 0x04, 0x72, 0x6f, 0x77,
|
||||||
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x22,
|
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x22,
|
||||||
0xfd, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
|
0xb3, 0x02, 0x0a, 0x0c, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
|
||||||
0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||||
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d,
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d,
|
||||||
0x65, 0x12, 0x37, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
|
0x65, 0x12, 0x37, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
|
||||||
@@ -667,95 +676,99 @@ var file_greptime_v1_row_proto_rawDesc = []byte{
|
|||||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54,
|
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54,
|
||||||
0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x64, 0x61,
|
0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x64, 0x61,
|
||||||
0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22,
|
0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12,
|
||||||
0x31, 0x0a, 0x03, 0x52, 0x6f, 0x77, 0x12, 0x2a, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
0x34, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
|
||||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,
|
||||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75,
|
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70,
|
||||||
0x65, 0x73, 0x22, 0xef, 0x09, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x08,
|
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x31, 0x0a, 0x03, 0x52, 0x6f, 0x77, 0x12, 0x2a, 0x0a, 0x06,
|
||||||
0x69, 0x38, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00,
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67,
|
||||||
0x52, 0x07, 0x69, 0x38, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x31, 0x36,
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||||
0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x08,
|
0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0xef, 0x09, 0x0a, 0x05, 0x56, 0x61, 0x6c,
|
||||||
0x69, 0x31, 0x36, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x33, 0x32, 0x5f,
|
0x75, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x69, 0x38, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01,
|
||||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x08, 0x69,
|
0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x07, 0x69, 0x38, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
|
||||||
0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x36, 0x34, 0x5f, 0x76,
|
0x1d, 0x0a, 0x09, 0x69, 0x31, 0x36, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
|
||||||
0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x36,
|
0x28, 0x05, 0x48, 0x00, 0x52, 0x08, 0x69, 0x31, 0x36, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d,
|
||||||
0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x75, 0x38, 0x5f, 0x76, 0x61, 0x6c,
|
0x0a, 0x09, 0x69, 0x33, 0x32, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||||
0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x07, 0x75, 0x38, 0x56, 0x61,
|
0x05, 0x48, 0x00, 0x52, 0x08, 0x69, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a,
|
||||||
0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x75, 0x31, 0x36, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
0x09, 0x69, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
|
||||||
0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x08, 0x75, 0x31, 0x36, 0x56, 0x61, 0x6c,
|
0x48, 0x00, 0x52, 0x08, 0x69, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x08,
|
||||||
0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x75, 0x33, 0x32, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
|
0x75, 0x38, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00,
|
||||||
0x07, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x08, 0x75, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75,
|
0x52, 0x07, 0x75, 0x38, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x75, 0x31, 0x36,
|
||||||
0x65, 0x12, 0x1d, 0x0a, 0x09, 0x75, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x08,
|
0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x08,
|
||||||
0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x08, 0x75, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
0x75, 0x31, 0x36, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x75, 0x33, 0x32, 0x5f,
|
||||||
0x12, 0x1d, 0x0a, 0x09, 0x66, 0x33, 0x32, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x09, 0x20,
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x08, 0x75,
|
||||||
0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x08, 0x66, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
|
0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x75, 0x36, 0x34, 0x5f, 0x76,
|
||||||
0x1d, 0x0a, 0x09, 0x66, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0a, 0x20, 0x01,
|
0x61, 0x6c, 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x08, 0x75, 0x36,
|
||||||
0x28, 0x01, 0x48, 0x00, 0x52, 0x08, 0x66, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f,
|
0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x66, 0x33, 0x32, 0x5f, 0x76, 0x61,
|
||||||
0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0b, 0x20, 0x01,
|
0x6c, 0x75, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x08, 0x66, 0x33, 0x32,
|
||||||
0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
|
0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x66, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c,
|
||||||
0x23, 0x0a, 0x0c, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
|
0x75, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x08, 0x66, 0x36, 0x34, 0x56,
|
||||||
0x0c, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56,
|
0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c,
|
||||||
0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76,
|
0x75, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c,
|
||||||
0x61, 0x6c, 0x75, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74,
|
0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x5f,
|
||||||
0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x64, 0x61, 0x74,
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0b, 0x62,
|
||||||
0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52,
|
0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74,
|
||||||
0x09, 0x64, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x27, 0x0a, 0x0e, 0x64, 0x61,
|
0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,
|
||||||
0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0f, 0x20, 0x01,
|
0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
|
||||||
0x28, 0x03, 0x48, 0x00, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x56, 0x61,
|
0x1f, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0e, 0x20,
|
||||||
0x6c, 0x75, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x09, 0x64, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||||
0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x10, 0x20,
|
0x12, 0x27, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x61, 0x6c,
|
||||||
0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x14, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
0x75, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x65,
|
||||||
0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x40, 0x0a, 0x1b, 0x74,
|
0x74, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x74, 0x69, 0x6d,
|
||||||
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65,
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61,
|
||||||
0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x03,
|
0x6c, 0x75, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x14, 0x74, 0x69, 0x6d,
|
||||||
0x48, 0x00, 0x52, 0x19, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4d, 0x69, 0x6c,
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75,
|
||||||
0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x40, 0x0a,
|
0x65, 0x12, 0x40, 0x0a, 0x1b, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6d,
|
||||||
0x1b, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f,
|
0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||||
0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x12, 0x20, 0x01,
|
0x18, 0x11, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x19, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
|
||||||
0x28, 0x03, 0x48, 0x00, 0x52, 0x19, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4d,
|
0x61, 0x6d, 0x70, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61,
|
||||||
0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
|
0x6c, 0x75, 0x65, 0x12, 0x40, 0x0a, 0x1b, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
||||||
0x3e, 0x0a, 0x1a, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6e, 0x61, 0x6e,
|
0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c,
|
||||||
0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x13, 0x20,
|
0x75, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x19, 0x74, 0x69, 0x6d, 0x65,
|
||||||
0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x18, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
0x73, 0x74, 0x61, 0x6d, 0x70, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64,
|
||||||
0x4e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
|
0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3e, 0x0a, 0x1a, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
|
||||||
0x2c, 0x0a, 0x11, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76,
|
0x6d, 0x70, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61,
|
||||||
0x61, 0x6c, 0x75, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0f, 0x74, 0x69,
|
0x6c, 0x75, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x18, 0x74, 0x69, 0x6d,
|
||||||
0x6d, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x36, 0x0a,
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64,
|
||||||
0x16, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e,
|
0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65,
|
||||||
0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52,
|
0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x03,
|
||||||
0x14, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64,
|
0x48, 0x00, 0x52, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61,
|
||||||
0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69,
|
0x6c, 0x75, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x6c, 0x6c,
|
||||||
0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
|
0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x15, 0x20,
|
||||||
0x16, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x14, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63,
|
0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x14, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x6c, 0x6c, 0x69,
|
||||||
0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x34, 0x0a,
|
0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x74,
|
||||||
0x15, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64,
|
0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f,
|
||||||
0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x13,
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x14, 0x74,
|
||||||
0x74, 0x69, 0x6d, 0x65, 0x4e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61,
|
0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61,
|
||||||
0x6c, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x19, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f,
|
0x6c, 0x75, 0x65, 0x12, 0x34, 0x0a, 0x15, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6e, 0x6f,
|
||||||
0x79, 0x65, 0x61, 0x72, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x17, 0x20, 0x01,
|
||||||
0x18, 0x18, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x16, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76,
|
0x28, 0x03, 0x48, 0x00, 0x52, 0x13, 0x74, 0x69, 0x6d, 0x65, 0x4e, 0x61, 0x6e, 0x6f, 0x73, 0x65,
|
||||||
0x61, 0x6c, 0x59, 0x65, 0x61, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x19, 0x69, 0x6e, 0x74,
|
||||||
0x12, 0x37, 0x0a, 0x17, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x64, 0x61, 0x79,
|
0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x79, 0x65, 0x61, 0x72, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68,
|
||||||
0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28,
|
0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x16,
|
||||||
0x03, 0x48, 0x00, 0x52, 0x14, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x44, 0x61, 0x79,
|
0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x59, 0x65, 0x61, 0x72, 0x4d, 0x6f, 0x6e, 0x74,
|
||||||
0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x65, 0x0a, 0x1d, 0x69, 0x6e, 0x74,
|
0x68, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x37, 0x0a, 0x17, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76,
|
||||||
0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x5f, 0x64, 0x61, 0x79, 0x5f,
|
0x61, 0x6c, 0x5f, 0x64, 0x61, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75,
|
||||||
0x6e, 0x61, 0x6e, 0x6f, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b,
|
0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x14, 0x69, 0x6e, 0x74, 0x65, 0x72,
|
||||||
0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49,
|
0x76, 0x61, 0x6c, 0x44, 0x61, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
|
||||||
0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e,
|
0x65, 0x0a, 0x1d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x6d, 0x6f, 0x6e, 0x74,
|
||||||
0x61, 0x6e, 0x6f, 0x48, 0x00, 0x52, 0x19, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d,
|
0x68, 0x5f, 0x64, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||||
0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||||
0x12, 0x44, 0x0a, 0x10, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x5f, 0x76,
|
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e,
|
||||||
0x61, 0x6c, 0x75, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65,
|
0x74, 0x68, 0x44, 0x61, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x48, 0x00, 0x52, 0x19, 0x69, 0x6e, 0x74,
|
||||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c,
|
0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e, 0x61, 0x6e,
|
||||||
0x31, 0x32, 0x38, 0x48, 0x00, 0x52, 0x0f, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32,
|
0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x44, 0x0a, 0x10, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61,
|
||||||
0x38, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f,
|
0x6c, 0x31, 0x32, 0x38, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b,
|
||||||
0x64, 0x61, 0x74, 0x61, 0x42, 0x50, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,
|
||||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x52, 0x6f, 0x77, 0x44, 0x61, 0x74, 0x61, 0x5a,
|
0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x48, 0x00, 0x52, 0x0f, 0x64, 0x65, 0x63,
|
||||||
0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70,
|
0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0c, 0x0a, 0x0a,
|
||||||
0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x42, 0x50, 0x0a, 0x0e, 0x69, 0x6f,
|
||||||
0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74,
|
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x52, 0x6f,
|
||||||
0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x77, 0x44, 0x61, 0x74, 0x61, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
|
||||||
|
0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67,
|
||||||
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
|
||||||
|
0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72,
|
||||||
|
0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -779,8 +792,9 @@ var file_greptime_v1_row_proto_goTypes = []interface{}{
|
|||||||
(ColumnDataType)(0), // 4: greptime.v1.ColumnDataType
|
(ColumnDataType)(0), // 4: greptime.v1.ColumnDataType
|
||||||
(SemanticType)(0), // 5: greptime.v1.SemanticType
|
(SemanticType)(0), // 5: greptime.v1.SemanticType
|
||||||
(*ColumnDataTypeExtension)(nil), // 6: greptime.v1.ColumnDataTypeExtension
|
(*ColumnDataTypeExtension)(nil), // 6: greptime.v1.ColumnDataTypeExtension
|
||||||
(*IntervalMonthDayNano)(nil), // 7: greptime.v1.IntervalMonthDayNano
|
(*ColumnOptions)(nil), // 7: greptime.v1.ColumnOptions
|
||||||
(*Decimal128)(nil), // 8: greptime.v1.Decimal128
|
(*IntervalMonthDayNano)(nil), // 8: greptime.v1.IntervalMonthDayNano
|
||||||
|
(*Decimal128)(nil), // 9: greptime.v1.Decimal128
|
||||||
}
|
}
|
||||||
var file_greptime_v1_row_proto_depIdxs = []int32{
|
var file_greptime_v1_row_proto_depIdxs = []int32{
|
||||||
1, // 0: greptime.v1.Rows.schema:type_name -> greptime.v1.ColumnSchema
|
1, // 0: greptime.v1.Rows.schema:type_name -> greptime.v1.ColumnSchema
|
||||||
@@ -788,14 +802,15 @@ var file_greptime_v1_row_proto_depIdxs = []int32{
|
|||||||
4, // 2: greptime.v1.ColumnSchema.datatype:type_name -> greptime.v1.ColumnDataType
|
4, // 2: greptime.v1.ColumnSchema.datatype:type_name -> greptime.v1.ColumnDataType
|
||||||
5, // 3: greptime.v1.ColumnSchema.semantic_type:type_name -> greptime.v1.SemanticType
|
5, // 3: greptime.v1.ColumnSchema.semantic_type:type_name -> greptime.v1.SemanticType
|
||||||
6, // 4: greptime.v1.ColumnSchema.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
6, // 4: greptime.v1.ColumnSchema.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||||
3, // 5: greptime.v1.Row.values:type_name -> greptime.v1.Value
|
7, // 5: greptime.v1.ColumnSchema.options:type_name -> greptime.v1.ColumnOptions
|
||||||
7, // 6: greptime.v1.Value.interval_month_day_nano_value:type_name -> greptime.v1.IntervalMonthDayNano
|
3, // 6: greptime.v1.Row.values:type_name -> greptime.v1.Value
|
||||||
8, // 7: greptime.v1.Value.decimal128_value:type_name -> greptime.v1.Decimal128
|
8, // 7: greptime.v1.Value.interval_month_day_nano_value:type_name -> greptime.v1.IntervalMonthDayNano
|
||||||
8, // [8:8] is the sub-list for method output_type
|
9, // 8: greptime.v1.Value.decimal128_value:type_name -> greptime.v1.Decimal128
|
||||||
8, // [8:8] is the sub-list for method input_type
|
9, // [9:9] is the sub-list for method output_type
|
||||||
8, // [8:8] is the sub-list for extension type_name
|
9, // [9:9] is the sub-list for method input_type
|
||||||
8, // [8:8] is the sub-list for extension extendee
|
9, // [9:9] is the sub-list for extension type_name
|
||||||
0, // [0:8] is the sub-list for field type_name
|
9, // [9:9] is the sub-list for extension extendee
|
||||||
|
0, // [0:9] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_greptime_v1_row_proto_init() }
|
func init() { file_greptime_v1_row_proto_init() }
|
||||||
|
|||||||
@@ -146,6 +146,33 @@ public final class Columns {
|
|||||||
* <code>.greptime.v1.ColumnDataTypeExtension datatype_extension = 6;</code>
|
* <code>.greptime.v1.ColumnDataTypeExtension datatype_extension = 6;</code>
|
||||||
*/
|
*/
|
||||||
io.greptime.v1.Common.ColumnDataTypeExtensionOrBuilder getDatatypeExtensionOrBuilder();
|
io.greptime.v1.Common.ColumnDataTypeExtensionOrBuilder getDatatypeExtensionOrBuilder();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 7;</code>
|
||||||
|
* @return Whether the options field is set.
|
||||||
|
*/
|
||||||
|
boolean hasOptions();
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 7;</code>
|
||||||
|
* @return The options.
|
||||||
|
*/
|
||||||
|
io.greptime.v1.Common.ColumnOptions getOptions();
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 7;</code>
|
||||||
|
*/
|
||||||
|
io.greptime.v1.Common.ColumnOptionsOrBuilder getOptionsOrBuilder();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Protobuf type {@code greptime.v1.Column}
|
* Protobuf type {@code greptime.v1.Column}
|
||||||
@@ -245,6 +272,19 @@ public final class Columns {
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case 58: {
|
||||||
|
io.greptime.v1.Common.ColumnOptions.Builder subBuilder = null;
|
||||||
|
if (options_ != null) {
|
||||||
|
subBuilder = options_.toBuilder();
|
||||||
|
}
|
||||||
|
options_ = input.readMessage(io.greptime.v1.Common.ColumnOptions.parser(), extensionRegistry);
|
||||||
|
if (subBuilder != null) {
|
||||||
|
subBuilder.mergeFrom(options_);
|
||||||
|
options_ = subBuilder.buildPartial();
|
||||||
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
if (!parseUnknownField(
|
if (!parseUnknownField(
|
||||||
input, unknownFields, extensionRegistry, tag)) {
|
input, unknownFields, extensionRegistry, tag)) {
|
||||||
@@ -6468,6 +6508,44 @@ public final class Columns {
|
|||||||
return getDatatypeExtension();
|
return getDatatypeExtension();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static final int OPTIONS_FIELD_NUMBER = 7;
|
||||||
|
private io.greptime.v1.Common.ColumnOptions options_;
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 7;</code>
|
||||||
|
* @return Whether the options field is set.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public boolean hasOptions() {
|
||||||
|
return options_ != null;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 7;</code>
|
||||||
|
* @return The options.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public io.greptime.v1.Common.ColumnOptions getOptions() {
|
||||||
|
return options_ == null ? io.greptime.v1.Common.ColumnOptions.getDefaultInstance() : options_;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 7;</code>
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public io.greptime.v1.Common.ColumnOptionsOrBuilder getOptionsOrBuilder() {
|
||||||
|
return getOptions();
|
||||||
|
}
|
||||||
|
|
||||||
private byte memoizedIsInitialized = -1;
|
private byte memoizedIsInitialized = -1;
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public final boolean isInitialized() {
|
public final boolean isInitialized() {
|
||||||
@@ -6500,6 +6578,9 @@ public final class Columns {
|
|||||||
if (datatypeExtension_ != null) {
|
if (datatypeExtension_ != null) {
|
||||||
output.writeMessage(6, getDatatypeExtension());
|
output.writeMessage(6, getDatatypeExtension());
|
||||||
}
|
}
|
||||||
|
if (options_ != null) {
|
||||||
|
output.writeMessage(7, getOptions());
|
||||||
|
}
|
||||||
unknownFields.writeTo(output);
|
unknownFields.writeTo(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -6532,6 +6613,10 @@ public final class Columns {
|
|||||||
size += com.google.protobuf.CodedOutputStream
|
size += com.google.protobuf.CodedOutputStream
|
||||||
.computeMessageSize(6, getDatatypeExtension());
|
.computeMessageSize(6, getDatatypeExtension());
|
||||||
}
|
}
|
||||||
|
if (options_ != null) {
|
||||||
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeMessageSize(7, getOptions());
|
||||||
|
}
|
||||||
size += unknownFields.getSerializedSize();
|
size += unknownFields.getSerializedSize();
|
||||||
memoizedSize = size;
|
memoizedSize = size;
|
||||||
return size;
|
return size;
|
||||||
@@ -6563,6 +6648,11 @@ public final class Columns {
|
|||||||
if (!getDatatypeExtension()
|
if (!getDatatypeExtension()
|
||||||
.equals(other.getDatatypeExtension())) return false;
|
.equals(other.getDatatypeExtension())) return false;
|
||||||
}
|
}
|
||||||
|
if (hasOptions() != other.hasOptions()) return false;
|
||||||
|
if (hasOptions()) {
|
||||||
|
if (!getOptions()
|
||||||
|
.equals(other.getOptions())) return false;
|
||||||
|
}
|
||||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -6590,6 +6680,10 @@ public final class Columns {
|
|||||||
hash = (37 * hash) + DATATYPE_EXTENSION_FIELD_NUMBER;
|
hash = (37 * hash) + DATATYPE_EXTENSION_FIELD_NUMBER;
|
||||||
hash = (53 * hash) + getDatatypeExtension().hashCode();
|
hash = (53 * hash) + getDatatypeExtension().hashCode();
|
||||||
}
|
}
|
||||||
|
if (hasOptions()) {
|
||||||
|
hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + getOptions().hashCode();
|
||||||
|
}
|
||||||
hash = (29 * hash) + unknownFields.hashCode();
|
hash = (29 * hash) + unknownFields.hashCode();
|
||||||
memoizedHashCode = hash;
|
memoizedHashCode = hash;
|
||||||
return hash;
|
return hash;
|
||||||
@@ -6743,6 +6837,12 @@ public final class Columns {
|
|||||||
datatypeExtension_ = null;
|
datatypeExtension_ = null;
|
||||||
datatypeExtensionBuilder_ = null;
|
datatypeExtensionBuilder_ = null;
|
||||||
}
|
}
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
options_ = null;
|
||||||
|
} else {
|
||||||
|
options_ = null;
|
||||||
|
optionsBuilder_ = null;
|
||||||
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -6783,6 +6883,11 @@ public final class Columns {
|
|||||||
} else {
|
} else {
|
||||||
result.datatypeExtension_ = datatypeExtensionBuilder_.build();
|
result.datatypeExtension_ = datatypeExtensionBuilder_.build();
|
||||||
}
|
}
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
result.options_ = options_;
|
||||||
|
} else {
|
||||||
|
result.options_ = optionsBuilder_.build();
|
||||||
|
}
|
||||||
onBuilt();
|
onBuilt();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
@@ -6850,6 +6955,9 @@ public final class Columns {
|
|||||||
if (other.hasDatatypeExtension()) {
|
if (other.hasDatatypeExtension()) {
|
||||||
mergeDatatypeExtension(other.getDatatypeExtension());
|
mergeDatatypeExtension(other.getDatatypeExtension());
|
||||||
}
|
}
|
||||||
|
if (other.hasOptions()) {
|
||||||
|
mergeOptions(other.getOptions());
|
||||||
|
}
|
||||||
this.mergeUnknownFields(other.unknownFields);
|
this.mergeUnknownFields(other.unknownFields);
|
||||||
onChanged();
|
onChanged();
|
||||||
return this;
|
return this;
|
||||||
@@ -7507,6 +7615,161 @@ public final class Columns {
|
|||||||
}
|
}
|
||||||
return datatypeExtensionBuilder_;
|
return datatypeExtensionBuilder_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private io.greptime.v1.Common.ColumnOptions options_;
|
||||||
|
private com.google.protobuf.SingleFieldBuilderV3<
|
||||||
|
io.greptime.v1.Common.ColumnOptions, io.greptime.v1.Common.ColumnOptions.Builder, io.greptime.v1.Common.ColumnOptionsOrBuilder> optionsBuilder_;
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 7;</code>
|
||||||
|
* @return Whether the options field is set.
|
||||||
|
*/
|
||||||
|
public boolean hasOptions() {
|
||||||
|
return optionsBuilder_ != null || options_ != null;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 7;</code>
|
||||||
|
* @return The options.
|
||||||
|
*/
|
||||||
|
public io.greptime.v1.Common.ColumnOptions getOptions() {
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
return options_ == null ? io.greptime.v1.Common.ColumnOptions.getDefaultInstance() : options_;
|
||||||
|
} else {
|
||||||
|
return optionsBuilder_.getMessage();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 7;</code>
|
||||||
|
*/
|
||||||
|
public Builder setOptions(io.greptime.v1.Common.ColumnOptions value) {
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
if (value == null) {
|
||||||
|
throw new NullPointerException();
|
||||||
|
}
|
||||||
|
options_ = value;
|
||||||
|
onChanged();
|
||||||
|
} else {
|
||||||
|
optionsBuilder_.setMessage(value);
|
||||||
|
}
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 7;</code>
|
||||||
|
*/
|
||||||
|
public Builder setOptions(
|
||||||
|
io.greptime.v1.Common.ColumnOptions.Builder builderForValue) {
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
options_ = builderForValue.build();
|
||||||
|
onChanged();
|
||||||
|
} else {
|
||||||
|
optionsBuilder_.setMessage(builderForValue.build());
|
||||||
|
}
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 7;</code>
|
||||||
|
*/
|
||||||
|
public Builder mergeOptions(io.greptime.v1.Common.ColumnOptions value) {
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
if (options_ != null) {
|
||||||
|
options_ =
|
||||||
|
io.greptime.v1.Common.ColumnOptions.newBuilder(options_).mergeFrom(value).buildPartial();
|
||||||
|
} else {
|
||||||
|
options_ = value;
|
||||||
|
}
|
||||||
|
onChanged();
|
||||||
|
} else {
|
||||||
|
optionsBuilder_.mergeFrom(value);
|
||||||
|
}
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 7;</code>
|
||||||
|
*/
|
||||||
|
public Builder clearOptions() {
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
options_ = null;
|
||||||
|
onChanged();
|
||||||
|
} else {
|
||||||
|
options_ = null;
|
||||||
|
optionsBuilder_ = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 7;</code>
|
||||||
|
*/
|
||||||
|
public io.greptime.v1.Common.ColumnOptions.Builder getOptionsBuilder() {
|
||||||
|
|
||||||
|
onChanged();
|
||||||
|
return getOptionsFieldBuilder().getBuilder();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 7;</code>
|
||||||
|
*/
|
||||||
|
public io.greptime.v1.Common.ColumnOptionsOrBuilder getOptionsOrBuilder() {
|
||||||
|
if (optionsBuilder_ != null) {
|
||||||
|
return optionsBuilder_.getMessageOrBuilder();
|
||||||
|
} else {
|
||||||
|
return options_ == null ?
|
||||||
|
io.greptime.v1.Common.ColumnOptions.getDefaultInstance() : options_;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 7;</code>
|
||||||
|
*/
|
||||||
|
private com.google.protobuf.SingleFieldBuilderV3<
|
||||||
|
io.greptime.v1.Common.ColumnOptions, io.greptime.v1.Common.ColumnOptions.Builder, io.greptime.v1.Common.ColumnOptionsOrBuilder>
|
||||||
|
getOptionsFieldBuilder() {
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||||
|
io.greptime.v1.Common.ColumnOptions, io.greptime.v1.Common.ColumnOptions.Builder, io.greptime.v1.Common.ColumnOptionsOrBuilder>(
|
||||||
|
getOptions(),
|
||||||
|
getParentForChildren(),
|
||||||
|
isClean());
|
||||||
|
options_ = null;
|
||||||
|
}
|
||||||
|
return optionsBuilder_;
|
||||||
|
}
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public final Builder setUnknownFields(
|
public final Builder setUnknownFields(
|
||||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||||
@@ -7580,36 +7843,37 @@ public final class Columns {
|
|||||||
static {
|
static {
|
||||||
java.lang.String[] descriptorData = {
|
java.lang.String[] descriptorData = {
|
||||||
"\n\030greptime/v1/column.proto\022\013greptime.v1\032" +
|
"\n\030greptime/v1/column.proto\022\013greptime.v1\032" +
|
||||||
"\030greptime/v1/common.proto\"\226\010\n\006Column\022\023\n\013" +
|
"\030greptime/v1/common.proto\"\303\010\n\006Column\022\023\n\013" +
|
||||||
"column_name\030\001 \001(\t\0220\n\rsemantic_type\030\002 \001(\016" +
|
"column_name\030\001 \001(\t\0220\n\rsemantic_type\030\002 \001(\016" +
|
||||||
"2\031.greptime.v1.SemanticType\022*\n\006values\030\003 " +
|
"2\031.greptime.v1.SemanticType\022*\n\006values\030\003 " +
|
||||||
"\001(\0132\032.greptime.v1.Column.Values\022\021\n\tnull_" +
|
"\001(\0132\032.greptime.v1.Column.Values\022\021\n\tnull_" +
|
||||||
"mask\030\004 \001(\014\022-\n\010datatype\030\005 \001(\0162\033.greptime." +
|
"mask\030\004 \001(\014\022-\n\010datatype\030\005 \001(\0162\033.greptime." +
|
||||||
"v1.ColumnDataType\022@\n\022datatype_extension\030" +
|
"v1.ColumnDataType\022@\n\022datatype_extension\030" +
|
||||||
"\006 \001(\0132$.greptime.v1.ColumnDataTypeExtens" +
|
"\006 \001(\0132$.greptime.v1.ColumnDataTypeExtens" +
|
||||||
"ion\032\224\006\n\006Values\022\021\n\ti8_values\030\001 \003(\005\022\022\n\ni16" +
|
"ion\022+\n\007options\030\007 \001(\0132\032.greptime.v1.Colum" +
|
||||||
"_values\030\002 \003(\005\022\022\n\ni32_values\030\003 \003(\005\022\022\n\ni64" +
|
"nOptions\032\224\006\n\006Values\022\021\n\ti8_values\030\001 \003(\005\022\022" +
|
||||||
"_values\030\004 \003(\003\022\021\n\tu8_values\030\005 \003(\r\022\022\n\nu16_" +
|
"\n\ni16_values\030\002 \003(\005\022\022\n\ni32_values\030\003 \003(\005\022\022" +
|
||||||
"values\030\006 \003(\r\022\022\n\nu32_values\030\007 \003(\r\022\022\n\nu64_" +
|
"\n\ni64_values\030\004 \003(\003\022\021\n\tu8_values\030\005 \003(\r\022\022\n" +
|
||||||
"values\030\010 \003(\004\022\022\n\nf32_values\030\t \003(\002\022\022\n\nf64_" +
|
"\nu16_values\030\006 \003(\r\022\022\n\nu32_values\030\007 \003(\r\022\022\n" +
|
||||||
"values\030\n \003(\001\022\023\n\013bool_values\030\013 \003(\010\022\025\n\rbin" +
|
"\nu64_values\030\010 \003(\004\022\022\n\nf32_values\030\t \003(\002\022\022\n" +
|
||||||
"ary_values\030\014 \003(\014\022\025\n\rstring_values\030\r \003(\t\022" +
|
"\nf64_values\030\n \003(\001\022\023\n\013bool_values\030\013 \003(\010\022\025" +
|
||||||
"\023\n\013date_values\030\016 \003(\005\022\027\n\017datetime_values\030" +
|
"\n\rbinary_values\030\014 \003(\014\022\025\n\rstring_values\030\r" +
|
||||||
"\017 \003(\003\022\037\n\027timestamp_second_values\030\020 \003(\003\022$" +
|
" \003(\t\022\023\n\013date_values\030\016 \003(\005\022\027\n\017datetime_va" +
|
||||||
"\n\034timestamp_millisecond_values\030\021 \003(\003\022$\n\034" +
|
"lues\030\017 \003(\003\022\037\n\027timestamp_second_values\030\020 " +
|
||||||
"timestamp_microsecond_values\030\022 \003(\003\022#\n\033ti" +
|
"\003(\003\022$\n\034timestamp_millisecond_values\030\021 \003(" +
|
||||||
"mestamp_nanosecond_values\030\023 \003(\003\022\032\n\022time_" +
|
"\003\022$\n\034timestamp_microsecond_values\030\022 \003(\003\022" +
|
||||||
"second_values\030\024 \003(\003\022\037\n\027time_millisecond_" +
|
"#\n\033timestamp_nanosecond_values\030\023 \003(\003\022\032\n\022" +
|
||||||
"values\030\025 \003(\003\022\037\n\027time_microsecond_values\030" +
|
"time_second_values\030\024 \003(\003\022\037\n\027time_millise" +
|
||||||
"\026 \003(\003\022\036\n\026time_nanosecond_values\030\027 \003(\003\022\"\n" +
|
"cond_values\030\025 \003(\003\022\037\n\027time_microsecond_va" +
|
||||||
"\032interval_year_month_values\030\030 \003(\005\022 \n\030int" +
|
"lues\030\026 \003(\003\022\036\n\026time_nanosecond_values\030\027 \003" +
|
||||||
"erval_day_time_values\030\031 \003(\003\022I\n\036interval_" +
|
"(\003\022\"\n\032interval_year_month_values\030\030 \003(\005\022 " +
|
||||||
"month_day_nano_values\030\032 \003(\0132!.greptime.v" +
|
"\n\030interval_day_time_values\030\031 \003(\003\022I\n\036inte" +
|
||||||
"1.IntervalMonthDayNano\0222\n\021decimal128_val" +
|
"rval_month_day_nano_values\030\032 \003(\0132!.grept" +
|
||||||
"ues\030\037 \003(\0132\027.greptime.v1.Decimal128BP\n\016io" +
|
"ime.v1.IntervalMonthDayNano\0222\n\021decimal12" +
|
||||||
".greptime.v1B\007ColumnsZ5github.com/Grepti" +
|
"8_values\030\037 \003(\0132\027.greptime.v1.Decimal128B" +
|
||||||
"meTeam/greptime-proto/go/greptime/v1b\006pr" +
|
"P\n\016io.greptime.v1B\007ColumnsZ5github.com/G" +
|
||||||
"oto3"
|
"reptimeTeam/greptime-proto/go/greptime/v" +
|
||||||
|
"1b\006proto3"
|
||||||
};
|
};
|
||||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||||
.internalBuildGeneratedFileFrom(descriptorData,
|
.internalBuildGeneratedFileFrom(descriptorData,
|
||||||
@@ -7621,7 +7885,7 @@ public final class Columns {
|
|||||||
internal_static_greptime_v1_Column_fieldAccessorTable = new
|
internal_static_greptime_v1_Column_fieldAccessorTable = new
|
||||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||||
internal_static_greptime_v1_Column_descriptor,
|
internal_static_greptime_v1_Column_descriptor,
|
||||||
new java.lang.String[] { "ColumnName", "SemanticType", "Values", "NullMask", "Datatype", "DatatypeExtension", });
|
new java.lang.String[] { "ColumnName", "SemanticType", "Values", "NullMask", "Datatype", "DatatypeExtension", "Options", });
|
||||||
internal_static_greptime_v1_Column_Values_descriptor =
|
internal_static_greptime_v1_Column_Values_descriptor =
|
||||||
internal_static_greptime_v1_Column_descriptor.getNestedTypes().get(0);
|
internal_static_greptime_v1_Column_descriptor.getNestedTypes().get(0);
|
||||||
internal_static_greptime_v1_Column_Values_fieldAccessorTable = new
|
internal_static_greptime_v1_Column_Values_fieldAccessorTable = new
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -23337,6 +23337,33 @@ java.lang.String defaultValue);
|
|||||||
* <code>.greptime.v1.ColumnDataTypeExtension datatype_extension = 7;</code>
|
* <code>.greptime.v1.ColumnDataTypeExtension datatype_extension = 7;</code>
|
||||||
*/
|
*/
|
||||||
io.greptime.v1.Common.ColumnDataTypeExtensionOrBuilder getDatatypeExtensionOrBuilder();
|
io.greptime.v1.Common.ColumnDataTypeExtensionOrBuilder getDatatypeExtensionOrBuilder();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 8;</code>
|
||||||
|
* @return Whether the options field is set.
|
||||||
|
*/
|
||||||
|
boolean hasOptions();
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 8;</code>
|
||||||
|
* @return The options.
|
||||||
|
*/
|
||||||
|
io.greptime.v1.Common.ColumnOptions getOptions();
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 8;</code>
|
||||||
|
*/
|
||||||
|
io.greptime.v1.Common.ColumnOptionsOrBuilder getOptionsOrBuilder();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Protobuf type {@code greptime.v1.ColumnDef}
|
* Protobuf type {@code greptime.v1.ColumnDef}
|
||||||
@@ -23435,6 +23462,19 @@ java.lang.String defaultValue);
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case 66: {
|
||||||
|
io.greptime.v1.Common.ColumnOptions.Builder subBuilder = null;
|
||||||
|
if (options_ != null) {
|
||||||
|
subBuilder = options_.toBuilder();
|
||||||
|
}
|
||||||
|
options_ = input.readMessage(io.greptime.v1.Common.ColumnOptions.parser(), extensionRegistry);
|
||||||
|
if (subBuilder != null) {
|
||||||
|
subBuilder.mergeFrom(options_);
|
||||||
|
options_ = subBuilder.buildPartial();
|
||||||
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
if (!parseUnknownField(
|
if (!parseUnknownField(
|
||||||
input, unknownFields, extensionRegistry, tag)) {
|
input, unknownFields, extensionRegistry, tag)) {
|
||||||
@@ -23643,6 +23683,44 @@ java.lang.String defaultValue);
|
|||||||
return getDatatypeExtension();
|
return getDatatypeExtension();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static final int OPTIONS_FIELD_NUMBER = 8;
|
||||||
|
private io.greptime.v1.Common.ColumnOptions options_;
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 8;</code>
|
||||||
|
* @return Whether the options field is set.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public boolean hasOptions() {
|
||||||
|
return options_ != null;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 8;</code>
|
||||||
|
* @return The options.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public io.greptime.v1.Common.ColumnOptions getOptions() {
|
||||||
|
return options_ == null ? io.greptime.v1.Common.ColumnOptions.getDefaultInstance() : options_;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 8;</code>
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public io.greptime.v1.Common.ColumnOptionsOrBuilder getOptionsOrBuilder() {
|
||||||
|
return getOptions();
|
||||||
|
}
|
||||||
|
|
||||||
private byte memoizedIsInitialized = -1;
|
private byte memoizedIsInitialized = -1;
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public final boolean isInitialized() {
|
public final boolean isInitialized() {
|
||||||
@@ -23678,6 +23756,9 @@ java.lang.String defaultValue);
|
|||||||
if (datatypeExtension_ != null) {
|
if (datatypeExtension_ != null) {
|
||||||
output.writeMessage(7, getDatatypeExtension());
|
output.writeMessage(7, getDatatypeExtension());
|
||||||
}
|
}
|
||||||
|
if (options_ != null) {
|
||||||
|
output.writeMessage(8, getOptions());
|
||||||
|
}
|
||||||
unknownFields.writeTo(output);
|
unknownFields.writeTo(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -23713,6 +23794,10 @@ java.lang.String defaultValue);
|
|||||||
size += com.google.protobuf.CodedOutputStream
|
size += com.google.protobuf.CodedOutputStream
|
||||||
.computeMessageSize(7, getDatatypeExtension());
|
.computeMessageSize(7, getDatatypeExtension());
|
||||||
}
|
}
|
||||||
|
if (options_ != null) {
|
||||||
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeMessageSize(8, getOptions());
|
||||||
|
}
|
||||||
size += unknownFields.getSerializedSize();
|
size += unknownFields.getSerializedSize();
|
||||||
memoizedSize = size;
|
memoizedSize = size;
|
||||||
return size;
|
return size;
|
||||||
@@ -23743,6 +23828,11 @@ java.lang.String defaultValue);
|
|||||||
if (!getDatatypeExtension()
|
if (!getDatatypeExtension()
|
||||||
.equals(other.getDatatypeExtension())) return false;
|
.equals(other.getDatatypeExtension())) return false;
|
||||||
}
|
}
|
||||||
|
if (hasOptions() != other.hasOptions()) return false;
|
||||||
|
if (hasOptions()) {
|
||||||
|
if (!getOptions()
|
||||||
|
.equals(other.getOptions())) return false;
|
||||||
|
}
|
||||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -23771,6 +23861,10 @@ java.lang.String defaultValue);
|
|||||||
hash = (37 * hash) + DATATYPE_EXTENSION_FIELD_NUMBER;
|
hash = (37 * hash) + DATATYPE_EXTENSION_FIELD_NUMBER;
|
||||||
hash = (53 * hash) + getDatatypeExtension().hashCode();
|
hash = (53 * hash) + getDatatypeExtension().hashCode();
|
||||||
}
|
}
|
||||||
|
if (hasOptions()) {
|
||||||
|
hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + getOptions().hashCode();
|
||||||
|
}
|
||||||
hash = (29 * hash) + unknownFields.hashCode();
|
hash = (29 * hash) + unknownFields.hashCode();
|
||||||
memoizedHashCode = hash;
|
memoizedHashCode = hash;
|
||||||
return hash;
|
return hash;
|
||||||
@@ -23922,6 +24016,12 @@ java.lang.String defaultValue);
|
|||||||
datatypeExtension_ = null;
|
datatypeExtension_ = null;
|
||||||
datatypeExtensionBuilder_ = null;
|
datatypeExtensionBuilder_ = null;
|
||||||
}
|
}
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
options_ = null;
|
||||||
|
} else {
|
||||||
|
options_ = null;
|
||||||
|
optionsBuilder_ = null;
|
||||||
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -23959,6 +24059,11 @@ java.lang.String defaultValue);
|
|||||||
} else {
|
} else {
|
||||||
result.datatypeExtension_ = datatypeExtensionBuilder_.build();
|
result.datatypeExtension_ = datatypeExtensionBuilder_.build();
|
||||||
}
|
}
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
result.options_ = options_;
|
||||||
|
} else {
|
||||||
|
result.options_ = optionsBuilder_.build();
|
||||||
|
}
|
||||||
onBuilt();
|
onBuilt();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
@@ -24030,6 +24135,9 @@ java.lang.String defaultValue);
|
|||||||
if (other.hasDatatypeExtension()) {
|
if (other.hasDatatypeExtension()) {
|
||||||
mergeDatatypeExtension(other.getDatatypeExtension());
|
mergeDatatypeExtension(other.getDatatypeExtension());
|
||||||
}
|
}
|
||||||
|
if (other.hasOptions()) {
|
||||||
|
mergeOptions(other.getOptions());
|
||||||
|
}
|
||||||
this.mergeUnknownFields(other.unknownFields);
|
this.mergeUnknownFields(other.unknownFields);
|
||||||
onChanged();
|
onChanged();
|
||||||
return this;
|
return this;
|
||||||
@@ -24538,6 +24646,161 @@ java.lang.String defaultValue);
|
|||||||
}
|
}
|
||||||
return datatypeExtensionBuilder_;
|
return datatypeExtensionBuilder_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private io.greptime.v1.Common.ColumnOptions options_;
|
||||||
|
private com.google.protobuf.SingleFieldBuilderV3<
|
||||||
|
io.greptime.v1.Common.ColumnOptions, io.greptime.v1.Common.ColumnOptions.Builder, io.greptime.v1.Common.ColumnOptionsOrBuilder> optionsBuilder_;
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 8;</code>
|
||||||
|
* @return Whether the options field is set.
|
||||||
|
*/
|
||||||
|
public boolean hasOptions() {
|
||||||
|
return optionsBuilder_ != null || options_ != null;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 8;</code>
|
||||||
|
* @return The options.
|
||||||
|
*/
|
||||||
|
public io.greptime.v1.Common.ColumnOptions getOptions() {
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
return options_ == null ? io.greptime.v1.Common.ColumnOptions.getDefaultInstance() : options_;
|
||||||
|
} else {
|
||||||
|
return optionsBuilder_.getMessage();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 8;</code>
|
||||||
|
*/
|
||||||
|
public Builder setOptions(io.greptime.v1.Common.ColumnOptions value) {
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
if (value == null) {
|
||||||
|
throw new NullPointerException();
|
||||||
|
}
|
||||||
|
options_ = value;
|
||||||
|
onChanged();
|
||||||
|
} else {
|
||||||
|
optionsBuilder_.setMessage(value);
|
||||||
|
}
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 8;</code>
|
||||||
|
*/
|
||||||
|
public Builder setOptions(
|
||||||
|
io.greptime.v1.Common.ColumnOptions.Builder builderForValue) {
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
options_ = builderForValue.build();
|
||||||
|
onChanged();
|
||||||
|
} else {
|
||||||
|
optionsBuilder_.setMessage(builderForValue.build());
|
||||||
|
}
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 8;</code>
|
||||||
|
*/
|
||||||
|
public Builder mergeOptions(io.greptime.v1.Common.ColumnOptions value) {
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
if (options_ != null) {
|
||||||
|
options_ =
|
||||||
|
io.greptime.v1.Common.ColumnOptions.newBuilder(options_).mergeFrom(value).buildPartial();
|
||||||
|
} else {
|
||||||
|
options_ = value;
|
||||||
|
}
|
||||||
|
onChanged();
|
||||||
|
} else {
|
||||||
|
optionsBuilder_.mergeFrom(value);
|
||||||
|
}
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 8;</code>
|
||||||
|
*/
|
||||||
|
public Builder clearOptions() {
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
options_ = null;
|
||||||
|
onChanged();
|
||||||
|
} else {
|
||||||
|
options_ = null;
|
||||||
|
optionsBuilder_ = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 8;</code>
|
||||||
|
*/
|
||||||
|
public io.greptime.v1.Common.ColumnOptions.Builder getOptionsBuilder() {
|
||||||
|
|
||||||
|
onChanged();
|
||||||
|
return getOptionsFieldBuilder().getBuilder();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 8;</code>
|
||||||
|
*/
|
||||||
|
public io.greptime.v1.Common.ColumnOptionsOrBuilder getOptionsOrBuilder() {
|
||||||
|
if (optionsBuilder_ != null) {
|
||||||
|
return optionsBuilder_.getMessageOrBuilder();
|
||||||
|
} else {
|
||||||
|
return options_ == null ?
|
||||||
|
io.greptime.v1.Common.ColumnOptions.getDefaultInstance() : options_;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 8;</code>
|
||||||
|
*/
|
||||||
|
private com.google.protobuf.SingleFieldBuilderV3<
|
||||||
|
io.greptime.v1.Common.ColumnOptions, io.greptime.v1.Common.ColumnOptions.Builder, io.greptime.v1.Common.ColumnOptionsOrBuilder>
|
||||||
|
getOptionsFieldBuilder() {
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||||
|
io.greptime.v1.Common.ColumnOptions, io.greptime.v1.Common.ColumnOptions.Builder, io.greptime.v1.Common.ColumnOptionsOrBuilder>(
|
||||||
|
getOptions(),
|
||||||
|
getParentForChildren(),
|
||||||
|
isClean());
|
||||||
|
options_ = null;
|
||||||
|
}
|
||||||
|
return optionsBuilder_;
|
||||||
|
}
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public final Builder setUnknownFields(
|
public final Builder setUnknownFields(
|
||||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||||
@@ -25591,19 +25854,20 @@ java.lang.String defaultValue);
|
|||||||
"type_extension\030\003 \001(\0132$.greptime.v1.Colum" +
|
"type_extension\030\003 \001(\0132$.greptime.v1.Colum" +
|
||||||
"nDataTypeExtension\"\032\n\nDropColumn\022\014\n\004name" +
|
"nDataTypeExtension\"\032\n\nDropColumn\022\014\n\004name" +
|
||||||
"\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowId\022" +
|
"\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowId\022" +
|
||||||
"\n\n\002id\030\001 \001(\r\"\377\001\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022" +
|
"\n\n\002id\030\001 \001(\r\"\254\002\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022" +
|
||||||
".\n\tdata_type\030\002 \001(\0162\033.greptime.v1.ColumnD" +
|
".\n\tdata_type\030\002 \001(\0162\033.greptime.v1.ColumnD" +
|
||||||
"ataType\022\023\n\013is_nullable\030\003 \001(\010\022\032\n\022default_" +
|
"ataType\022\023\n\013is_nullable\030\003 \001(\010\022\032\n\022default_" +
|
||||||
"constraint\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001(\0162" +
|
"constraint\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001(\0162" +
|
||||||
"\031.greptime.v1.SemanticType\022\017\n\007comment\030\006 " +
|
"\031.greptime.v1.SemanticType\022\017\n\007comment\030\006 " +
|
||||||
"\001(\t\022@\n\022datatype_extension\030\007 \001(\0132$.grepti" +
|
"\001(\t\022@\n\022datatype_extension\030\007 \001(\0132$.grepti" +
|
||||||
"me.v1.ColumnDataTypeExtension\"\230\001\n\021AddCol" +
|
"me.v1.ColumnDataTypeExtension\022+\n\007options" +
|
||||||
"umnLocation\022B\n\rlocation_type\030\001 \001(\0162+.gre" +
|
"\030\010 \001(\0132\032.greptime.v1.ColumnOptions\"\230\001\n\021A" +
|
||||||
"ptime.v1.AddColumnLocation.LocationType\022" +
|
"ddColumnLocation\022B\n\rlocation_type\030\001 \001(\0162" +
|
||||||
"\031\n\021after_column_name\030\002 \001(\t\"$\n\014LocationTy" +
|
"+.greptime.v1.AddColumnLocation.Location" +
|
||||||
"pe\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001BL\n\016io.greptime." +
|
"Type\022\031\n\021after_column_name\030\002 \001(\t\"$\n\014Locat" +
|
||||||
"v1B\003DdlZ5github.com/GreptimeTeam/greptim" +
|
"ionType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001BL\n\016io.grep" +
|
||||||
"e-proto/go/greptime/v1b\006proto3"
|
"time.v1B\003DdlZ5github.com/GreptimeTeam/gr" +
|
||||||
|
"eptime-proto/go/greptime/v1b\006proto3"
|
||||||
};
|
};
|
||||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||||
.internalBuildGeneratedFileFrom(descriptorData,
|
.internalBuildGeneratedFileFrom(descriptorData,
|
||||||
@@ -25753,7 +26017,7 @@ java.lang.String defaultValue);
|
|||||||
internal_static_greptime_v1_ColumnDef_fieldAccessorTable = new
|
internal_static_greptime_v1_ColumnDef_fieldAccessorTable = new
|
||||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||||
internal_static_greptime_v1_ColumnDef_descriptor,
|
internal_static_greptime_v1_ColumnDef_descriptor,
|
||||||
new java.lang.String[] { "Name", "DataType", "IsNullable", "DefaultConstraint", "SemanticType", "Comment", "DatatypeExtension", });
|
new java.lang.String[] { "Name", "DataType", "IsNullable", "DefaultConstraint", "SemanticType", "Comment", "DatatypeExtension", "Options", });
|
||||||
internal_static_greptime_v1_AddColumnLocation_descriptor =
|
internal_static_greptime_v1_AddColumnLocation_descriptor =
|
||||||
getDescriptor().getMessageTypes().get(21);
|
getDescriptor().getMessageTypes().get(21);
|
||||||
internal_static_greptime_v1_AddColumnLocation_fieldAccessorTable = new
|
internal_static_greptime_v1_AddColumnLocation_fieldAccessorTable = new
|
||||||
|
|||||||
@@ -1245,6 +1245,33 @@ public final class RowData {
|
|||||||
* <code>.greptime.v1.ColumnDataTypeExtension datatype_extension = 4;</code>
|
* <code>.greptime.v1.ColumnDataTypeExtension datatype_extension = 4;</code>
|
||||||
*/
|
*/
|
||||||
io.greptime.v1.Common.ColumnDataTypeExtensionOrBuilder getDatatypeExtensionOrBuilder();
|
io.greptime.v1.Common.ColumnDataTypeExtensionOrBuilder getDatatypeExtensionOrBuilder();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 5;</code>
|
||||||
|
* @return Whether the options field is set.
|
||||||
|
*/
|
||||||
|
boolean hasOptions();
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 5;</code>
|
||||||
|
* @return The options.
|
||||||
|
*/
|
||||||
|
io.greptime.v1.Common.ColumnOptions getOptions();
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 5;</code>
|
||||||
|
*/
|
||||||
|
io.greptime.v1.Common.ColumnOptionsOrBuilder getOptionsOrBuilder();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Protobuf type {@code greptime.v1.ColumnSchema}
|
* Protobuf type {@code greptime.v1.ColumnSchema}
|
||||||
@@ -1325,6 +1352,19 @@ public final class RowData {
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case 42: {
|
||||||
|
io.greptime.v1.Common.ColumnOptions.Builder subBuilder = null;
|
||||||
|
if (options_ != null) {
|
||||||
|
subBuilder = options_.toBuilder();
|
||||||
|
}
|
||||||
|
options_ = input.readMessage(io.greptime.v1.Common.ColumnOptions.parser(), extensionRegistry);
|
||||||
|
if (subBuilder != null) {
|
||||||
|
subBuilder.mergeFrom(options_);
|
||||||
|
options_ = subBuilder.buildPartial();
|
||||||
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
if (!parseUnknownField(
|
if (!parseUnknownField(
|
||||||
input, unknownFields, extensionRegistry, tag)) {
|
input, unknownFields, extensionRegistry, tag)) {
|
||||||
@@ -1473,6 +1513,44 @@ public final class RowData {
|
|||||||
return getDatatypeExtension();
|
return getDatatypeExtension();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static final int OPTIONS_FIELD_NUMBER = 5;
|
||||||
|
private io.greptime.v1.Common.ColumnOptions options_;
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 5;</code>
|
||||||
|
* @return Whether the options field is set.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public boolean hasOptions() {
|
||||||
|
return options_ != null;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 5;</code>
|
||||||
|
* @return The options.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public io.greptime.v1.Common.ColumnOptions getOptions() {
|
||||||
|
return options_ == null ? io.greptime.v1.Common.ColumnOptions.getDefaultInstance() : options_;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 5;</code>
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public io.greptime.v1.Common.ColumnOptionsOrBuilder getOptionsOrBuilder() {
|
||||||
|
return getOptions();
|
||||||
|
}
|
||||||
|
|
||||||
private byte memoizedIsInitialized = -1;
|
private byte memoizedIsInitialized = -1;
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public final boolean isInitialized() {
|
public final boolean isInitialized() {
|
||||||
@@ -1499,6 +1577,9 @@ public final class RowData {
|
|||||||
if (datatypeExtension_ != null) {
|
if (datatypeExtension_ != null) {
|
||||||
output.writeMessage(4, getDatatypeExtension());
|
output.writeMessage(4, getDatatypeExtension());
|
||||||
}
|
}
|
||||||
|
if (options_ != null) {
|
||||||
|
output.writeMessage(5, getOptions());
|
||||||
|
}
|
||||||
unknownFields.writeTo(output);
|
unknownFields.writeTo(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1523,6 +1604,10 @@ public final class RowData {
|
|||||||
size += com.google.protobuf.CodedOutputStream
|
size += com.google.protobuf.CodedOutputStream
|
||||||
.computeMessageSize(4, getDatatypeExtension());
|
.computeMessageSize(4, getDatatypeExtension());
|
||||||
}
|
}
|
||||||
|
if (options_ != null) {
|
||||||
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeMessageSize(5, getOptions());
|
||||||
|
}
|
||||||
size += unknownFields.getSerializedSize();
|
size += unknownFields.getSerializedSize();
|
||||||
memoizedSize = size;
|
memoizedSize = size;
|
||||||
return size;
|
return size;
|
||||||
@@ -1547,6 +1632,11 @@ public final class RowData {
|
|||||||
if (!getDatatypeExtension()
|
if (!getDatatypeExtension()
|
||||||
.equals(other.getDatatypeExtension())) return false;
|
.equals(other.getDatatypeExtension())) return false;
|
||||||
}
|
}
|
||||||
|
if (hasOptions() != other.hasOptions()) return false;
|
||||||
|
if (hasOptions()) {
|
||||||
|
if (!getOptions()
|
||||||
|
.equals(other.getOptions())) return false;
|
||||||
|
}
|
||||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -1568,6 +1658,10 @@ public final class RowData {
|
|||||||
hash = (37 * hash) + DATATYPE_EXTENSION_FIELD_NUMBER;
|
hash = (37 * hash) + DATATYPE_EXTENSION_FIELD_NUMBER;
|
||||||
hash = (53 * hash) + getDatatypeExtension().hashCode();
|
hash = (53 * hash) + getDatatypeExtension().hashCode();
|
||||||
}
|
}
|
||||||
|
if (hasOptions()) {
|
||||||
|
hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + getOptions().hashCode();
|
||||||
|
}
|
||||||
hash = (29 * hash) + unknownFields.hashCode();
|
hash = (29 * hash) + unknownFields.hashCode();
|
||||||
memoizedHashCode = hash;
|
memoizedHashCode = hash;
|
||||||
return hash;
|
return hash;
|
||||||
@@ -1713,6 +1807,12 @@ public final class RowData {
|
|||||||
datatypeExtension_ = null;
|
datatypeExtension_ = null;
|
||||||
datatypeExtensionBuilder_ = null;
|
datatypeExtensionBuilder_ = null;
|
||||||
}
|
}
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
options_ = null;
|
||||||
|
} else {
|
||||||
|
options_ = null;
|
||||||
|
optionsBuilder_ = null;
|
||||||
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1747,6 +1847,11 @@ public final class RowData {
|
|||||||
} else {
|
} else {
|
||||||
result.datatypeExtension_ = datatypeExtensionBuilder_.build();
|
result.datatypeExtension_ = datatypeExtensionBuilder_.build();
|
||||||
}
|
}
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
result.options_ = options_;
|
||||||
|
} else {
|
||||||
|
result.options_ = optionsBuilder_.build();
|
||||||
|
}
|
||||||
onBuilt();
|
onBuilt();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
@@ -1808,6 +1913,9 @@ public final class RowData {
|
|||||||
if (other.hasDatatypeExtension()) {
|
if (other.hasDatatypeExtension()) {
|
||||||
mergeDatatypeExtension(other.getDatatypeExtension());
|
mergeDatatypeExtension(other.getDatatypeExtension());
|
||||||
}
|
}
|
||||||
|
if (other.hasOptions()) {
|
||||||
|
mergeOptions(other.getOptions());
|
||||||
|
}
|
||||||
this.mergeUnknownFields(other.unknownFields);
|
this.mergeUnknownFields(other.unknownFields);
|
||||||
onChanged();
|
onChanged();
|
||||||
return this;
|
return this;
|
||||||
@@ -2175,6 +2283,161 @@ public final class RowData {
|
|||||||
}
|
}
|
||||||
return datatypeExtensionBuilder_;
|
return datatypeExtensionBuilder_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private io.greptime.v1.Common.ColumnOptions options_;
|
||||||
|
private com.google.protobuf.SingleFieldBuilderV3<
|
||||||
|
io.greptime.v1.Common.ColumnOptions, io.greptime.v1.Common.ColumnOptions.Builder, io.greptime.v1.Common.ColumnOptionsOrBuilder> optionsBuilder_;
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 5;</code>
|
||||||
|
* @return Whether the options field is set.
|
||||||
|
*/
|
||||||
|
public boolean hasOptions() {
|
||||||
|
return optionsBuilder_ != null || options_ != null;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 5;</code>
|
||||||
|
* @return The options.
|
||||||
|
*/
|
||||||
|
public io.greptime.v1.Common.ColumnOptions getOptions() {
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
return options_ == null ? io.greptime.v1.Common.ColumnOptions.getDefaultInstance() : options_;
|
||||||
|
} else {
|
||||||
|
return optionsBuilder_.getMessage();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 5;</code>
|
||||||
|
*/
|
||||||
|
public Builder setOptions(io.greptime.v1.Common.ColumnOptions value) {
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
if (value == null) {
|
||||||
|
throw new NullPointerException();
|
||||||
|
}
|
||||||
|
options_ = value;
|
||||||
|
onChanged();
|
||||||
|
} else {
|
||||||
|
optionsBuilder_.setMessage(value);
|
||||||
|
}
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 5;</code>
|
||||||
|
*/
|
||||||
|
public Builder setOptions(
|
||||||
|
io.greptime.v1.Common.ColumnOptions.Builder builderForValue) {
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
options_ = builderForValue.build();
|
||||||
|
onChanged();
|
||||||
|
} else {
|
||||||
|
optionsBuilder_.setMessage(builderForValue.build());
|
||||||
|
}
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 5;</code>
|
||||||
|
*/
|
||||||
|
public Builder mergeOptions(io.greptime.v1.Common.ColumnOptions value) {
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
if (options_ != null) {
|
||||||
|
options_ =
|
||||||
|
io.greptime.v1.Common.ColumnOptions.newBuilder(options_).mergeFrom(value).buildPartial();
|
||||||
|
} else {
|
||||||
|
options_ = value;
|
||||||
|
}
|
||||||
|
onChanged();
|
||||||
|
} else {
|
||||||
|
optionsBuilder_.mergeFrom(value);
|
||||||
|
}
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 5;</code>
|
||||||
|
*/
|
||||||
|
public Builder clearOptions() {
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
options_ = null;
|
||||||
|
onChanged();
|
||||||
|
} else {
|
||||||
|
options_ = null;
|
||||||
|
optionsBuilder_ = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 5;</code>
|
||||||
|
*/
|
||||||
|
public io.greptime.v1.Common.ColumnOptions.Builder getOptionsBuilder() {
|
||||||
|
|
||||||
|
onChanged();
|
||||||
|
return getOptionsFieldBuilder().getBuilder();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 5;</code>
|
||||||
|
*/
|
||||||
|
public io.greptime.v1.Common.ColumnOptionsOrBuilder getOptionsOrBuilder() {
|
||||||
|
if (optionsBuilder_ != null) {
|
||||||
|
return optionsBuilder_.getMessageOrBuilder();
|
||||||
|
} else {
|
||||||
|
return options_ == null ?
|
||||||
|
io.greptime.v1.Common.ColumnOptions.getDefaultInstance() : options_;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* Additional column options.
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>.greptime.v1.ColumnOptions options = 5;</code>
|
||||||
|
*/
|
||||||
|
private com.google.protobuf.SingleFieldBuilderV3<
|
||||||
|
io.greptime.v1.Common.ColumnOptions, io.greptime.v1.Common.ColumnOptions.Builder, io.greptime.v1.Common.ColumnOptionsOrBuilder>
|
||||||
|
getOptionsFieldBuilder() {
|
||||||
|
if (optionsBuilder_ == null) {
|
||||||
|
optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||||
|
io.greptime.v1.Common.ColumnOptions, io.greptime.v1.Common.ColumnOptions.Builder, io.greptime.v1.Common.ColumnOptionsOrBuilder>(
|
||||||
|
getOptions(),
|
||||||
|
getParentForChildren(),
|
||||||
|
isClean());
|
||||||
|
options_ = null;
|
||||||
|
}
|
||||||
|
return optionsBuilder_;
|
||||||
|
}
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public final Builder setUnknownFields(
|
public final Builder setUnknownFields(
|
||||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||||
@@ -6719,36 +6982,37 @@ public final class RowData {
|
|||||||
"\n\025greptime/v1/row.proto\022\013greptime.v1\032\030gr" +
|
"\n\025greptime/v1/row.proto\022\013greptime.v1\032\030gr" +
|
||||||
"eptime/v1/common.proto\"Q\n\004Rows\022)\n\006schema" +
|
"eptime/v1/common.proto\"Q\n\004Rows\022)\n\006schema" +
|
||||||
"\030\001 \003(\0132\031.greptime.v1.ColumnSchema\022\036\n\004row" +
|
"\030\001 \003(\0132\031.greptime.v1.ColumnSchema\022\036\n\004row" +
|
||||||
"s\030\002 \003(\0132\020.greptime.v1.Row\"\306\001\n\014ColumnSche" +
|
"s\030\002 \003(\0132\020.greptime.v1.Row\"\363\001\n\014ColumnSche" +
|
||||||
"ma\022\023\n\013column_name\030\001 \001(\t\022-\n\010datatype\030\002 \001(" +
|
"ma\022\023\n\013column_name\030\001 \001(\t\022-\n\010datatype\030\002 \001(" +
|
||||||
"\0162\033.greptime.v1.ColumnDataType\0220\n\rsemant" +
|
"\0162\033.greptime.v1.ColumnDataType\0220\n\rsemant" +
|
||||||
"ic_type\030\003 \001(\0162\031.greptime.v1.SemanticType" +
|
"ic_type\030\003 \001(\0162\031.greptime.v1.SemanticType" +
|
||||||
"\022@\n\022datatype_extension\030\004 \001(\0132$.greptime." +
|
"\022@\n\022datatype_extension\030\004 \001(\0132$.greptime." +
|
||||||
"v1.ColumnDataTypeExtension\")\n\003Row\022\"\n\006val" +
|
"v1.ColumnDataTypeExtension\022+\n\007options\030\005 " +
|
||||||
"ues\030\001 \003(\0132\022.greptime.v1.Value\"\274\006\n\005Value\022" +
|
"\001(\0132\032.greptime.v1.ColumnOptions\")\n\003Row\022\"" +
|
||||||
"\022\n\010i8_value\030\001 \001(\005H\000\022\023\n\ti16_value\030\002 \001(\005H\000" +
|
"\n\006values\030\001 \003(\0132\022.greptime.v1.Value\"\274\006\n\005V" +
|
||||||
"\022\023\n\ti32_value\030\003 \001(\005H\000\022\023\n\ti64_value\030\004 \001(\003" +
|
"alue\022\022\n\010i8_value\030\001 \001(\005H\000\022\023\n\ti16_value\030\002 " +
|
||||||
"H\000\022\022\n\010u8_value\030\005 \001(\rH\000\022\023\n\tu16_value\030\006 \001(" +
|
"\001(\005H\000\022\023\n\ti32_value\030\003 \001(\005H\000\022\023\n\ti64_value\030" +
|
||||||
"\rH\000\022\023\n\tu32_value\030\007 \001(\rH\000\022\023\n\tu64_value\030\010 " +
|
"\004 \001(\003H\000\022\022\n\010u8_value\030\005 \001(\rH\000\022\023\n\tu16_value" +
|
||||||
"\001(\004H\000\022\023\n\tf32_value\030\t \001(\002H\000\022\023\n\tf64_value\030" +
|
"\030\006 \001(\rH\000\022\023\n\tu32_value\030\007 \001(\rH\000\022\023\n\tu64_val" +
|
||||||
"\n \001(\001H\000\022\024\n\nbool_value\030\013 \001(\010H\000\022\026\n\014binary_" +
|
"ue\030\010 \001(\004H\000\022\023\n\tf32_value\030\t \001(\002H\000\022\023\n\tf64_v" +
|
||||||
"value\030\014 \001(\014H\000\022\026\n\014string_value\030\r \001(\tH\000\022\024\n" +
|
"alue\030\n \001(\001H\000\022\024\n\nbool_value\030\013 \001(\010H\000\022\026\n\014bi" +
|
||||||
"\ndate_value\030\016 \001(\005H\000\022\030\n\016datetime_value\030\017 " +
|
"nary_value\030\014 \001(\014H\000\022\026\n\014string_value\030\r \001(\t" +
|
||||||
"\001(\003H\000\022 \n\026timestamp_second_value\030\020 \001(\003H\000\022" +
|
"H\000\022\024\n\ndate_value\030\016 \001(\005H\000\022\030\n\016datetime_val" +
|
||||||
"%\n\033timestamp_millisecond_value\030\021 \001(\003H\000\022%" +
|
"ue\030\017 \001(\003H\000\022 \n\026timestamp_second_value\030\020 \001" +
|
||||||
"\n\033timestamp_microsecond_value\030\022 \001(\003H\000\022$\n" +
|
"(\003H\000\022%\n\033timestamp_millisecond_value\030\021 \001(" +
|
||||||
"\032timestamp_nanosecond_value\030\023 \001(\003H\000\022\033\n\021t" +
|
"\003H\000\022%\n\033timestamp_microsecond_value\030\022 \001(\003" +
|
||||||
"ime_second_value\030\024 \001(\003H\000\022 \n\026time_millise" +
|
"H\000\022$\n\032timestamp_nanosecond_value\030\023 \001(\003H\000" +
|
||||||
"cond_value\030\025 \001(\003H\000\022 \n\026time_microsecond_v" +
|
"\022\033\n\021time_second_value\030\024 \001(\003H\000\022 \n\026time_mi" +
|
||||||
"alue\030\026 \001(\003H\000\022\037\n\025time_nanosecond_value\030\027 " +
|
"llisecond_value\030\025 \001(\003H\000\022 \n\026time_microsec" +
|
||||||
"\001(\003H\000\022#\n\031interval_year_month_value\030\030 \001(\005" +
|
"ond_value\030\026 \001(\003H\000\022\037\n\025time_nanosecond_val" +
|
||||||
"H\000\022!\n\027interval_day_time_value\030\031 \001(\003H\000\022J\n" +
|
"ue\030\027 \001(\003H\000\022#\n\031interval_year_month_value\030" +
|
||||||
"\035interval_month_day_nano_value\030\032 \001(\0132!.g" +
|
"\030 \001(\005H\000\022!\n\027interval_day_time_value\030\031 \001(\003" +
|
||||||
"reptime.v1.IntervalMonthDayNanoH\000\0223\n\020dec" +
|
"H\000\022J\n\035interval_month_day_nano_value\030\032 \001(" +
|
||||||
"imal128_value\030\037 \001(\0132\027.greptime.v1.Decima" +
|
"\0132!.greptime.v1.IntervalMonthDayNanoH\000\0223" +
|
||||||
"l128H\000B\014\n\nvalue_dataBP\n\016io.greptime.v1B\007" +
|
"\n\020decimal128_value\030\037 \001(\0132\027.greptime.v1.D" +
|
||||||
"RowDataZ5github.com/GreptimeTeam/greptim" +
|
"ecimal128H\000B\014\n\nvalue_dataBP\n\016io.greptime" +
|
||||||
"e-proto/go/greptime/v1b\006proto3"
|
".v1B\007RowDataZ5github.com/GreptimeTeam/gr" +
|
||||||
|
"eptime-proto/go/greptime/v1b\006proto3"
|
||||||
};
|
};
|
||||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||||
.internalBuildGeneratedFileFrom(descriptorData,
|
.internalBuildGeneratedFileFrom(descriptorData,
|
||||||
@@ -6766,7 +7030,7 @@ public final class RowData {
|
|||||||
internal_static_greptime_v1_ColumnSchema_fieldAccessorTable = new
|
internal_static_greptime_v1_ColumnSchema_fieldAccessorTable = new
|
||||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||||
internal_static_greptime_v1_ColumnSchema_descriptor,
|
internal_static_greptime_v1_ColumnSchema_descriptor,
|
||||||
new java.lang.String[] { "ColumnName", "Datatype", "SemanticType", "DatatypeExtension", });
|
new java.lang.String[] { "ColumnName", "Datatype", "SemanticType", "DatatypeExtension", "Options", });
|
||||||
internal_static_greptime_v1_Row_descriptor =
|
internal_static_greptime_v1_Row_descriptor =
|
||||||
getDescriptor().getMessageTypes().get(2);
|
getDescriptor().getMessageTypes().get(2);
|
||||||
internal_static_greptime_v1_Row_fieldAccessorTable = new
|
internal_static_greptime_v1_Row_fieldAccessorTable = new
|
||||||
|
|||||||
@@ -80,4 +80,7 @@ message Column {
|
|||||||
|
|
||||||
// Extension for ColumnDataType.
|
// Extension for ColumnDataType.
|
||||||
ColumnDataTypeExtension datatype_extension = 6;
|
ColumnDataTypeExtension datatype_extension = 6;
|
||||||
|
|
||||||
|
// Additional column options.
|
||||||
|
ColumnOptions options = 7;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -139,3 +139,27 @@ message DecimalTypeExtension {
|
|||||||
int32 precision = 1;
|
int32 precision = 1;
|
||||||
int32 scale = 2;
|
int32 scale = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Additional options for the column.
|
||||||
|
message ColumnOptions {
|
||||||
|
// Supported keys:
|
||||||
|
// "fulltext":
|
||||||
|
// A JSON encoded string containing full-text search options for the column.
|
||||||
|
//
|
||||||
|
// The fulltext options JSON structure:
|
||||||
|
// {
|
||||||
|
// "enable": bool, // Indicates whether full-text search is
|
||||||
|
// // enabled for the column.
|
||||||
|
//
|
||||||
|
// "analyzer": string, // The language-specific text analyzer to
|
||||||
|
// // use for indexing and searching text.
|
||||||
|
// // Supported values: ["English" (Default), "Chinese"].
|
||||||
|
//
|
||||||
|
// "case-sensitive": bool // Indicates whether the text should be treated
|
||||||
|
// // as case-sensitive during full-text search.
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// Example:
|
||||||
|
// "fulltext": "{\"enable\": true, \"analyzer\": \"English\", \"case-sensitive\": false}"
|
||||||
|
map<string, string> options = 1;
|
||||||
|
}
|
||||||
|
|||||||
@@ -169,8 +169,12 @@ message ColumnDef {
|
|||||||
bytes default_constraint = 4;
|
bytes default_constraint = 4;
|
||||||
SemanticType semantic_type = 5;
|
SemanticType semantic_type = 5;
|
||||||
string comment = 6;
|
string comment = 6;
|
||||||
|
|
||||||
// Extension for ColumnDataType.
|
// Extension for ColumnDataType.
|
||||||
ColumnDataTypeExtension datatype_extension = 7;
|
ColumnDataTypeExtension datatype_extension = 7;
|
||||||
|
|
||||||
|
// Additional column options.
|
||||||
|
ColumnOptions options = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
message AddColumnLocation {
|
message AddColumnLocation {
|
||||||
|
|||||||
@@ -31,8 +31,12 @@ message ColumnSchema {
|
|||||||
string column_name = 1;
|
string column_name = 1;
|
||||||
ColumnDataType datatype = 2;
|
ColumnDataType datatype = 2;
|
||||||
SemanticType semantic_type = 3;
|
SemanticType semantic_type = 3;
|
||||||
|
|
||||||
// Extension for ColumnDataType.
|
// Extension for ColumnDataType.
|
||||||
ColumnDataTypeExtension datatype_extension = 4;
|
ColumnDataTypeExtension datatype_extension = 4;
|
||||||
|
|
||||||
|
// Additional column options.
|
||||||
|
ColumnOptions options = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
message Row { repeated Value values = 1; }
|
message Row { repeated Value values = 1; }
|
||||||
|
|||||||
Reference in New Issue
Block a user