refactor: remove duration type (#158)
This commit is contained in:
@@ -70,14 +70,6 @@ PROTOBUF_CONSTEXPR Column_Values::Column_Values(
|
||||
, /*decltype(_impl_.interval_day_time_values_)*/{}
|
||||
, /*decltype(_impl_._interval_day_time_values_cached_byte_size_)*/{0}
|
||||
, /*decltype(_impl_.interval_month_day_nano_values_)*/{}
|
||||
, /*decltype(_impl_.duration_second_values_)*/{}
|
||||
, /*decltype(_impl_._duration_second_values_cached_byte_size_)*/{0}
|
||||
, /*decltype(_impl_.duration_millisecond_values_)*/{}
|
||||
, /*decltype(_impl_._duration_millisecond_values_cached_byte_size_)*/{0}
|
||||
, /*decltype(_impl_.duration_microsecond_values_)*/{}
|
||||
, /*decltype(_impl_._duration_microsecond_values_cached_byte_size_)*/{0}
|
||||
, /*decltype(_impl_.duration_nanosecond_values_)*/{}
|
||||
, /*decltype(_impl_._duration_nanosecond_values_cached_byte_size_)*/{0}
|
||||
, /*decltype(_impl_.decimal128_values_)*/{}
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
struct Column_ValuesDefaultTypeInternal {
|
||||
@@ -146,10 +138,6 @@ const uint32_t TableStruct_greptime_2fv1_2fcolumn_2eproto::offsets[] PROTOBUF_SE
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.interval_year_month_values_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.interval_day_time_values_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.interval_month_day_nano_values_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.duration_second_values_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.duration_millisecond_values_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.duration_microsecond_values_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.duration_nanosecond_values_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.decimal128_values_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column, _internal_metadata_),
|
||||
@@ -166,7 +154,7 @@ const uint32_t TableStruct_greptime_2fv1_2fcolumn_2eproto::offsets[] PROTOBUF_SE
|
||||
};
|
||||
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||||
{ 0, -1, -1, sizeof(::greptime::v1::Column_Values)},
|
||||
{ 37, -1, -1, sizeof(::greptime::v1::Column)},
|
||||
{ 33, -1, -1, sizeof(::greptime::v1::Column)},
|
||||
};
|
||||
|
||||
static const ::_pb::Message* const file_default_instances[] = {
|
||||
@@ -176,14 +164,14 @@ static const ::_pb::Message* const file_default_instances[] = {
|
||||
|
||||
const char descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
|
||||
"\n\030greptime/v1/column.proto\022\013greptime.v1\032"
|
||||
"\030greptime/v1/common.proto\"\244\t\n\006Column\022\023\n\013"
|
||||
"\030greptime/v1/common.proto\"\226\010\n\006Column\022\023\n\013"
|
||||
"column_name\030\001 \001(\t\0220\n\rsemantic_type\030\002 \001(\016"
|
||||
"2\031.greptime.v1.SemanticType\022*\n\006values\030\003 "
|
||||
"\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."
|
||||
"v1.ColumnDataType\022@\n\022datatype_extension\030"
|
||||
"\006 \001(\0132$.greptime.v1.ColumnDataTypeExtens"
|
||||
"ion\032\242\007\n\006Values\022\021\n\ti8_values\030\001 \003(\005\022\022\n\ni16"
|
||||
"ion\032\224\006\n\006Values\022\021\n\ti8_values\030\001 \003(\005\022\022\n\ni16"
|
||||
"_values\030\002 \003(\005\022\022\n\ni32_values\030\003 \003(\005\022\022\n\ni64"
|
||||
"_values\030\004 \003(\003\022\021\n\tu8_values\030\005 \003(\r\022\022\n\nu16_"
|
||||
"values\030\006 \003(\r\022\022\n\nu32_values\030\007 \003(\r\022\022\n\nu64_"
|
||||
@@ -201,21 +189,18 @@ const char descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto[] PROTOBUF_S
|
||||
"\032interval_year_month_values\030\030 \003(\005\022 \n\030int"
|
||||
"erval_day_time_values\030\031 \003(\003\022I\n\036interval_"
|
||||
"month_day_nano_values\030\032 \003(\0132!.greptime.v"
|
||||
"1.IntervalMonthDayNano\022\036\n\026duration_secon"
|
||||
"d_values\030\033 \003(\003\022#\n\033duration_millisecond_v"
|
||||
"alues\030\034 \003(\003\022#\n\033duration_microsecond_valu"
|
||||
"es\030\035 \003(\003\022\"\n\032duration_nanosecond_values\030\036"
|
||||
" \003(\003\0222\n\021decimal128_values\030\037 \003(\0132\027.grepti"
|
||||
"me.v1.Decimal128BP\n\016io.greptime.v1B\007Colu"
|
||||
"mnsZ5github.com/GreptimeTeam/greptime-pr"
|
||||
"oto/go/greptime/v1b\006proto3"
|
||||
"1.IntervalMonthDayNano\0222\n\021decimal128_val"
|
||||
"ues\030\037 \003(\0132\027.greptime.v1.Decimal128BP\n\016io"
|
||||
".greptime.v1B\007ColumnsZ5github.com/Grepti"
|
||||
"meTeam/greptime-proto/go/greptime/v1b\006pr"
|
||||
"oto3"
|
||||
;
|
||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fcolumn_2eproto_deps[1] = {
|
||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||
};
|
||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcolumn_2eproto_once;
|
||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcolumn_2eproto = {
|
||||
false, false, 1346, descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto,
|
||||
false, false, 1204, descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto,
|
||||
"greptime/v1/column.proto",
|
||||
&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,
|
||||
@@ -299,14 +284,6 @@ Column_Values::Column_Values(const Column_Values& from)
|
||||
, decltype(_impl_.interval_day_time_values_){from._impl_.interval_day_time_values_}
|
||||
, /*decltype(_impl_._interval_day_time_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.interval_month_day_nano_values_){from._impl_.interval_month_day_nano_values_}
|
||||
, decltype(_impl_.duration_second_values_){from._impl_.duration_second_values_}
|
||||
, /*decltype(_impl_._duration_second_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.duration_millisecond_values_){from._impl_.duration_millisecond_values_}
|
||||
, /*decltype(_impl_._duration_millisecond_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.duration_microsecond_values_){from._impl_.duration_microsecond_values_}
|
||||
, /*decltype(_impl_._duration_microsecond_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.duration_nanosecond_values_){from._impl_.duration_nanosecond_values_}
|
||||
, /*decltype(_impl_._duration_nanosecond_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.decimal128_values_){from._impl_.decimal128_values_}
|
||||
, /*decltype(_impl_._cached_size_)*/{}};
|
||||
|
||||
@@ -365,14 +342,6 @@ inline void Column_Values::SharedCtor(
|
||||
, decltype(_impl_.interval_day_time_values_){arena}
|
||||
, /*decltype(_impl_._interval_day_time_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.interval_month_day_nano_values_){arena}
|
||||
, decltype(_impl_.duration_second_values_){arena}
|
||||
, /*decltype(_impl_._duration_second_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.duration_millisecond_values_){arena}
|
||||
, /*decltype(_impl_._duration_millisecond_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.duration_microsecond_values_){arena}
|
||||
, /*decltype(_impl_._duration_microsecond_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.duration_nanosecond_values_){arena}
|
||||
, /*decltype(_impl_._duration_nanosecond_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.decimal128_values_){arena}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
};
|
||||
@@ -415,10 +384,6 @@ inline void Column_Values::SharedDtor() {
|
||||
_impl_.interval_year_month_values_.~RepeatedField();
|
||||
_impl_.interval_day_time_values_.~RepeatedField();
|
||||
_impl_.interval_month_day_nano_values_.~RepeatedPtrField();
|
||||
_impl_.duration_second_values_.~RepeatedField();
|
||||
_impl_.duration_millisecond_values_.~RepeatedField();
|
||||
_impl_.duration_microsecond_values_.~RepeatedField();
|
||||
_impl_.duration_nanosecond_values_.~RepeatedField();
|
||||
_impl_.decimal128_values_.~RepeatedPtrField();
|
||||
}
|
||||
|
||||
@@ -458,10 +423,6 @@ void Column_Values::Clear() {
|
||||
_impl_.interval_year_month_values_.Clear();
|
||||
_impl_.interval_day_time_values_.Clear();
|
||||
_impl_.interval_month_day_nano_values_.Clear();
|
||||
_impl_.duration_second_values_.Clear();
|
||||
_impl_.duration_millisecond_values_.Clear();
|
||||
_impl_.duration_microsecond_values_.Clear();
|
||||
_impl_.duration_nanosecond_values_.Clear();
|
||||
_impl_.decimal128_values_.Clear();
|
||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||
}
|
||||
@@ -767,50 +728,6 @@ const char* Column_Values::_InternalParse(const char* ptr, ::_pbi::ParseContext*
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// repeated int64 duration_second_values = 27;
|
||||
case 27:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 218)) {
|
||||
ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt64Parser(_internal_mutable_duration_second_values(), ptr, ctx);
|
||||
CHK_(ptr);
|
||||
} else if (static_cast<uint8_t>(tag) == 216) {
|
||||
_internal_add_duration_second_values(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr));
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// repeated int64 duration_millisecond_values = 28;
|
||||
case 28:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 226)) {
|
||||
ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt64Parser(_internal_mutable_duration_millisecond_values(), ptr, ctx);
|
||||
CHK_(ptr);
|
||||
} else if (static_cast<uint8_t>(tag) == 224) {
|
||||
_internal_add_duration_millisecond_values(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr));
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// repeated int64 duration_microsecond_values = 29;
|
||||
case 29:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 234)) {
|
||||
ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt64Parser(_internal_mutable_duration_microsecond_values(), ptr, ctx);
|
||||
CHK_(ptr);
|
||||
} else if (static_cast<uint8_t>(tag) == 232) {
|
||||
_internal_add_duration_microsecond_values(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr));
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// repeated int64 duration_nanosecond_values = 30;
|
||||
case 30:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 242)) {
|
||||
ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt64Parser(_internal_mutable_duration_nanosecond_values(), ptr, ctx);
|
||||
CHK_(ptr);
|
||||
} else if (static_cast<uint8_t>(tag) == 240) {
|
||||
_internal_add_duration_nanosecond_values(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr));
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// repeated .greptime.v1.Decimal128 decimal128_values = 31;
|
||||
case 31:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 250)) {
|
||||
@@ -1072,42 +989,6 @@ uint8_t* Column_Values::_InternalSerialize(
|
||||
InternalWriteMessage(26, repfield, repfield.GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// repeated int64 duration_second_values = 27;
|
||||
{
|
||||
int byte_size = _impl_._duration_second_values_cached_byte_size_.load(std::memory_order_relaxed);
|
||||
if (byte_size > 0) {
|
||||
target = stream->WriteInt64Packed(
|
||||
27, _internal_duration_second_values(), byte_size, target);
|
||||
}
|
||||
}
|
||||
|
||||
// repeated int64 duration_millisecond_values = 28;
|
||||
{
|
||||
int byte_size = _impl_._duration_millisecond_values_cached_byte_size_.load(std::memory_order_relaxed);
|
||||
if (byte_size > 0) {
|
||||
target = stream->WriteInt64Packed(
|
||||
28, _internal_duration_millisecond_values(), byte_size, target);
|
||||
}
|
||||
}
|
||||
|
||||
// repeated int64 duration_microsecond_values = 29;
|
||||
{
|
||||
int byte_size = _impl_._duration_microsecond_values_cached_byte_size_.load(std::memory_order_relaxed);
|
||||
if (byte_size > 0) {
|
||||
target = stream->WriteInt64Packed(
|
||||
29, _internal_duration_microsecond_values(), byte_size, target);
|
||||
}
|
||||
}
|
||||
|
||||
// repeated int64 duration_nanosecond_values = 30;
|
||||
{
|
||||
int byte_size = _impl_._duration_nanosecond_values_cached_byte_size_.load(std::memory_order_relaxed);
|
||||
if (byte_size > 0) {
|
||||
target = stream->WriteInt64Packed(
|
||||
30, _internal_duration_nanosecond_values(), byte_size, target);
|
||||
}
|
||||
}
|
||||
|
||||
// repeated .greptime.v1.Decimal128 decimal128_values = 31;
|
||||
for (unsigned i = 0,
|
||||
n = static_cast<unsigned>(this->_internal_decimal128_values_size()); i < n; i++) {
|
||||
@@ -1468,62 +1349,6 @@ size_t Column_Values::ByteSizeLong() const {
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
|
||||
}
|
||||
|
||||
// repeated int64 duration_second_values = 27;
|
||||
{
|
||||
size_t data_size = ::_pbi::WireFormatLite::
|
||||
Int64Size(this->_impl_.duration_second_values_);
|
||||
if (data_size > 0) {
|
||||
total_size += 2 +
|
||||
::_pbi::WireFormatLite::Int32Size(static_cast<int32_t>(data_size));
|
||||
}
|
||||
int cached_size = ::_pbi::ToCachedSize(data_size);
|
||||
_impl_._duration_second_values_cached_byte_size_.store(cached_size,
|
||||
std::memory_order_relaxed);
|
||||
total_size += data_size;
|
||||
}
|
||||
|
||||
// repeated int64 duration_millisecond_values = 28;
|
||||
{
|
||||
size_t data_size = ::_pbi::WireFormatLite::
|
||||
Int64Size(this->_impl_.duration_millisecond_values_);
|
||||
if (data_size > 0) {
|
||||
total_size += 2 +
|
||||
::_pbi::WireFormatLite::Int32Size(static_cast<int32_t>(data_size));
|
||||
}
|
||||
int cached_size = ::_pbi::ToCachedSize(data_size);
|
||||
_impl_._duration_millisecond_values_cached_byte_size_.store(cached_size,
|
||||
std::memory_order_relaxed);
|
||||
total_size += data_size;
|
||||
}
|
||||
|
||||
// repeated int64 duration_microsecond_values = 29;
|
||||
{
|
||||
size_t data_size = ::_pbi::WireFormatLite::
|
||||
Int64Size(this->_impl_.duration_microsecond_values_);
|
||||
if (data_size > 0) {
|
||||
total_size += 2 +
|
||||
::_pbi::WireFormatLite::Int32Size(static_cast<int32_t>(data_size));
|
||||
}
|
||||
int cached_size = ::_pbi::ToCachedSize(data_size);
|
||||
_impl_._duration_microsecond_values_cached_byte_size_.store(cached_size,
|
||||
std::memory_order_relaxed);
|
||||
total_size += data_size;
|
||||
}
|
||||
|
||||
// repeated int64 duration_nanosecond_values = 30;
|
||||
{
|
||||
size_t data_size = ::_pbi::WireFormatLite::
|
||||
Int64Size(this->_impl_.duration_nanosecond_values_);
|
||||
if (data_size > 0) {
|
||||
total_size += 2 +
|
||||
::_pbi::WireFormatLite::Int32Size(static_cast<int32_t>(data_size));
|
||||
}
|
||||
int cached_size = ::_pbi::ToCachedSize(data_size);
|
||||
_impl_._duration_nanosecond_values_cached_byte_size_.store(cached_size,
|
||||
std::memory_order_relaxed);
|
||||
total_size += data_size;
|
||||
}
|
||||
|
||||
// repeated .greptime.v1.Decimal128 decimal128_values = 31;
|
||||
total_size += 2UL * this->_internal_decimal128_values_size();
|
||||
for (const auto& msg : this->_impl_.decimal128_values_) {
|
||||
@@ -1575,10 +1400,6 @@ void Column_Values::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::
|
||||
_this->_impl_.interval_year_month_values_.MergeFrom(from._impl_.interval_year_month_values_);
|
||||
_this->_impl_.interval_day_time_values_.MergeFrom(from._impl_.interval_day_time_values_);
|
||||
_this->_impl_.interval_month_day_nano_values_.MergeFrom(from._impl_.interval_month_day_nano_values_);
|
||||
_this->_impl_.duration_second_values_.MergeFrom(from._impl_.duration_second_values_);
|
||||
_this->_impl_.duration_millisecond_values_.MergeFrom(from._impl_.duration_millisecond_values_);
|
||||
_this->_impl_.duration_microsecond_values_.MergeFrom(from._impl_.duration_microsecond_values_);
|
||||
_this->_impl_.duration_nanosecond_values_.MergeFrom(from._impl_.duration_nanosecond_values_);
|
||||
_this->_impl_.decimal128_values_.MergeFrom(from._impl_.decimal128_values_);
|
||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
@@ -1623,10 +1444,6 @@ void Column_Values::InternalSwap(Column_Values* other) {
|
||||
_impl_.interval_year_month_values_.InternalSwap(&other->_impl_.interval_year_month_values_);
|
||||
_impl_.interval_day_time_values_.InternalSwap(&other->_impl_.interval_day_time_values_);
|
||||
_impl_.interval_month_day_nano_values_.InternalSwap(&other->_impl_.interval_month_day_nano_values_);
|
||||
_impl_.duration_second_values_.InternalSwap(&other->_impl_.duration_second_values_);
|
||||
_impl_.duration_millisecond_values_.InternalSwap(&other->_impl_.duration_millisecond_values_);
|
||||
_impl_.duration_microsecond_values_.InternalSwap(&other->_impl_.duration_microsecond_values_);
|
||||
_impl_.duration_nanosecond_values_.InternalSwap(&other->_impl_.duration_nanosecond_values_);
|
||||
_impl_.decimal128_values_.InternalSwap(&other->_impl_.decimal128_values_);
|
||||
}
|
||||
|
||||
|
||||
@@ -211,10 +211,6 @@ class Column_Values final :
|
||||
kIntervalYearMonthValuesFieldNumber = 24,
|
||||
kIntervalDayTimeValuesFieldNumber = 25,
|
||||
kIntervalMonthDayNanoValuesFieldNumber = 26,
|
||||
kDurationSecondValuesFieldNumber = 27,
|
||||
kDurationMillisecondValuesFieldNumber = 28,
|
||||
kDurationMicrosecondValuesFieldNumber = 29,
|
||||
kDurationNanosecondValuesFieldNumber = 30,
|
||||
kDecimal128ValuesFieldNumber = 31,
|
||||
};
|
||||
// repeated int32 i8_values = 1;
|
||||
@@ -789,94 +785,6 @@ class Column_Values final :
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::IntervalMonthDayNano >&
|
||||
interval_month_day_nano_values() const;
|
||||
|
||||
// repeated int64 duration_second_values = 27;
|
||||
int duration_second_values_size() const;
|
||||
private:
|
||||
int _internal_duration_second_values_size() const;
|
||||
public:
|
||||
void clear_duration_second_values();
|
||||
private:
|
||||
int64_t _internal_duration_second_values(int index) const;
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
_internal_duration_second_values() const;
|
||||
void _internal_add_duration_second_values(int64_t value);
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
_internal_mutable_duration_second_values();
|
||||
public:
|
||||
int64_t duration_second_values(int index) const;
|
||||
void set_duration_second_values(int index, int64_t value);
|
||||
void add_duration_second_values(int64_t value);
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
duration_second_values() const;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
mutable_duration_second_values();
|
||||
|
||||
// repeated int64 duration_millisecond_values = 28;
|
||||
int duration_millisecond_values_size() const;
|
||||
private:
|
||||
int _internal_duration_millisecond_values_size() const;
|
||||
public:
|
||||
void clear_duration_millisecond_values();
|
||||
private:
|
||||
int64_t _internal_duration_millisecond_values(int index) const;
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
_internal_duration_millisecond_values() const;
|
||||
void _internal_add_duration_millisecond_values(int64_t value);
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
_internal_mutable_duration_millisecond_values();
|
||||
public:
|
||||
int64_t duration_millisecond_values(int index) const;
|
||||
void set_duration_millisecond_values(int index, int64_t value);
|
||||
void add_duration_millisecond_values(int64_t value);
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
duration_millisecond_values() const;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
mutable_duration_millisecond_values();
|
||||
|
||||
// repeated int64 duration_microsecond_values = 29;
|
||||
int duration_microsecond_values_size() const;
|
||||
private:
|
||||
int _internal_duration_microsecond_values_size() const;
|
||||
public:
|
||||
void clear_duration_microsecond_values();
|
||||
private:
|
||||
int64_t _internal_duration_microsecond_values(int index) const;
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
_internal_duration_microsecond_values() const;
|
||||
void _internal_add_duration_microsecond_values(int64_t value);
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
_internal_mutable_duration_microsecond_values();
|
||||
public:
|
||||
int64_t duration_microsecond_values(int index) const;
|
||||
void set_duration_microsecond_values(int index, int64_t value);
|
||||
void add_duration_microsecond_values(int64_t value);
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
duration_microsecond_values() const;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
mutable_duration_microsecond_values();
|
||||
|
||||
// repeated int64 duration_nanosecond_values = 30;
|
||||
int duration_nanosecond_values_size() const;
|
||||
private:
|
||||
int _internal_duration_nanosecond_values_size() const;
|
||||
public:
|
||||
void clear_duration_nanosecond_values();
|
||||
private:
|
||||
int64_t _internal_duration_nanosecond_values(int index) const;
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
_internal_duration_nanosecond_values() const;
|
||||
void _internal_add_duration_nanosecond_values(int64_t value);
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
_internal_mutable_duration_nanosecond_values();
|
||||
public:
|
||||
int64_t duration_nanosecond_values(int index) const;
|
||||
void set_duration_nanosecond_values(int index, int64_t value);
|
||||
void add_duration_nanosecond_values(int64_t value);
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
duration_nanosecond_values() const;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
mutable_duration_nanosecond_values();
|
||||
|
||||
// repeated .greptime.v1.Decimal128 decimal128_values = 31;
|
||||
int decimal128_values_size() const;
|
||||
private:
|
||||
@@ -949,14 +857,6 @@ class Column_Values final :
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > interval_day_time_values_;
|
||||
mutable std::atomic<int> _interval_day_time_values_cached_byte_size_;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::IntervalMonthDayNano > interval_month_day_nano_values_;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > duration_second_values_;
|
||||
mutable std::atomic<int> _duration_second_values_cached_byte_size_;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > duration_millisecond_values_;
|
||||
mutable std::atomic<int> _duration_millisecond_values_cached_byte_size_;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > duration_microsecond_values_;
|
||||
mutable std::atomic<int> _duration_microsecond_values_cached_byte_size_;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > duration_nanosecond_values_;
|
||||
mutable std::atomic<int> _duration_nanosecond_values_cached_byte_size_;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::Decimal128 > decimal128_values_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
@@ -2475,194 +2375,6 @@ Column_Values::interval_month_day_nano_values() const {
|
||||
return _impl_.interval_month_day_nano_values_;
|
||||
}
|
||||
|
||||
// repeated int64 duration_second_values = 27;
|
||||
inline int Column_Values::_internal_duration_second_values_size() const {
|
||||
return _impl_.duration_second_values_.size();
|
||||
}
|
||||
inline int Column_Values::duration_second_values_size() const {
|
||||
return _internal_duration_second_values_size();
|
||||
}
|
||||
inline void Column_Values::clear_duration_second_values() {
|
||||
_impl_.duration_second_values_.Clear();
|
||||
}
|
||||
inline int64_t Column_Values::_internal_duration_second_values(int index) const {
|
||||
return _impl_.duration_second_values_.Get(index);
|
||||
}
|
||||
inline int64_t Column_Values::duration_second_values(int index) const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.Column.Values.duration_second_values)
|
||||
return _internal_duration_second_values(index);
|
||||
}
|
||||
inline void Column_Values::set_duration_second_values(int index, int64_t value) {
|
||||
_impl_.duration_second_values_.Set(index, value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.Column.Values.duration_second_values)
|
||||
}
|
||||
inline void Column_Values::_internal_add_duration_second_values(int64_t value) {
|
||||
_impl_.duration_second_values_.Add(value);
|
||||
}
|
||||
inline void Column_Values::add_duration_second_values(int64_t value) {
|
||||
_internal_add_duration_second_values(value);
|
||||
// @@protoc_insertion_point(field_add:greptime.v1.Column.Values.duration_second_values)
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
Column_Values::_internal_duration_second_values() const {
|
||||
return _impl_.duration_second_values_;
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
Column_Values::duration_second_values() const {
|
||||
// @@protoc_insertion_point(field_list:greptime.v1.Column.Values.duration_second_values)
|
||||
return _internal_duration_second_values();
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
Column_Values::_internal_mutable_duration_second_values() {
|
||||
return &_impl_.duration_second_values_;
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
Column_Values::mutable_duration_second_values() {
|
||||
// @@protoc_insertion_point(field_mutable_list:greptime.v1.Column.Values.duration_second_values)
|
||||
return _internal_mutable_duration_second_values();
|
||||
}
|
||||
|
||||
// repeated int64 duration_millisecond_values = 28;
|
||||
inline int Column_Values::_internal_duration_millisecond_values_size() const {
|
||||
return _impl_.duration_millisecond_values_.size();
|
||||
}
|
||||
inline int Column_Values::duration_millisecond_values_size() const {
|
||||
return _internal_duration_millisecond_values_size();
|
||||
}
|
||||
inline void Column_Values::clear_duration_millisecond_values() {
|
||||
_impl_.duration_millisecond_values_.Clear();
|
||||
}
|
||||
inline int64_t Column_Values::_internal_duration_millisecond_values(int index) const {
|
||||
return _impl_.duration_millisecond_values_.Get(index);
|
||||
}
|
||||
inline int64_t Column_Values::duration_millisecond_values(int index) const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.Column.Values.duration_millisecond_values)
|
||||
return _internal_duration_millisecond_values(index);
|
||||
}
|
||||
inline void Column_Values::set_duration_millisecond_values(int index, int64_t value) {
|
||||
_impl_.duration_millisecond_values_.Set(index, value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.Column.Values.duration_millisecond_values)
|
||||
}
|
||||
inline void Column_Values::_internal_add_duration_millisecond_values(int64_t value) {
|
||||
_impl_.duration_millisecond_values_.Add(value);
|
||||
}
|
||||
inline void Column_Values::add_duration_millisecond_values(int64_t value) {
|
||||
_internal_add_duration_millisecond_values(value);
|
||||
// @@protoc_insertion_point(field_add:greptime.v1.Column.Values.duration_millisecond_values)
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
Column_Values::_internal_duration_millisecond_values() const {
|
||||
return _impl_.duration_millisecond_values_;
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
Column_Values::duration_millisecond_values() const {
|
||||
// @@protoc_insertion_point(field_list:greptime.v1.Column.Values.duration_millisecond_values)
|
||||
return _internal_duration_millisecond_values();
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
Column_Values::_internal_mutable_duration_millisecond_values() {
|
||||
return &_impl_.duration_millisecond_values_;
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
Column_Values::mutable_duration_millisecond_values() {
|
||||
// @@protoc_insertion_point(field_mutable_list:greptime.v1.Column.Values.duration_millisecond_values)
|
||||
return _internal_mutable_duration_millisecond_values();
|
||||
}
|
||||
|
||||
// repeated int64 duration_microsecond_values = 29;
|
||||
inline int Column_Values::_internal_duration_microsecond_values_size() const {
|
||||
return _impl_.duration_microsecond_values_.size();
|
||||
}
|
||||
inline int Column_Values::duration_microsecond_values_size() const {
|
||||
return _internal_duration_microsecond_values_size();
|
||||
}
|
||||
inline void Column_Values::clear_duration_microsecond_values() {
|
||||
_impl_.duration_microsecond_values_.Clear();
|
||||
}
|
||||
inline int64_t Column_Values::_internal_duration_microsecond_values(int index) const {
|
||||
return _impl_.duration_microsecond_values_.Get(index);
|
||||
}
|
||||
inline int64_t Column_Values::duration_microsecond_values(int index) const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.Column.Values.duration_microsecond_values)
|
||||
return _internal_duration_microsecond_values(index);
|
||||
}
|
||||
inline void Column_Values::set_duration_microsecond_values(int index, int64_t value) {
|
||||
_impl_.duration_microsecond_values_.Set(index, value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.Column.Values.duration_microsecond_values)
|
||||
}
|
||||
inline void Column_Values::_internal_add_duration_microsecond_values(int64_t value) {
|
||||
_impl_.duration_microsecond_values_.Add(value);
|
||||
}
|
||||
inline void Column_Values::add_duration_microsecond_values(int64_t value) {
|
||||
_internal_add_duration_microsecond_values(value);
|
||||
// @@protoc_insertion_point(field_add:greptime.v1.Column.Values.duration_microsecond_values)
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
Column_Values::_internal_duration_microsecond_values() const {
|
||||
return _impl_.duration_microsecond_values_;
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
Column_Values::duration_microsecond_values() const {
|
||||
// @@protoc_insertion_point(field_list:greptime.v1.Column.Values.duration_microsecond_values)
|
||||
return _internal_duration_microsecond_values();
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
Column_Values::_internal_mutable_duration_microsecond_values() {
|
||||
return &_impl_.duration_microsecond_values_;
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
Column_Values::mutable_duration_microsecond_values() {
|
||||
// @@protoc_insertion_point(field_mutable_list:greptime.v1.Column.Values.duration_microsecond_values)
|
||||
return _internal_mutable_duration_microsecond_values();
|
||||
}
|
||||
|
||||
// repeated int64 duration_nanosecond_values = 30;
|
||||
inline int Column_Values::_internal_duration_nanosecond_values_size() const {
|
||||
return _impl_.duration_nanosecond_values_.size();
|
||||
}
|
||||
inline int Column_Values::duration_nanosecond_values_size() const {
|
||||
return _internal_duration_nanosecond_values_size();
|
||||
}
|
||||
inline void Column_Values::clear_duration_nanosecond_values() {
|
||||
_impl_.duration_nanosecond_values_.Clear();
|
||||
}
|
||||
inline int64_t Column_Values::_internal_duration_nanosecond_values(int index) const {
|
||||
return _impl_.duration_nanosecond_values_.Get(index);
|
||||
}
|
||||
inline int64_t Column_Values::duration_nanosecond_values(int index) const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.Column.Values.duration_nanosecond_values)
|
||||
return _internal_duration_nanosecond_values(index);
|
||||
}
|
||||
inline void Column_Values::set_duration_nanosecond_values(int index, int64_t value) {
|
||||
_impl_.duration_nanosecond_values_.Set(index, value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.Column.Values.duration_nanosecond_values)
|
||||
}
|
||||
inline void Column_Values::_internal_add_duration_nanosecond_values(int64_t value) {
|
||||
_impl_.duration_nanosecond_values_.Add(value);
|
||||
}
|
||||
inline void Column_Values::add_duration_nanosecond_values(int64_t value) {
|
||||
_internal_add_duration_nanosecond_values(value);
|
||||
// @@protoc_insertion_point(field_add:greptime.v1.Column.Values.duration_nanosecond_values)
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
Column_Values::_internal_duration_nanosecond_values() const {
|
||||
return _impl_.duration_nanosecond_values_;
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
Column_Values::duration_nanosecond_values() const {
|
||||
// @@protoc_insertion_point(field_list:greptime.v1.Column.Values.duration_nanosecond_values)
|
||||
return _internal_duration_nanosecond_values();
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
Column_Values::_internal_mutable_duration_nanosecond_values() {
|
||||
return &_impl_.duration_nanosecond_values_;
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
Column_Values::mutable_duration_nanosecond_values() {
|
||||
// @@protoc_insertion_point(field_mutable_list:greptime.v1.Column.Values.duration_nanosecond_values)
|
||||
return _internal_mutable_duration_nanosecond_values();
|
||||
}
|
||||
|
||||
// repeated .greptime.v1.Decimal128 decimal128_values = 31;
|
||||
inline int Column_Values::_internal_decimal128_values_size() const {
|
||||
return _impl_.decimal128_values_.size();
|
||||
|
||||
@@ -429,7 +429,7 @@ const char descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto[] PROTOBUF_S
|
||||
"lTypeExtensionH\000B\n\n\010type_ext\"8\n\024DecimalT"
|
||||
"ypeExtension\022\021\n\tprecision\030\001 \001(\005\022\r\n\005scale"
|
||||
"\030\002 \001(\005*1\n\014SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD"
|
||||
"\020\001\022\r\n\tTIMESTAMP\020\002*\270\004\n\016ColumnDataType\022\013\n\007"
|
||||
"\020\001\022\r\n\tTIMESTAMP\020\002*\326\003\n\016ColumnDataType\022\013\n\007"
|
||||
"BOOLEAN\020\000\022\010\n\004INT8\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020"
|
||||
"\003\022\t\n\005INT64\020\004\022\t\n\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006U"
|
||||
"INT32\020\007\022\n\n\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOA"
|
||||
@@ -440,16 +440,14 @@ const char descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto[] PROTOBUF_S
|
||||
"IME_SECOND\020\023\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TI"
|
||||
"ME_MICROSECOND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n"
|
||||
"\023INTERVAL_YEAR_MONTH\020\027\022\025\n\021INTERVAL_DAY_T"
|
||||
"IME\020\030\022\033\n\027INTERVAL_MONTH_DAY_NANO\020\031\022\023\n\017DU"
|
||||
"RATION_SECOND\020\032\022\030\n\024DURATION_MILLISECOND\020"
|
||||
"\033\022\030\n\024DURATION_MICROSECOND\020\034\022\027\n\023DURATION_"
|
||||
"NANOSECOND\020\035\022\016\n\nDECIMAL128\020\036BO\n\016io.grept"
|
||||
"ime.v1B\006CommonZ5github.com/GreptimeTeam/"
|
||||
"greptime-proto/go/greptime/v1b\006proto3"
|
||||
"IME\020\030\022\033\n\027INTERVAL_MONTH_DAY_NANO\020\031\022\016\n\nDE"
|
||||
"CIMAL128\020\036BO\n\016io.greptime.v1B\006CommonZ5gi"
|
||||
"thub.com/GreptimeTeam/greptime-proto/go/"
|
||||
"greptime/v1b\006proto3"
|
||||
;
|
||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcommon_2eproto_once;
|
||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcommon_2eproto = {
|
||||
false, false, 1797, descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto,
|
||||
false, false, 1699, descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto,
|
||||
"greptime/v1/common.proto",
|
||||
&descriptor_table_greptime_2fv1_2fcommon_2eproto_once, nullptr, 0, 15,
|
||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fcommon_2eproto::offsets,
|
||||
@@ -511,10 +509,6 @@ bool ColumnDataType_IsValid(int value) {
|
||||
case 23:
|
||||
case 24:
|
||||
case 25:
|
||||
case 26:
|
||||
case 27:
|
||||
case 28:
|
||||
case 29:
|
||||
case 30:
|
||||
return true;
|
||||
default:
|
||||
|
||||
@@ -170,10 +170,6 @@ enum ColumnDataType : int {
|
||||
INTERVAL_YEAR_MONTH = 23,
|
||||
INTERVAL_DAY_TIME = 24,
|
||||
INTERVAL_MONTH_DAY_NANO = 25,
|
||||
DURATION_SECOND = 26,
|
||||
DURATION_MILLISECOND = 27,
|
||||
DURATION_MICROSECOND = 28,
|
||||
DURATION_NANOSECOND = 29,
|
||||
DECIMAL128 = 30,
|
||||
ColumnDataType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
|
||||
ColumnDataType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
|
||||
|
||||
+7
-147
@@ -144,10 +144,6 @@ const uint32_t TableStruct_greptime_2fv1_2frow_2eproto::offsets[] PROTOBUF_SECTI
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Value, _impl_.value_data_),
|
||||
};
|
||||
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||||
@@ -174,7 +170,7 @@ const char descriptor_table_protodef_greptime_2fv1_2frow_2eproto[] PROTOBUF_SECT
|
||||
"ic_type\030\003 \001(\0162\031.greptime.v1.SemanticType"
|
||||
"\022@\n\022datatype_extension\030\004 \001(\0132$.greptime."
|
||||
"v1.ColumnDataTypeExtension\")\n\003Row\022\"\n\006val"
|
||||
"ues\030\001 \003(\0132\022.greptime.v1.Value\"\316\007\n\005Value\022"
|
||||
"ues\030\001 \003(\0132\022.greptime.v1.Value\"\274\006\n\005Value\022"
|
||||
"\022\n\010i8_value\030\001 \001(\005H\000\022\023\n\ti16_value\030\002 \001(\005H\000"
|
||||
"\022\023\n\ti32_value\030\003 \001(\005H\000\022\023\n\ti64_value\030\004 \001(\003"
|
||||
"H\000\022\022\n\010u8_value\030\005 \001(\rH\000\022\023\n\tu16_value\030\006 \001("
|
||||
@@ -193,22 +189,18 @@ const char descriptor_table_protodef_greptime_2fv1_2frow_2eproto[] PROTOBUF_SECT
|
||||
"\001(\003H\000\022#\n\031interval_year_month_value\030\030 \001(\005"
|
||||
"H\000\022!\n\027interval_day_time_value\030\031 \001(\003H\000\022J\n"
|
||||
"\035interval_month_day_nano_value\030\032 \001(\0132!.g"
|
||||
"reptime.v1.IntervalMonthDayNanoH\000\022\037\n\025dur"
|
||||
"ation_second_value\030\033 \001(\003H\000\022$\n\032duration_m"
|
||||
"illisecond_value\030\034 \001(\003H\000\022$\n\032duration_mic"
|
||||
"rosecond_value\030\035 \001(\003H\000\022#\n\031duration_nanos"
|
||||
"econd_value\030\036 \001(\003H\000\0223\n\020decimal128_value\030"
|
||||
"\037 \001(\0132\027.greptime.v1.Decimal128H\000B\014\n\nvalu"
|
||||
"e_dataBP\n\016io.greptime.v1B\007RowDataZ5githu"
|
||||
"b.com/GreptimeTeam/greptime-proto/go/gre"
|
||||
"ptime/v1b\006proto3"
|
||||
"reptime.v1.IntervalMonthDayNanoH\000\0223\n\020dec"
|
||||
"imal128_value\030\037 \001(\0132\027.greptime.v1.Decima"
|
||||
"l128H\000B\014\n\nvalue_dataBP\n\016io.greptime.v1B\007"
|
||||
"RowDataZ5github.com/GreptimeTeam/greptim"
|
||||
"e-proto/go/greptime/v1b\006proto3"
|
||||
;
|
||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2frow_2eproto_deps[1] = {
|
||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||
};
|
||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2frow_2eproto_once;
|
||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2frow_2eproto = {
|
||||
false, false, 1456, descriptor_table_protodef_greptime_2fv1_2frow_2eproto,
|
||||
false, false, 1310, descriptor_table_protodef_greptime_2fv1_2frow_2eproto,
|
||||
"greptime/v1/row.proto",
|
||||
&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,
|
||||
@@ -1130,22 +1122,6 @@ Value::Value(const Value& from)
|
||||
from._internal_interval_month_day_nano_value());
|
||||
break;
|
||||
}
|
||||
case kDurationSecondValue: {
|
||||
_this->_internal_set_duration_second_value(from._internal_duration_second_value());
|
||||
break;
|
||||
}
|
||||
case kDurationMillisecondValue: {
|
||||
_this->_internal_set_duration_millisecond_value(from._internal_duration_millisecond_value());
|
||||
break;
|
||||
}
|
||||
case kDurationMicrosecondValue: {
|
||||
_this->_internal_set_duration_microsecond_value(from._internal_duration_microsecond_value());
|
||||
break;
|
||||
}
|
||||
case kDurationNanosecondValue: {
|
||||
_this->_internal_set_duration_nanosecond_value(from._internal_duration_nanosecond_value());
|
||||
break;
|
||||
}
|
||||
case kDecimal128Value: {
|
||||
_this->_internal_mutable_decimal128_value()->::greptime::v1::Decimal128::MergeFrom(
|
||||
from._internal_decimal128_value());
|
||||
@@ -1299,22 +1275,6 @@ void Value::clear_value_data() {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case kDurationSecondValue: {
|
||||
// No need to clear
|
||||
break;
|
||||
}
|
||||
case kDurationMillisecondValue: {
|
||||
// No need to clear
|
||||
break;
|
||||
}
|
||||
case kDurationMicrosecondValue: {
|
||||
// No need to clear
|
||||
break;
|
||||
}
|
||||
case kDurationNanosecondValue: {
|
||||
// No need to clear
|
||||
break;
|
||||
}
|
||||
case kDecimal128Value: {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.value_data_.decimal128_value_;
|
||||
@@ -1556,38 +1516,6 @@ const char* Value::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// int64 duration_second_value = 27;
|
||||
case 27:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 216)) {
|
||||
_internal_set_duration_second_value(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr));
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// int64 duration_millisecond_value = 28;
|
||||
case 28:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 224)) {
|
||||
_internal_set_duration_millisecond_value(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr));
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// int64 duration_microsecond_value = 29;
|
||||
case 29:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 232)) {
|
||||
_internal_set_duration_microsecond_value(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr));
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// int64 duration_nanosecond_value = 30;
|
||||
case 30:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 240)) {
|
||||
_internal_set_duration_nanosecond_value(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr));
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// .greptime.v1.Decimal128 decimal128_value = 31;
|
||||
case 31:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 250)) {
|
||||
@@ -1786,30 +1714,6 @@ uint8_t* Value::_InternalSerialize(
|
||||
_Internal::interval_month_day_nano_value(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// int64 duration_second_value = 27;
|
||||
if (_internal_has_duration_second_value()) {
|
||||
target = stream->EnsureSpace(target);
|
||||
target = ::_pbi::WireFormatLite::WriteInt64ToArray(27, this->_internal_duration_second_value(), target);
|
||||
}
|
||||
|
||||
// int64 duration_millisecond_value = 28;
|
||||
if (_internal_has_duration_millisecond_value()) {
|
||||
target = stream->EnsureSpace(target);
|
||||
target = ::_pbi::WireFormatLite::WriteInt64ToArray(28, this->_internal_duration_millisecond_value(), target);
|
||||
}
|
||||
|
||||
// int64 duration_microsecond_value = 29;
|
||||
if (_internal_has_duration_microsecond_value()) {
|
||||
target = stream->EnsureSpace(target);
|
||||
target = ::_pbi::WireFormatLite::WriteInt64ToArray(29, this->_internal_duration_microsecond_value(), target);
|
||||
}
|
||||
|
||||
// int64 duration_nanosecond_value = 30;
|
||||
if (_internal_has_duration_nanosecond_value()) {
|
||||
target = stream->EnsureSpace(target);
|
||||
target = ::_pbi::WireFormatLite::WriteInt64ToArray(30, this->_internal_duration_nanosecond_value(), target);
|
||||
}
|
||||
|
||||
// .greptime.v1.Decimal128 decimal128_value = 31;
|
||||
if (_internal_has_decimal128_value()) {
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
@@ -1990,34 +1894,6 @@ size_t Value::ByteSizeLong() const {
|
||||
*_impl_.value_data_.interval_month_day_nano_value_);
|
||||
break;
|
||||
}
|
||||
// int64 duration_second_value = 27;
|
||||
case kDurationSecondValue: {
|
||||
total_size += 2 +
|
||||
::_pbi::WireFormatLite::Int64Size(
|
||||
this->_internal_duration_second_value());
|
||||
break;
|
||||
}
|
||||
// int64 duration_millisecond_value = 28;
|
||||
case kDurationMillisecondValue: {
|
||||
total_size += 2 +
|
||||
::_pbi::WireFormatLite::Int64Size(
|
||||
this->_internal_duration_millisecond_value());
|
||||
break;
|
||||
}
|
||||
// int64 duration_microsecond_value = 29;
|
||||
case kDurationMicrosecondValue: {
|
||||
total_size += 2 +
|
||||
::_pbi::WireFormatLite::Int64Size(
|
||||
this->_internal_duration_microsecond_value());
|
||||
break;
|
||||
}
|
||||
// int64 duration_nanosecond_value = 30;
|
||||
case kDurationNanosecondValue: {
|
||||
total_size += 2 +
|
||||
::_pbi::WireFormatLite::Int64Size(
|
||||
this->_internal_duration_nanosecond_value());
|
||||
break;
|
||||
}
|
||||
// .greptime.v1.Decimal128 decimal128_value = 31;
|
||||
case kDecimal128Value: {
|
||||
total_size += 2 +
|
||||
@@ -2153,22 +2029,6 @@ void Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF
|
||||
from._internal_interval_month_day_nano_value());
|
||||
break;
|
||||
}
|
||||
case kDurationSecondValue: {
|
||||
_this->_internal_set_duration_second_value(from._internal_duration_second_value());
|
||||
break;
|
||||
}
|
||||
case kDurationMillisecondValue: {
|
||||
_this->_internal_set_duration_millisecond_value(from._internal_duration_millisecond_value());
|
||||
break;
|
||||
}
|
||||
case kDurationMicrosecondValue: {
|
||||
_this->_internal_set_duration_microsecond_value(from._internal_duration_microsecond_value());
|
||||
break;
|
||||
}
|
||||
case kDurationNanosecondValue: {
|
||||
_this->_internal_set_duration_nanosecond_value(from._internal_duration_nanosecond_value());
|
||||
break;
|
||||
}
|
||||
case kDecimal128Value: {
|
||||
_this->_internal_mutable_decimal128_value()->::greptime::v1::Decimal128::MergeFrom(
|
||||
from._internal_decimal128_value());
|
||||
|
||||
@@ -671,10 +671,6 @@ class Value final :
|
||||
kIntervalYearMonthValue = 24,
|
||||
kIntervalDayTimeValue = 25,
|
||||
kIntervalMonthDayNanoValue = 26,
|
||||
kDurationSecondValue = 27,
|
||||
kDurationMillisecondValue = 28,
|
||||
kDurationMicrosecondValue = 29,
|
||||
kDurationNanosecondValue = 30,
|
||||
kDecimal128Value = 31,
|
||||
VALUE_DATA_NOT_SET = 0,
|
||||
};
|
||||
@@ -783,10 +779,6 @@ class Value final :
|
||||
kIntervalYearMonthValueFieldNumber = 24,
|
||||
kIntervalDayTimeValueFieldNumber = 25,
|
||||
kIntervalMonthDayNanoValueFieldNumber = 26,
|
||||
kDurationSecondValueFieldNumber = 27,
|
||||
kDurationMillisecondValueFieldNumber = 28,
|
||||
kDurationMicrosecondValueFieldNumber = 29,
|
||||
kDurationNanosecondValueFieldNumber = 30,
|
||||
kDecimal128ValueFieldNumber = 31,
|
||||
};
|
||||
// int32 i8_value = 1;
|
||||
@@ -1142,58 +1134,6 @@ class Value final :
|
||||
::greptime::v1::IntervalMonthDayNano* interval_month_day_nano_value);
|
||||
::greptime::v1::IntervalMonthDayNano* unsafe_arena_release_interval_month_day_nano_value();
|
||||
|
||||
// int64 duration_second_value = 27;
|
||||
bool has_duration_second_value() const;
|
||||
private:
|
||||
bool _internal_has_duration_second_value() const;
|
||||
public:
|
||||
void clear_duration_second_value();
|
||||
int64_t duration_second_value() const;
|
||||
void set_duration_second_value(int64_t value);
|
||||
private:
|
||||
int64_t _internal_duration_second_value() const;
|
||||
void _internal_set_duration_second_value(int64_t value);
|
||||
public:
|
||||
|
||||
// int64 duration_millisecond_value = 28;
|
||||
bool has_duration_millisecond_value() const;
|
||||
private:
|
||||
bool _internal_has_duration_millisecond_value() const;
|
||||
public:
|
||||
void clear_duration_millisecond_value();
|
||||
int64_t duration_millisecond_value() const;
|
||||
void set_duration_millisecond_value(int64_t value);
|
||||
private:
|
||||
int64_t _internal_duration_millisecond_value() const;
|
||||
void _internal_set_duration_millisecond_value(int64_t value);
|
||||
public:
|
||||
|
||||
// int64 duration_microsecond_value = 29;
|
||||
bool has_duration_microsecond_value() const;
|
||||
private:
|
||||
bool _internal_has_duration_microsecond_value() const;
|
||||
public:
|
||||
void clear_duration_microsecond_value();
|
||||
int64_t duration_microsecond_value() const;
|
||||
void set_duration_microsecond_value(int64_t value);
|
||||
private:
|
||||
int64_t _internal_duration_microsecond_value() const;
|
||||
void _internal_set_duration_microsecond_value(int64_t value);
|
||||
public:
|
||||
|
||||
// int64 duration_nanosecond_value = 30;
|
||||
bool has_duration_nanosecond_value() const;
|
||||
private:
|
||||
bool _internal_has_duration_nanosecond_value() const;
|
||||
public:
|
||||
void clear_duration_nanosecond_value();
|
||||
int64_t duration_nanosecond_value() const;
|
||||
void set_duration_nanosecond_value(int64_t value);
|
||||
private:
|
||||
int64_t _internal_duration_nanosecond_value() const;
|
||||
void _internal_set_duration_nanosecond_value(int64_t value);
|
||||
public:
|
||||
|
||||
// .greptime.v1.Decimal128 decimal128_value = 31;
|
||||
bool has_decimal128_value() const;
|
||||
private:
|
||||
@@ -1243,10 +1183,6 @@ class Value final :
|
||||
void set_has_interval_year_month_value();
|
||||
void set_has_interval_day_time_value();
|
||||
void set_has_interval_month_day_nano_value();
|
||||
void set_has_duration_second_value();
|
||||
void set_has_duration_millisecond_value();
|
||||
void set_has_duration_microsecond_value();
|
||||
void set_has_duration_nanosecond_value();
|
||||
void set_has_decimal128_value();
|
||||
|
||||
inline bool has_value_data() const;
|
||||
@@ -1285,10 +1221,6 @@ class Value final :
|
||||
int32_t interval_year_month_value_;
|
||||
int64_t interval_day_time_value_;
|
||||
::greptime::v1::IntervalMonthDayNano* interval_month_day_nano_value_;
|
||||
int64_t duration_second_value_;
|
||||
int64_t duration_millisecond_value_;
|
||||
int64_t duration_microsecond_value_;
|
||||
int64_t duration_nanosecond_value_;
|
||||
::greptime::v1::Decimal128* decimal128_value_;
|
||||
} value_data_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
@@ -2710,158 +2642,6 @@ inline ::greptime::v1::IntervalMonthDayNano* Value::mutable_interval_month_day_n
|
||||
return _msg;
|
||||
}
|
||||
|
||||
// int64 duration_second_value = 27;
|
||||
inline bool Value::_internal_has_duration_second_value() const {
|
||||
return value_data_case() == kDurationSecondValue;
|
||||
}
|
||||
inline bool Value::has_duration_second_value() const {
|
||||
return _internal_has_duration_second_value();
|
||||
}
|
||||
inline void Value::set_has_duration_second_value() {
|
||||
_impl_._oneof_case_[0] = kDurationSecondValue;
|
||||
}
|
||||
inline void Value::clear_duration_second_value() {
|
||||
if (_internal_has_duration_second_value()) {
|
||||
_impl_.value_data_.duration_second_value_ = int64_t{0};
|
||||
clear_has_value_data();
|
||||
}
|
||||
}
|
||||
inline int64_t Value::_internal_duration_second_value() const {
|
||||
if (_internal_has_duration_second_value()) {
|
||||
return _impl_.value_data_.duration_second_value_;
|
||||
}
|
||||
return int64_t{0};
|
||||
}
|
||||
inline void Value::_internal_set_duration_second_value(int64_t value) {
|
||||
if (!_internal_has_duration_second_value()) {
|
||||
clear_value_data();
|
||||
set_has_duration_second_value();
|
||||
}
|
||||
_impl_.value_data_.duration_second_value_ = value;
|
||||
}
|
||||
inline int64_t Value::duration_second_value() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.Value.duration_second_value)
|
||||
return _internal_duration_second_value();
|
||||
}
|
||||
inline void Value::set_duration_second_value(int64_t value) {
|
||||
_internal_set_duration_second_value(value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.Value.duration_second_value)
|
||||
}
|
||||
|
||||
// int64 duration_millisecond_value = 28;
|
||||
inline bool Value::_internal_has_duration_millisecond_value() const {
|
||||
return value_data_case() == kDurationMillisecondValue;
|
||||
}
|
||||
inline bool Value::has_duration_millisecond_value() const {
|
||||
return _internal_has_duration_millisecond_value();
|
||||
}
|
||||
inline void Value::set_has_duration_millisecond_value() {
|
||||
_impl_._oneof_case_[0] = kDurationMillisecondValue;
|
||||
}
|
||||
inline void Value::clear_duration_millisecond_value() {
|
||||
if (_internal_has_duration_millisecond_value()) {
|
||||
_impl_.value_data_.duration_millisecond_value_ = int64_t{0};
|
||||
clear_has_value_data();
|
||||
}
|
||||
}
|
||||
inline int64_t Value::_internal_duration_millisecond_value() const {
|
||||
if (_internal_has_duration_millisecond_value()) {
|
||||
return _impl_.value_data_.duration_millisecond_value_;
|
||||
}
|
||||
return int64_t{0};
|
||||
}
|
||||
inline void Value::_internal_set_duration_millisecond_value(int64_t value) {
|
||||
if (!_internal_has_duration_millisecond_value()) {
|
||||
clear_value_data();
|
||||
set_has_duration_millisecond_value();
|
||||
}
|
||||
_impl_.value_data_.duration_millisecond_value_ = value;
|
||||
}
|
||||
inline int64_t Value::duration_millisecond_value() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.Value.duration_millisecond_value)
|
||||
return _internal_duration_millisecond_value();
|
||||
}
|
||||
inline void Value::set_duration_millisecond_value(int64_t value) {
|
||||
_internal_set_duration_millisecond_value(value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.Value.duration_millisecond_value)
|
||||
}
|
||||
|
||||
// int64 duration_microsecond_value = 29;
|
||||
inline bool Value::_internal_has_duration_microsecond_value() const {
|
||||
return value_data_case() == kDurationMicrosecondValue;
|
||||
}
|
||||
inline bool Value::has_duration_microsecond_value() const {
|
||||
return _internal_has_duration_microsecond_value();
|
||||
}
|
||||
inline void Value::set_has_duration_microsecond_value() {
|
||||
_impl_._oneof_case_[0] = kDurationMicrosecondValue;
|
||||
}
|
||||
inline void Value::clear_duration_microsecond_value() {
|
||||
if (_internal_has_duration_microsecond_value()) {
|
||||
_impl_.value_data_.duration_microsecond_value_ = int64_t{0};
|
||||
clear_has_value_data();
|
||||
}
|
||||
}
|
||||
inline int64_t Value::_internal_duration_microsecond_value() const {
|
||||
if (_internal_has_duration_microsecond_value()) {
|
||||
return _impl_.value_data_.duration_microsecond_value_;
|
||||
}
|
||||
return int64_t{0};
|
||||
}
|
||||
inline void Value::_internal_set_duration_microsecond_value(int64_t value) {
|
||||
if (!_internal_has_duration_microsecond_value()) {
|
||||
clear_value_data();
|
||||
set_has_duration_microsecond_value();
|
||||
}
|
||||
_impl_.value_data_.duration_microsecond_value_ = value;
|
||||
}
|
||||
inline int64_t Value::duration_microsecond_value() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.Value.duration_microsecond_value)
|
||||
return _internal_duration_microsecond_value();
|
||||
}
|
||||
inline void Value::set_duration_microsecond_value(int64_t value) {
|
||||
_internal_set_duration_microsecond_value(value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.Value.duration_microsecond_value)
|
||||
}
|
||||
|
||||
// int64 duration_nanosecond_value = 30;
|
||||
inline bool Value::_internal_has_duration_nanosecond_value() const {
|
||||
return value_data_case() == kDurationNanosecondValue;
|
||||
}
|
||||
inline bool Value::has_duration_nanosecond_value() const {
|
||||
return _internal_has_duration_nanosecond_value();
|
||||
}
|
||||
inline void Value::set_has_duration_nanosecond_value() {
|
||||
_impl_._oneof_case_[0] = kDurationNanosecondValue;
|
||||
}
|
||||
inline void Value::clear_duration_nanosecond_value() {
|
||||
if (_internal_has_duration_nanosecond_value()) {
|
||||
_impl_.value_data_.duration_nanosecond_value_ = int64_t{0};
|
||||
clear_has_value_data();
|
||||
}
|
||||
}
|
||||
inline int64_t Value::_internal_duration_nanosecond_value() const {
|
||||
if (_internal_has_duration_nanosecond_value()) {
|
||||
return _impl_.value_data_.duration_nanosecond_value_;
|
||||
}
|
||||
return int64_t{0};
|
||||
}
|
||||
inline void Value::_internal_set_duration_nanosecond_value(int64_t value) {
|
||||
if (!_internal_has_duration_nanosecond_value()) {
|
||||
clear_value_data();
|
||||
set_has_duration_nanosecond_value();
|
||||
}
|
||||
_impl_.value_data_.duration_nanosecond_value_ = value;
|
||||
}
|
||||
inline int64_t Value::duration_nanosecond_value() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.Value.duration_nanosecond_value)
|
||||
return _internal_duration_nanosecond_value();
|
||||
}
|
||||
inline void Value::set_duration_nanosecond_value(int64_t value) {
|
||||
_internal_set_duration_nanosecond_value(value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.Value.duration_nanosecond_value)
|
||||
}
|
||||
|
||||
// .greptime.v1.Decimal128 decimal128_value = 31;
|
||||
inline bool Value::_internal_has_decimal128_value() const {
|
||||
return value_data_case() == kDecimal128Value;
|
||||
|
||||
+13
-60
@@ -167,10 +167,6 @@ type Column_Values struct {
|
||||
IntervalYearMonthValues []int32 `protobuf:"varint,24,rep,packed,name=interval_year_month_values,json=intervalYearMonthValues,proto3" json:"interval_year_month_values,omitempty"`
|
||||
IntervalDayTimeValues []int64 `protobuf:"varint,25,rep,packed,name=interval_day_time_values,json=intervalDayTimeValues,proto3" json:"interval_day_time_values,omitempty"`
|
||||
IntervalMonthDayNanoValues []*IntervalMonthDayNano `protobuf:"bytes,26,rep,name=interval_month_day_nano_values,json=intervalMonthDayNanoValues,proto3" json:"interval_month_day_nano_values,omitempty"`
|
||||
DurationSecondValues []int64 `protobuf:"varint,27,rep,packed,name=duration_second_values,json=durationSecondValues,proto3" json:"duration_second_values,omitempty"`
|
||||
DurationMillisecondValues []int64 `protobuf:"varint,28,rep,packed,name=duration_millisecond_values,json=durationMillisecondValues,proto3" json:"duration_millisecond_values,omitempty"`
|
||||
DurationMicrosecondValues []int64 `protobuf:"varint,29,rep,packed,name=duration_microsecond_values,json=durationMicrosecondValues,proto3" json:"duration_microsecond_values,omitempty"`
|
||||
DurationNanosecondValues []int64 `protobuf:"varint,30,rep,packed,name=duration_nanosecond_values,json=durationNanosecondValues,proto3" json:"duration_nanosecond_values,omitempty"`
|
||||
Decimal128Values []*Decimal128 `protobuf:"bytes,31,rep,name=decimal128_values,json=decimal128Values,proto3" json:"decimal128_values,omitempty"`
|
||||
}
|
||||
|
||||
@@ -388,34 +384,6 @@ func (x *Column_Values) GetIntervalMonthDayNanoValues() []*IntervalMonthDayNano
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Column_Values) GetDurationSecondValues() []int64 {
|
||||
if x != nil {
|
||||
return x.DurationSecondValues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Column_Values) GetDurationMillisecondValues() []int64 {
|
||||
if x != nil {
|
||||
return x.DurationMillisecondValues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Column_Values) GetDurationMicrosecondValues() []int64 {
|
||||
if x != nil {
|
||||
return x.DurationMicrosecondValues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Column_Values) GetDurationNanosecondValues() []int64 {
|
||||
if x != nil {
|
||||
return x.DurationNanosecondValues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Column_Values) GetDecimal128Values() []*Decimal128 {
|
||||
if x != nil {
|
||||
return x.Decimal128Values
|
||||
@@ -430,7 +398,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,
|
||||
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,
|
||||
0x6f, 0x22, 0xa1, 0x0e, 0x0a, 0x06, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x1f, 0x0a, 0x0b,
|
||||
0x6f, 0x22, 0xad, 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,
|
||||
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,
|
||||
@@ -450,7 +418,7 @@ var file_greptime_v1_column_proto_rawDesc = []byte{
|
||||
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,
|
||||
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, 0xd6, 0x0b, 0x0a,
|
||||
0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0xe2, 0x09, 0x0a,
|
||||
0x06, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x38, 0x5f, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x69, 0x38, 0x56, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x31, 0x36, 0x5f, 0x76, 0x61, 0x6c, 0x75,
|
||||
@@ -524,32 +492,17 @@ var file_greptime_v1_column_proto_rawDesc = []byte{
|
||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72,
|
||||
0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x52,
|
||||
0x1a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61,
|
||||
0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x64,
|
||||
0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x1b, 0x20, 0x03, 0x28, 0x03, 0x52, 0x14, 0x64, 0x75, 0x72,
|
||||
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x73, 0x12, 0x3e, 0x0a, 0x1b, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x69,
|
||||
0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||
0x18, 0x1c, 0x20, 0x03, 0x28, 0x03, 0x52, 0x19, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x73, 0x12, 0x3e, 0x0a, 0x1b, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x69,
|
||||
0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||
0x18, 0x1d, 0x20, 0x03, 0x28, 0x03, 0x52, 0x19, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x73, 0x12, 0x3c, 0x0a, 0x1a, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61,
|
||||
0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18,
|
||||
0x1e, 0x20, 0x03, 0x28, 0x03, 0x52, 0x18, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e,
|
||||
0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12,
|
||||
0x44, 0x0a, 0x11, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x5f, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65,
|
||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c,
|
||||
0x31, 0x32, 0x38, 0x52, 0x10, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x56,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, 0x50, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 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,
|
||||
0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x11, 0x64,
|
||||
0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||
0x18, 0x1f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x52,
|
||||
0x10, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x73, 0x42, 0x50, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x42, 0x07, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 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 (
|
||||
|
||||
@@ -112,10 +112,6 @@ const (
|
||||
ColumnDataType_INTERVAL_YEAR_MONTH ColumnDataType = 23
|
||||
ColumnDataType_INTERVAL_DAY_TIME ColumnDataType = 24
|
||||
ColumnDataType_INTERVAL_MONTH_DAY_NANO ColumnDataType = 25
|
||||
ColumnDataType_DURATION_SECOND ColumnDataType = 26
|
||||
ColumnDataType_DURATION_MILLISECOND ColumnDataType = 27
|
||||
ColumnDataType_DURATION_MICROSECOND ColumnDataType = 28
|
||||
ColumnDataType_DURATION_NANOSECOND ColumnDataType = 29
|
||||
ColumnDataType_DECIMAL128 ColumnDataType = 30
|
||||
)
|
||||
|
||||
@@ -148,10 +144,6 @@ var (
|
||||
23: "INTERVAL_YEAR_MONTH",
|
||||
24: "INTERVAL_DAY_TIME",
|
||||
25: "INTERVAL_MONTH_DAY_NANO",
|
||||
26: "DURATION_SECOND",
|
||||
27: "DURATION_MILLISECOND",
|
||||
28: "DURATION_MICROSECOND",
|
||||
29: "DURATION_NANOSECOND",
|
||||
30: "DECIMAL128",
|
||||
}
|
||||
ColumnDataType_value = map[string]int32{
|
||||
@@ -181,10 +173,6 @@ var (
|
||||
"INTERVAL_YEAR_MONTH": 23,
|
||||
"INTERVAL_DAY_TIME": 24,
|
||||
"INTERVAL_MONTH_DAY_NANO": 25,
|
||||
"DURATION_SECOND": 26,
|
||||
"DURATION_MILLISECOND": 27,
|
||||
"DURATION_MICROSECOND": 28,
|
||||
"DURATION_NANOSECOND": 29,
|
||||
"DECIMAL128": 30,
|
||||
}
|
||||
)
|
||||
@@ -1142,7 +1130,7 @@ var file_greptime_v1_common_proto_rawDesc = []byte{
|
||||
0x31, 0x0a, 0x0c, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12,
|
||||
0x07, 0x0a, 0x03, 0x54, 0x41, 0x47, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x45, 0x4c,
|
||||
0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50,
|
||||
0x10, 0x02, 0x2a, 0xb8, 0x04, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74,
|
||||
0x10, 0x02, 0x2a, 0xd6, 0x03, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74,
|
||||
0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e,
|
||||
0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05,
|
||||
0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x33, 0x32,
|
||||
@@ -1170,20 +1158,14 @@ var file_greptime_v1_common_proto_rawDesc = []byte{
|
||||
0x4d, 0x4f, 0x4e, 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, 0x13, 0x0a, 0x0f, 0x44,
|
||||
0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x1a,
|
||||
0x12, 0x18, 0x0a, 0x14, 0x44, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x49, 0x4c,
|
||||
0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x1b, 0x12, 0x18, 0x0a, 0x14, 0x44, 0x55,
|
||||
0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f,
|
||||
0x4e, 0x44, 0x10, 0x1c, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e,
|
||||
0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x1d, 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,
|
||||
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 (
|
||||
|
||||
+12
-88
@@ -241,10 +241,6 @@ type Value struct {
|
||||
// *Value_IntervalYearMonthValue
|
||||
// *Value_IntervalDayTimeValue
|
||||
// *Value_IntervalMonthDayNanoValue
|
||||
// *Value_DurationSecondValue
|
||||
// *Value_DurationMillisecondValue
|
||||
// *Value_DurationMicrosecondValue
|
||||
// *Value_DurationNanosecondValue
|
||||
// *Value_Decimal128Value
|
||||
ValueData isValue_ValueData `protobuf_oneof:"value_data"`
|
||||
}
|
||||
@@ -470,34 +466,6 @@ func (x *Value) GetIntervalMonthDayNanoValue() *IntervalMonthDayNano {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Value) GetDurationSecondValue() int64 {
|
||||
if x, ok := x.GetValueData().(*Value_DurationSecondValue); ok {
|
||||
return x.DurationSecondValue
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *Value) GetDurationMillisecondValue() int64 {
|
||||
if x, ok := x.GetValueData().(*Value_DurationMillisecondValue); ok {
|
||||
return x.DurationMillisecondValue
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *Value) GetDurationMicrosecondValue() int64 {
|
||||
if x, ok := x.GetValueData().(*Value_DurationMicrosecondValue); ok {
|
||||
return x.DurationMicrosecondValue
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *Value) GetDurationNanosecondValue() int64 {
|
||||
if x, ok := x.GetValueData().(*Value_DurationNanosecondValue); ok {
|
||||
return x.DurationNanosecondValue
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *Value) GetDecimal128Value() *Decimal128 {
|
||||
if x, ok := x.GetValueData().(*Value_Decimal128Value); ok {
|
||||
return x.Decimal128Value
|
||||
@@ -613,22 +581,6 @@ type Value_IntervalMonthDayNanoValue struct {
|
||||
IntervalMonthDayNanoValue *IntervalMonthDayNano `protobuf:"bytes,26,opt,name=interval_month_day_nano_value,json=intervalMonthDayNanoValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_DurationSecondValue struct {
|
||||
DurationSecondValue int64 `protobuf:"varint,27,opt,name=duration_second_value,json=durationSecondValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_DurationMillisecondValue struct {
|
||||
DurationMillisecondValue int64 `protobuf:"varint,28,opt,name=duration_millisecond_value,json=durationMillisecondValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_DurationMicrosecondValue struct {
|
||||
DurationMicrosecondValue int64 `protobuf:"varint,29,opt,name=duration_microsecond_value,json=durationMicrosecondValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_DurationNanosecondValue struct {
|
||||
DurationNanosecondValue int64 `protobuf:"varint,30,opt,name=duration_nanosecond_value,json=durationNanosecondValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_Decimal128Value struct {
|
||||
Decimal128Value *Decimal128 `protobuf:"bytes,31,opt,name=decimal128_value,json=decimal128Value,proto3,oneof"`
|
||||
}
|
||||
@@ -685,14 +637,6 @@ func (*Value_IntervalDayTimeValue) isValue_ValueData() {}
|
||||
|
||||
func (*Value_IntervalMonthDayNanoValue) isValue_ValueData() {}
|
||||
|
||||
func (*Value_DurationSecondValue) isValue_ValueData() {}
|
||||
|
||||
func (*Value_DurationMillisecondValue) isValue_ValueData() {}
|
||||
|
||||
func (*Value_DurationMicrosecondValue) isValue_ValueData() {}
|
||||
|
||||
func (*Value_DurationNanosecondValue) isValue_ValueData() {}
|
||||
|
||||
func (*Value_Decimal128Value) isValue_ValueData() {}
|
||||
|
||||
var File_greptime_v1_row_proto protoreflect.FileDescriptor
|
||||
@@ -727,7 +671,7 @@ var file_greptime_v1_row_proto_rawDesc = []byte{
|
||||
0x31, 0x0a, 0x03, 0x52, 0x6f, 0x77, 0x12, 0x2a, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x73, 0x22, 0xe3, 0x0b, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x08,
|
||||
0x65, 0x73, 0x22, 0xef, 0x09, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x08,
|
||||
0x69, 0x38, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00,
|
||||
0x52, 0x07, 0x69, 0x38, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x31, 0x36,
|
||||
0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x08,
|
||||
@@ -801,33 +745,17 @@ var file_greptime_v1_row_proto_rawDesc = []byte{
|
||||
0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e,
|
||||
0x61, 0x6e, 0x6f, 0x48, 0x00, 0x52, 0x19, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d,
|
||||
0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x12, 0x34, 0x0a, 0x15, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x63,
|
||||
0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x03, 0x48,
|
||||
0x00, 0x52, 0x13, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x6f, 0x6e,
|
||||
0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3e, 0x0a, 0x1a, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x18, 0x64, 0x75,
|
||||
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e,
|
||||
0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3e, 0x0a, 0x1a, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x18, 0x64, 0x75,
|
||||
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e,
|
||||
0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3c, 0x0a, 0x19, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x17, 0x64, 0x75, 0x72,
|
||||
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x12, 0x44, 0x0a, 0x10, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31,
|
||||
0x32, 0x38, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
|
||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63,
|
||||
0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x48, 0x00, 0x52, 0x0f, 0x64, 0x65, 0x63, 0x69, 0x6d,
|
||||
0x61, 0x6c, 0x31, 0x32, 0x38, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x42, 0x50, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67,
|
||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x52, 0x6f, 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,
|
||||
0x12, 0x44, 0x0a, 0x10, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x5f, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65,
|
||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c,
|
||||
0x31, 0x32, 0x38, 0x48, 0x00, 0x52, 0x0f, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32,
|
||||
0x38, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f,
|
||||
0x64, 0x61, 0x74, 0x61, 0x42, 0x50, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x52, 0x6f, 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 (
|
||||
@@ -953,10 +881,6 @@ func file_greptime_v1_row_proto_init() {
|
||||
(*Value_IntervalYearMonthValue)(nil),
|
||||
(*Value_IntervalDayTimeValue)(nil),
|
||||
(*Value_IntervalMonthDayNanoValue)(nil),
|
||||
(*Value_DurationSecondValue)(nil),
|
||||
(*Value_DurationMillisecondValue)(nil),
|
||||
(*Value_DurationMicrosecondValue)(nil),
|
||||
(*Value_DurationNanosecondValue)(nil),
|
||||
(*Value_Decimal128Value)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
|
||||
@@ -740,74 +740,6 @@ public final class Columns {
|
||||
io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder(
|
||||
int index);
|
||||
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @return A list containing the durationSecondValues.
|
||||
*/
|
||||
java.util.List<java.lang.Long> getDurationSecondValuesList();
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @return The count of durationSecondValues.
|
||||
*/
|
||||
int getDurationSecondValuesCount();
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationSecondValues at the given index.
|
||||
*/
|
||||
long getDurationSecondValues(int index);
|
||||
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @return A list containing the durationMillisecondValues.
|
||||
*/
|
||||
java.util.List<java.lang.Long> getDurationMillisecondValuesList();
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @return The count of durationMillisecondValues.
|
||||
*/
|
||||
int getDurationMillisecondValuesCount();
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationMillisecondValues at the given index.
|
||||
*/
|
||||
long getDurationMillisecondValues(int index);
|
||||
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @return A list containing the durationMicrosecondValues.
|
||||
*/
|
||||
java.util.List<java.lang.Long> getDurationMicrosecondValuesList();
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @return The count of durationMicrosecondValues.
|
||||
*/
|
||||
int getDurationMicrosecondValuesCount();
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationMicrosecondValues at the given index.
|
||||
*/
|
||||
long getDurationMicrosecondValues(int index);
|
||||
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @return A list containing the durationNanosecondValues.
|
||||
*/
|
||||
java.util.List<java.lang.Long> getDurationNanosecondValuesList();
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @return The count of durationNanosecondValues.
|
||||
*/
|
||||
int getDurationNanosecondValuesCount();
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationNanosecondValues at the given index.
|
||||
*/
|
||||
long getDurationNanosecondValues(int index);
|
||||
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Decimal128 decimal128_values = 31;</code>
|
||||
*/
|
||||
@@ -871,10 +803,6 @@ public final class Columns {
|
||||
intervalYearMonthValues_ = emptyIntList();
|
||||
intervalDayTimeValues_ = emptyLongList();
|
||||
intervalMonthDayNanoValues_ = java.util.Collections.emptyList();
|
||||
durationSecondValues_ = emptyLongList();
|
||||
durationMillisecondValues_ = emptyLongList();
|
||||
durationMicrosecondValues_ = emptyLongList();
|
||||
durationNanosecondValues_ = emptyLongList();
|
||||
decimal128Values_ = java.util.Collections.emptyList();
|
||||
}
|
||||
|
||||
@@ -1418,94 +1346,10 @@ public final class Columns {
|
||||
input.readMessage(io.greptime.v1.Common.IntervalMonthDayNano.parser(), extensionRegistry));
|
||||
break;
|
||||
}
|
||||
case 216: {
|
||||
if (!((mutable_bitField0_ & 0x04000000) != 0)) {
|
||||
durationSecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x04000000;
|
||||
}
|
||||
durationSecondValues_.addLong(input.readInt64());
|
||||
break;
|
||||
}
|
||||
case 218: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x04000000) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
durationSecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x04000000;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
durationSecondValues_.addLong(input.readInt64());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 224: {
|
||||
if (!((mutable_bitField0_ & 0x08000000) != 0)) {
|
||||
durationMillisecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x08000000;
|
||||
}
|
||||
durationMillisecondValues_.addLong(input.readInt64());
|
||||
break;
|
||||
}
|
||||
case 226: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x08000000) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
durationMillisecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x08000000;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
durationMillisecondValues_.addLong(input.readInt64());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 232: {
|
||||
if (!((mutable_bitField0_ & 0x10000000) != 0)) {
|
||||
durationMicrosecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x10000000;
|
||||
}
|
||||
durationMicrosecondValues_.addLong(input.readInt64());
|
||||
break;
|
||||
}
|
||||
case 234: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x10000000) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
durationMicrosecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x10000000;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
durationMicrosecondValues_.addLong(input.readInt64());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 240: {
|
||||
if (!((mutable_bitField0_ & 0x20000000) != 0)) {
|
||||
durationNanosecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x20000000;
|
||||
}
|
||||
durationNanosecondValues_.addLong(input.readInt64());
|
||||
break;
|
||||
}
|
||||
case 242: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x20000000) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
durationNanosecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x20000000;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
durationNanosecondValues_.addLong(input.readInt64());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 250: {
|
||||
if (!((mutable_bitField0_ & 0x40000000) != 0)) {
|
||||
if (!((mutable_bitField0_ & 0x04000000) != 0)) {
|
||||
decimal128Values_ = new java.util.ArrayList<io.greptime.v1.Common.Decimal128>();
|
||||
mutable_bitField0_ |= 0x40000000;
|
||||
mutable_bitField0_ |= 0x04000000;
|
||||
}
|
||||
decimal128Values_.add(
|
||||
input.readMessage(io.greptime.v1.Common.Decimal128.parser(), extensionRegistry));
|
||||
@@ -1607,18 +1451,6 @@ public final class Columns {
|
||||
intervalMonthDayNanoValues_ = java.util.Collections.unmodifiableList(intervalMonthDayNanoValues_);
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x04000000) != 0)) {
|
||||
durationSecondValues_.makeImmutable(); // C
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x08000000) != 0)) {
|
||||
durationMillisecondValues_.makeImmutable(); // C
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x10000000) != 0)) {
|
||||
durationMicrosecondValues_.makeImmutable(); // C
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x20000000) != 0)) {
|
||||
durationNanosecondValues_.makeImmutable(); // C
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x40000000) != 0)) {
|
||||
decimal128Values_ = java.util.Collections.unmodifiableList(decimal128Values_);
|
||||
}
|
||||
this.unknownFields = unknownFields.build();
|
||||
@@ -2384,118 +2216,6 @@ public final class Columns {
|
||||
return intervalMonthDayNanoValues_.get(index);
|
||||
}
|
||||
|
||||
public static final int DURATION_SECOND_VALUES_FIELD_NUMBER = 27;
|
||||
private com.google.protobuf.Internal.LongList durationSecondValues_;
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @return A list containing the durationSecondValues.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<java.lang.Long>
|
||||
getDurationSecondValuesList() {
|
||||
return durationSecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @return The count of durationSecondValues.
|
||||
*/
|
||||
public int getDurationSecondValuesCount() {
|
||||
return durationSecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationSecondValues at the given index.
|
||||
*/
|
||||
public long getDurationSecondValues(int index) {
|
||||
return durationSecondValues_.getLong(index);
|
||||
}
|
||||
private int durationSecondValuesMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int DURATION_MILLISECOND_VALUES_FIELD_NUMBER = 28;
|
||||
private com.google.protobuf.Internal.LongList durationMillisecondValues_;
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @return A list containing the durationMillisecondValues.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<java.lang.Long>
|
||||
getDurationMillisecondValuesList() {
|
||||
return durationMillisecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @return The count of durationMillisecondValues.
|
||||
*/
|
||||
public int getDurationMillisecondValuesCount() {
|
||||
return durationMillisecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationMillisecondValues at the given index.
|
||||
*/
|
||||
public long getDurationMillisecondValues(int index) {
|
||||
return durationMillisecondValues_.getLong(index);
|
||||
}
|
||||
private int durationMillisecondValuesMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int DURATION_MICROSECOND_VALUES_FIELD_NUMBER = 29;
|
||||
private com.google.protobuf.Internal.LongList durationMicrosecondValues_;
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @return A list containing the durationMicrosecondValues.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<java.lang.Long>
|
||||
getDurationMicrosecondValuesList() {
|
||||
return durationMicrosecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @return The count of durationMicrosecondValues.
|
||||
*/
|
||||
public int getDurationMicrosecondValuesCount() {
|
||||
return durationMicrosecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationMicrosecondValues at the given index.
|
||||
*/
|
||||
public long getDurationMicrosecondValues(int index) {
|
||||
return durationMicrosecondValues_.getLong(index);
|
||||
}
|
||||
private int durationMicrosecondValuesMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int DURATION_NANOSECOND_VALUES_FIELD_NUMBER = 30;
|
||||
private com.google.protobuf.Internal.LongList durationNanosecondValues_;
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @return A list containing the durationNanosecondValues.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<java.lang.Long>
|
||||
getDurationNanosecondValuesList() {
|
||||
return durationNanosecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @return The count of durationNanosecondValues.
|
||||
*/
|
||||
public int getDurationNanosecondValuesCount() {
|
||||
return durationNanosecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationNanosecondValues at the given index.
|
||||
*/
|
||||
public long getDurationNanosecondValues(int index) {
|
||||
return durationNanosecondValues_.getLong(index);
|
||||
}
|
||||
private int durationNanosecondValuesMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int DECIMAL128_VALUES_FIELD_NUMBER = 31;
|
||||
private java.util.List<io.greptime.v1.Common.Decimal128> decimal128Values_;
|
||||
/**
|
||||
@@ -2721,34 +2441,6 @@ public final class Columns {
|
||||
for (int i = 0; i < intervalMonthDayNanoValues_.size(); i++) {
|
||||
output.writeMessage(26, intervalMonthDayNanoValues_.get(i));
|
||||
}
|
||||
if (getDurationSecondValuesList().size() > 0) {
|
||||
output.writeUInt32NoTag(218);
|
||||
output.writeUInt32NoTag(durationSecondValuesMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < durationSecondValues_.size(); i++) {
|
||||
output.writeInt64NoTag(durationSecondValues_.getLong(i));
|
||||
}
|
||||
if (getDurationMillisecondValuesList().size() > 0) {
|
||||
output.writeUInt32NoTag(226);
|
||||
output.writeUInt32NoTag(durationMillisecondValuesMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < durationMillisecondValues_.size(); i++) {
|
||||
output.writeInt64NoTag(durationMillisecondValues_.getLong(i));
|
||||
}
|
||||
if (getDurationMicrosecondValuesList().size() > 0) {
|
||||
output.writeUInt32NoTag(234);
|
||||
output.writeUInt32NoTag(durationMicrosecondValuesMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < durationMicrosecondValues_.size(); i++) {
|
||||
output.writeInt64NoTag(durationMicrosecondValues_.getLong(i));
|
||||
}
|
||||
if (getDurationNanosecondValuesList().size() > 0) {
|
||||
output.writeUInt32NoTag(242);
|
||||
output.writeUInt32NoTag(durationNanosecondValuesMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < durationNanosecondValues_.size(); i++) {
|
||||
output.writeInt64NoTag(durationNanosecondValues_.getLong(i));
|
||||
}
|
||||
for (int i = 0; i < decimal128Values_.size(); i++) {
|
||||
output.writeMessage(31, decimal128Values_.get(i));
|
||||
}
|
||||
@@ -3095,62 +2787,6 @@ public final class Columns {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(26, intervalMonthDayNanoValues_.get(i));
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < durationSecondValues_.size(); i++) {
|
||||
dataSize += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64SizeNoTag(durationSecondValues_.getLong(i));
|
||||
}
|
||||
size += dataSize;
|
||||
if (!getDurationSecondValuesList().isEmpty()) {
|
||||
size += 2;
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(dataSize);
|
||||
}
|
||||
durationSecondValuesMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < durationMillisecondValues_.size(); i++) {
|
||||
dataSize += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64SizeNoTag(durationMillisecondValues_.getLong(i));
|
||||
}
|
||||
size += dataSize;
|
||||
if (!getDurationMillisecondValuesList().isEmpty()) {
|
||||
size += 2;
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(dataSize);
|
||||
}
|
||||
durationMillisecondValuesMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < durationMicrosecondValues_.size(); i++) {
|
||||
dataSize += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64SizeNoTag(durationMicrosecondValues_.getLong(i));
|
||||
}
|
||||
size += dataSize;
|
||||
if (!getDurationMicrosecondValuesList().isEmpty()) {
|
||||
size += 2;
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(dataSize);
|
||||
}
|
||||
durationMicrosecondValuesMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < durationNanosecondValues_.size(); i++) {
|
||||
dataSize += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64SizeNoTag(durationNanosecondValues_.getLong(i));
|
||||
}
|
||||
size += dataSize;
|
||||
if (!getDurationNanosecondValuesList().isEmpty()) {
|
||||
size += 2;
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(dataSize);
|
||||
}
|
||||
durationNanosecondValuesMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
for (int i = 0; i < decimal128Values_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(31, decimal128Values_.get(i));
|
||||
@@ -3222,14 +2858,6 @@ public final class Columns {
|
||||
.equals(other.getIntervalDayTimeValuesList())) return false;
|
||||
if (!getIntervalMonthDayNanoValuesList()
|
||||
.equals(other.getIntervalMonthDayNanoValuesList())) return false;
|
||||
if (!getDurationSecondValuesList()
|
||||
.equals(other.getDurationSecondValuesList())) return false;
|
||||
if (!getDurationMillisecondValuesList()
|
||||
.equals(other.getDurationMillisecondValuesList())) return false;
|
||||
if (!getDurationMicrosecondValuesList()
|
||||
.equals(other.getDurationMicrosecondValuesList())) return false;
|
||||
if (!getDurationNanosecondValuesList()
|
||||
.equals(other.getDurationNanosecondValuesList())) return false;
|
||||
if (!getDecimal128ValuesList()
|
||||
.equals(other.getDecimal128ValuesList())) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
@@ -3347,22 +2975,6 @@ public final class Columns {
|
||||
hash = (37 * hash) + INTERVAL_MONTH_DAY_NANO_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getIntervalMonthDayNanoValuesList().hashCode();
|
||||
}
|
||||
if (getDurationSecondValuesCount() > 0) {
|
||||
hash = (37 * hash) + DURATION_SECOND_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDurationSecondValuesList().hashCode();
|
||||
}
|
||||
if (getDurationMillisecondValuesCount() > 0) {
|
||||
hash = (37 * hash) + DURATION_MILLISECOND_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDurationMillisecondValuesList().hashCode();
|
||||
}
|
||||
if (getDurationMicrosecondValuesCount() > 0) {
|
||||
hash = (37 * hash) + DURATION_MICROSECOND_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDurationMicrosecondValuesList().hashCode();
|
||||
}
|
||||
if (getDurationNanosecondValuesCount() > 0) {
|
||||
hash = (37 * hash) + DURATION_NANOSECOND_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDurationNanosecondValuesList().hashCode();
|
||||
}
|
||||
if (getDecimal128ValuesCount() > 0) {
|
||||
hash = (37 * hash) + DECIMAL128_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDecimal128ValuesList().hashCode();
|
||||
@@ -3558,17 +3170,9 @@ public final class Columns {
|
||||
} else {
|
||||
intervalMonthDayNanoValuesBuilder_.clear();
|
||||
}
|
||||
durationSecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x04000000);
|
||||
durationMillisecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x08000000);
|
||||
durationMicrosecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x10000000);
|
||||
durationNanosecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x20000000);
|
||||
if (decimal128ValuesBuilder_ == null) {
|
||||
decimal128Values_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x40000000);
|
||||
bitField0_ = (bitField0_ & ~0x04000000);
|
||||
} else {
|
||||
decimal128ValuesBuilder_.clear();
|
||||
}
|
||||
@@ -3733,30 +3337,10 @@ public final class Columns {
|
||||
} else {
|
||||
result.intervalMonthDayNanoValues_ = intervalMonthDayNanoValuesBuilder_.build();
|
||||
}
|
||||
if (((bitField0_ & 0x04000000) != 0)) {
|
||||
durationSecondValues_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x04000000);
|
||||
}
|
||||
result.durationSecondValues_ = durationSecondValues_;
|
||||
if (((bitField0_ & 0x08000000) != 0)) {
|
||||
durationMillisecondValues_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x08000000);
|
||||
}
|
||||
result.durationMillisecondValues_ = durationMillisecondValues_;
|
||||
if (((bitField0_ & 0x10000000) != 0)) {
|
||||
durationMicrosecondValues_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x10000000);
|
||||
}
|
||||
result.durationMicrosecondValues_ = durationMicrosecondValues_;
|
||||
if (((bitField0_ & 0x20000000) != 0)) {
|
||||
durationNanosecondValues_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x20000000);
|
||||
}
|
||||
result.durationNanosecondValues_ = durationNanosecondValues_;
|
||||
if (decimal128ValuesBuilder_ == null) {
|
||||
if (((bitField0_ & 0x40000000) != 0)) {
|
||||
if (((bitField0_ & 0x04000000) != 0)) {
|
||||
decimal128Values_ = java.util.Collections.unmodifiableList(decimal128Values_);
|
||||
bitField0_ = (bitField0_ & ~0x40000000);
|
||||
bitField0_ = (bitField0_ & ~0x04000000);
|
||||
}
|
||||
result.decimal128Values_ = decimal128Values_;
|
||||
} else {
|
||||
@@ -4086,51 +3670,11 @@ public final class Columns {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!other.durationSecondValues_.isEmpty()) {
|
||||
if (durationSecondValues_.isEmpty()) {
|
||||
durationSecondValues_ = other.durationSecondValues_;
|
||||
bitField0_ = (bitField0_ & ~0x04000000);
|
||||
} else {
|
||||
ensureDurationSecondValuesIsMutable();
|
||||
durationSecondValues_.addAll(other.durationSecondValues_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (!other.durationMillisecondValues_.isEmpty()) {
|
||||
if (durationMillisecondValues_.isEmpty()) {
|
||||
durationMillisecondValues_ = other.durationMillisecondValues_;
|
||||
bitField0_ = (bitField0_ & ~0x08000000);
|
||||
} else {
|
||||
ensureDurationMillisecondValuesIsMutable();
|
||||
durationMillisecondValues_.addAll(other.durationMillisecondValues_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (!other.durationMicrosecondValues_.isEmpty()) {
|
||||
if (durationMicrosecondValues_.isEmpty()) {
|
||||
durationMicrosecondValues_ = other.durationMicrosecondValues_;
|
||||
bitField0_ = (bitField0_ & ~0x10000000);
|
||||
} else {
|
||||
ensureDurationMicrosecondValuesIsMutable();
|
||||
durationMicrosecondValues_.addAll(other.durationMicrosecondValues_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (!other.durationNanosecondValues_.isEmpty()) {
|
||||
if (durationNanosecondValues_.isEmpty()) {
|
||||
durationNanosecondValues_ = other.durationNanosecondValues_;
|
||||
bitField0_ = (bitField0_ & ~0x20000000);
|
||||
} else {
|
||||
ensureDurationNanosecondValuesIsMutable();
|
||||
durationNanosecondValues_.addAll(other.durationNanosecondValues_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (decimal128ValuesBuilder_ == null) {
|
||||
if (!other.decimal128Values_.isEmpty()) {
|
||||
if (decimal128Values_.isEmpty()) {
|
||||
decimal128Values_ = other.decimal128Values_;
|
||||
bitField0_ = (bitField0_ & ~0x40000000);
|
||||
bitField0_ = (bitField0_ & ~0x04000000);
|
||||
} else {
|
||||
ensureDecimal128ValuesIsMutable();
|
||||
decimal128Values_.addAll(other.decimal128Values_);
|
||||
@@ -4143,7 +3687,7 @@ public final class Columns {
|
||||
decimal128ValuesBuilder_.dispose();
|
||||
decimal128ValuesBuilder_ = null;
|
||||
decimal128Values_ = other.decimal128Values_;
|
||||
bitField0_ = (bitField0_ & ~0x40000000);
|
||||
bitField0_ = (bitField0_ & ~0x04000000);
|
||||
decimal128ValuesBuilder_ =
|
||||
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
|
||||
getDecimal128ValuesFieldBuilder() : null;
|
||||
@@ -6434,328 +5978,12 @@ public final class Columns {
|
||||
return intervalMonthDayNanoValuesBuilder_;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.LongList durationSecondValues_ = emptyLongList();
|
||||
private void ensureDurationSecondValuesIsMutable() {
|
||||
if (!((bitField0_ & 0x04000000) != 0)) {
|
||||
durationSecondValues_ = mutableCopy(durationSecondValues_);
|
||||
bitField0_ |= 0x04000000;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @return A list containing the durationSecondValues.
|
||||
*/
|
||||
public java.util.List<java.lang.Long>
|
||||
getDurationSecondValuesList() {
|
||||
return ((bitField0_ & 0x04000000) != 0) ?
|
||||
java.util.Collections.unmodifiableList(durationSecondValues_) : durationSecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @return The count of durationSecondValues.
|
||||
*/
|
||||
public int getDurationSecondValuesCount() {
|
||||
return durationSecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationSecondValues at the given index.
|
||||
*/
|
||||
public long getDurationSecondValues(int index) {
|
||||
return durationSecondValues_.getLong(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The durationSecondValues to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDurationSecondValues(
|
||||
int index, long value) {
|
||||
ensureDurationSecondValuesIsMutable();
|
||||
durationSecondValues_.setLong(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @param value The durationSecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addDurationSecondValues(long value) {
|
||||
ensureDurationSecondValuesIsMutable();
|
||||
durationSecondValues_.addLong(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @param values The durationSecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllDurationSecondValues(
|
||||
java.lang.Iterable<? extends java.lang.Long> values) {
|
||||
ensureDurationSecondValuesIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, durationSecondValues_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDurationSecondValues() {
|
||||
durationSecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x04000000);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.LongList durationMillisecondValues_ = emptyLongList();
|
||||
private void ensureDurationMillisecondValuesIsMutable() {
|
||||
if (!((bitField0_ & 0x08000000) != 0)) {
|
||||
durationMillisecondValues_ = mutableCopy(durationMillisecondValues_);
|
||||
bitField0_ |= 0x08000000;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @return A list containing the durationMillisecondValues.
|
||||
*/
|
||||
public java.util.List<java.lang.Long>
|
||||
getDurationMillisecondValuesList() {
|
||||
return ((bitField0_ & 0x08000000) != 0) ?
|
||||
java.util.Collections.unmodifiableList(durationMillisecondValues_) : durationMillisecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @return The count of durationMillisecondValues.
|
||||
*/
|
||||
public int getDurationMillisecondValuesCount() {
|
||||
return durationMillisecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationMillisecondValues at the given index.
|
||||
*/
|
||||
public long getDurationMillisecondValues(int index) {
|
||||
return durationMillisecondValues_.getLong(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The durationMillisecondValues to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDurationMillisecondValues(
|
||||
int index, long value) {
|
||||
ensureDurationMillisecondValuesIsMutable();
|
||||
durationMillisecondValues_.setLong(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @param value The durationMillisecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addDurationMillisecondValues(long value) {
|
||||
ensureDurationMillisecondValuesIsMutable();
|
||||
durationMillisecondValues_.addLong(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @param values The durationMillisecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllDurationMillisecondValues(
|
||||
java.lang.Iterable<? extends java.lang.Long> values) {
|
||||
ensureDurationMillisecondValuesIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, durationMillisecondValues_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDurationMillisecondValues() {
|
||||
durationMillisecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x08000000);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.LongList durationMicrosecondValues_ = emptyLongList();
|
||||
private void ensureDurationMicrosecondValuesIsMutable() {
|
||||
if (!((bitField0_ & 0x10000000) != 0)) {
|
||||
durationMicrosecondValues_ = mutableCopy(durationMicrosecondValues_);
|
||||
bitField0_ |= 0x10000000;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @return A list containing the durationMicrosecondValues.
|
||||
*/
|
||||
public java.util.List<java.lang.Long>
|
||||
getDurationMicrosecondValuesList() {
|
||||
return ((bitField0_ & 0x10000000) != 0) ?
|
||||
java.util.Collections.unmodifiableList(durationMicrosecondValues_) : durationMicrosecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @return The count of durationMicrosecondValues.
|
||||
*/
|
||||
public int getDurationMicrosecondValuesCount() {
|
||||
return durationMicrosecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationMicrosecondValues at the given index.
|
||||
*/
|
||||
public long getDurationMicrosecondValues(int index) {
|
||||
return durationMicrosecondValues_.getLong(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The durationMicrosecondValues to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDurationMicrosecondValues(
|
||||
int index, long value) {
|
||||
ensureDurationMicrosecondValuesIsMutable();
|
||||
durationMicrosecondValues_.setLong(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @param value The durationMicrosecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addDurationMicrosecondValues(long value) {
|
||||
ensureDurationMicrosecondValuesIsMutable();
|
||||
durationMicrosecondValues_.addLong(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @param values The durationMicrosecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllDurationMicrosecondValues(
|
||||
java.lang.Iterable<? extends java.lang.Long> values) {
|
||||
ensureDurationMicrosecondValuesIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, durationMicrosecondValues_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDurationMicrosecondValues() {
|
||||
durationMicrosecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x10000000);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.LongList durationNanosecondValues_ = emptyLongList();
|
||||
private void ensureDurationNanosecondValuesIsMutable() {
|
||||
if (!((bitField0_ & 0x20000000) != 0)) {
|
||||
durationNanosecondValues_ = mutableCopy(durationNanosecondValues_);
|
||||
bitField0_ |= 0x20000000;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @return A list containing the durationNanosecondValues.
|
||||
*/
|
||||
public java.util.List<java.lang.Long>
|
||||
getDurationNanosecondValuesList() {
|
||||
return ((bitField0_ & 0x20000000) != 0) ?
|
||||
java.util.Collections.unmodifiableList(durationNanosecondValues_) : durationNanosecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @return The count of durationNanosecondValues.
|
||||
*/
|
||||
public int getDurationNanosecondValuesCount() {
|
||||
return durationNanosecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationNanosecondValues at the given index.
|
||||
*/
|
||||
public long getDurationNanosecondValues(int index) {
|
||||
return durationNanosecondValues_.getLong(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The durationNanosecondValues to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDurationNanosecondValues(
|
||||
int index, long value) {
|
||||
ensureDurationNanosecondValuesIsMutable();
|
||||
durationNanosecondValues_.setLong(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @param value The durationNanosecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addDurationNanosecondValues(long value) {
|
||||
ensureDurationNanosecondValuesIsMutable();
|
||||
durationNanosecondValues_.addLong(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @param values The durationNanosecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllDurationNanosecondValues(
|
||||
java.lang.Iterable<? extends java.lang.Long> values) {
|
||||
ensureDurationNanosecondValuesIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, durationNanosecondValues_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDurationNanosecondValues() {
|
||||
durationNanosecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x20000000);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.util.List<io.greptime.v1.Common.Decimal128> decimal128Values_ =
|
||||
java.util.Collections.emptyList();
|
||||
private void ensureDecimal128ValuesIsMutable() {
|
||||
if (!((bitField0_ & 0x40000000) != 0)) {
|
||||
if (!((bitField0_ & 0x04000000) != 0)) {
|
||||
decimal128Values_ = new java.util.ArrayList<io.greptime.v1.Common.Decimal128>(decimal128Values_);
|
||||
bitField0_ |= 0x40000000;
|
||||
bitField0_ |= 0x04000000;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6905,7 +6133,7 @@ public final class Columns {
|
||||
public Builder clearDecimal128Values() {
|
||||
if (decimal128ValuesBuilder_ == null) {
|
||||
decimal128Values_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x40000000);
|
||||
bitField0_ = (bitField0_ & ~0x04000000);
|
||||
onChanged();
|
||||
} else {
|
||||
decimal128ValuesBuilder_.clear();
|
||||
@@ -6982,7 +6210,7 @@ public final class Columns {
|
||||
decimal128ValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.greptime.v1.Common.Decimal128, io.greptime.v1.Common.Decimal128.Builder, io.greptime.v1.Common.Decimal128OrBuilder>(
|
||||
decimal128Values_,
|
||||
((bitField0_ & 0x40000000) != 0),
|
||||
((bitField0_ & 0x04000000) != 0),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
decimal128Values_ = null;
|
||||
@@ -8352,14 +7580,14 @@ public final class Columns {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\030greptime/v1/column.proto\022\013greptime.v1\032" +
|
||||
"\030greptime/v1/common.proto\"\244\t\n\006Column\022\023\n\013" +
|
||||
"\030greptime/v1/common.proto\"\226\010\n\006Column\022\023\n\013" +
|
||||
"column_name\030\001 \001(\t\0220\n\rsemantic_type\030\002 \001(\016" +
|
||||
"2\031.greptime.v1.SemanticType\022*\n\006values\030\003 " +
|
||||
"\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." +
|
||||
"v1.ColumnDataType\022@\n\022datatype_extension\030" +
|
||||
"\006 \001(\0132$.greptime.v1.ColumnDataTypeExtens" +
|
||||
"ion\032\242\007\n\006Values\022\021\n\ti8_values\030\001 \003(\005\022\022\n\ni16" +
|
||||
"ion\032\224\006\n\006Values\022\021\n\ti8_values\030\001 \003(\005\022\022\n\ni16" +
|
||||
"_values\030\002 \003(\005\022\022\n\ni32_values\030\003 \003(\005\022\022\n\ni64" +
|
||||
"_values\030\004 \003(\003\022\021\n\tu8_values\030\005 \003(\r\022\022\n\nu16_" +
|
||||
"values\030\006 \003(\r\022\022\n\nu32_values\030\007 \003(\r\022\022\n\nu64_" +
|
||||
@@ -8377,14 +7605,11 @@ public final class Columns {
|
||||
"\032interval_year_month_values\030\030 \003(\005\022 \n\030int" +
|
||||
"erval_day_time_values\030\031 \003(\003\022I\n\036interval_" +
|
||||
"month_day_nano_values\030\032 \003(\0132!.greptime.v" +
|
||||
"1.IntervalMonthDayNano\022\036\n\026duration_secon" +
|
||||
"d_values\030\033 \003(\003\022#\n\033duration_millisecond_v" +
|
||||
"alues\030\034 \003(\003\022#\n\033duration_microsecond_valu" +
|
||||
"es\030\035 \003(\003\022\"\n\032duration_nanosecond_values\030\036" +
|
||||
" \003(\003\0222\n\021decimal128_values\030\037 \003(\0132\027.grepti" +
|
||||
"me.v1.Decimal128BP\n\016io.greptime.v1B\007Colu" +
|
||||
"mnsZ5github.com/GreptimeTeam/greptime-pr" +
|
||||
"oto/go/greptime/v1b\006proto3"
|
||||
"1.IntervalMonthDayNano\0222\n\021decimal128_val" +
|
||||
"ues\030\037 \003(\0132\027.greptime.v1.Decimal128BP\n\016io" +
|
||||
".greptime.v1B\007ColumnsZ5github.com/Grepti" +
|
||||
"meTeam/greptime-proto/go/greptime/v1b\006pr" +
|
||||
"oto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -8402,7 +7627,7 @@ public final class Columns {
|
||||
internal_static_greptime_v1_Column_Values_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_Column_Values_descriptor,
|
||||
new java.lang.String[] { "I8Values", "I16Values", "I32Values", "I64Values", "U8Values", "U16Values", "U32Values", "U64Values", "F32Values", "F64Values", "BoolValues", "BinaryValues", "StringValues", "DateValues", "DatetimeValues", "TimestampSecondValues", "TimestampMillisecondValues", "TimestampMicrosecondValues", "TimestampNanosecondValues", "TimeSecondValues", "TimeMillisecondValues", "TimeMicrosecondValues", "TimeNanosecondValues", "IntervalYearMonthValues", "IntervalDayTimeValues", "IntervalMonthDayNanoValues", "DurationSecondValues", "DurationMillisecondValues", "DurationMicrosecondValues", "DurationNanosecondValues", "Decimal128Values", });
|
||||
new java.lang.String[] { "I8Values", "I16Values", "I32Values", "I64Values", "U8Values", "U16Values", "U32Values", "U64Values", "F32Values", "F64Values", "BoolValues", "BinaryValues", "StringValues", "DateValues", "DatetimeValues", "TimestampSecondValues", "TimestampMillisecondValues", "TimestampMicrosecondValues", "TimestampNanosecondValues", "TimeSecondValues", "TimeMillisecondValues", "TimeMicrosecondValues", "TimeNanosecondValues", "IntervalYearMonthValues", "IntervalDayTimeValues", "IntervalMonthDayNanoValues", "Decimal128Values", });
|
||||
io.greptime.v1.Common.getDescriptor();
|
||||
}
|
||||
|
||||
|
||||
@@ -240,22 +240,6 @@ public final class Common {
|
||||
* <code>INTERVAL_MONTH_DAY_NANO = 25;</code>
|
||||
*/
|
||||
INTERVAL_MONTH_DAY_NANO(25),
|
||||
/**
|
||||
* <code>DURATION_SECOND = 26;</code>
|
||||
*/
|
||||
DURATION_SECOND(26),
|
||||
/**
|
||||
* <code>DURATION_MILLISECOND = 27;</code>
|
||||
*/
|
||||
DURATION_MILLISECOND(27),
|
||||
/**
|
||||
* <code>DURATION_MICROSECOND = 28;</code>
|
||||
*/
|
||||
DURATION_MICROSECOND(28),
|
||||
/**
|
||||
* <code>DURATION_NANOSECOND = 29;</code>
|
||||
*/
|
||||
DURATION_NANOSECOND(29),
|
||||
/**
|
||||
* <code>DECIMAL128 = 30;</code>
|
||||
*/
|
||||
@@ -367,22 +351,6 @@ public final class Common {
|
||||
* <code>INTERVAL_MONTH_DAY_NANO = 25;</code>
|
||||
*/
|
||||
public static final int INTERVAL_MONTH_DAY_NANO_VALUE = 25;
|
||||
/**
|
||||
* <code>DURATION_SECOND = 26;</code>
|
||||
*/
|
||||
public static final int DURATION_SECOND_VALUE = 26;
|
||||
/**
|
||||
* <code>DURATION_MILLISECOND = 27;</code>
|
||||
*/
|
||||
public static final int DURATION_MILLISECOND_VALUE = 27;
|
||||
/**
|
||||
* <code>DURATION_MICROSECOND = 28;</code>
|
||||
*/
|
||||
public static final int DURATION_MICROSECOND_VALUE = 28;
|
||||
/**
|
||||
* <code>DURATION_NANOSECOND = 29;</code>
|
||||
*/
|
||||
public static final int DURATION_NANOSECOND_VALUE = 29;
|
||||
/**
|
||||
* <code>DECIMAL128 = 30;</code>
|
||||
*/
|
||||
@@ -439,10 +407,6 @@ public final class Common {
|
||||
case 23: return INTERVAL_YEAR_MONTH;
|
||||
case 24: return INTERVAL_DAY_TIME;
|
||||
case 25: return INTERVAL_MONTH_DAY_NANO;
|
||||
case 26: return DURATION_SECOND;
|
||||
case 27: return DURATION_MILLISECOND;
|
||||
case 28: return DURATION_MICROSECOND;
|
||||
case 29: return DURATION_NANOSECOND;
|
||||
case 30: return DECIMAL128;
|
||||
default: return null;
|
||||
}
|
||||
@@ -11138,7 +11102,7 @@ java.lang.String defaultValue);
|
||||
"lTypeExtensionH\000B\n\n\010type_ext\"8\n\024DecimalT" +
|
||||
"ypeExtension\022\021\n\tprecision\030\001 \001(\005\022\r\n\005scale" +
|
||||
"\030\002 \001(\005*1\n\014SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD" +
|
||||
"\020\001\022\r\n\tTIMESTAMP\020\002*\270\004\n\016ColumnDataType\022\013\n\007" +
|
||||
"\020\001\022\r\n\tTIMESTAMP\020\002*\326\003\n\016ColumnDataType\022\013\n\007" +
|
||||
"BOOLEAN\020\000\022\010\n\004INT8\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020" +
|
||||
"\003\022\t\n\005INT64\020\004\022\t\n\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006U" +
|
||||
"INT32\020\007\022\n\n\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOA" +
|
||||
@@ -11149,12 +11113,10 @@ java.lang.String defaultValue);
|
||||
"IME_SECOND\020\023\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TI" +
|
||||
"ME_MICROSECOND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n" +
|
||||
"\023INTERVAL_YEAR_MONTH\020\027\022\025\n\021INTERVAL_DAY_T" +
|
||||
"IME\020\030\022\033\n\027INTERVAL_MONTH_DAY_NANO\020\031\022\023\n\017DU" +
|
||||
"RATION_SECOND\020\032\022\030\n\024DURATION_MILLISECOND\020" +
|
||||
"\033\022\030\n\024DURATION_MICROSECOND\020\034\022\027\n\023DURATION_" +
|
||||
"NANOSECOND\020\035\022\016\n\nDECIMAL128\020\036BO\n\016io.grept" +
|
||||
"ime.v1B\006CommonZ5github.com/GreptimeTeam/" +
|
||||
"greptime-proto/go/greptime/v1b\006proto3"
|
||||
"IME\020\030\022\033\n\027INTERVAL_MONTH_DAY_NANO\020\031\022\016\n\nDE" +
|
||||
"CIMAL128\020\036BO\n\016io.greptime.v1B\006CommonZ5gi" +
|
||||
"thub.com/GreptimeTeam/greptime-proto/go/" +
|
||||
"greptime/v1b\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
|
||||
@@ -3323,50 +3323,6 @@ public final class RowData {
|
||||
*/
|
||||
io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValueOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>int64 duration_second_value = 27;</code>
|
||||
* @return Whether the durationSecondValue field is set.
|
||||
*/
|
||||
boolean hasDurationSecondValue();
|
||||
/**
|
||||
* <code>int64 duration_second_value = 27;</code>
|
||||
* @return The durationSecondValue.
|
||||
*/
|
||||
long getDurationSecondValue();
|
||||
|
||||
/**
|
||||
* <code>int64 duration_millisecond_value = 28;</code>
|
||||
* @return Whether the durationMillisecondValue field is set.
|
||||
*/
|
||||
boolean hasDurationMillisecondValue();
|
||||
/**
|
||||
* <code>int64 duration_millisecond_value = 28;</code>
|
||||
* @return The durationMillisecondValue.
|
||||
*/
|
||||
long getDurationMillisecondValue();
|
||||
|
||||
/**
|
||||
* <code>int64 duration_microsecond_value = 29;</code>
|
||||
* @return Whether the durationMicrosecondValue field is set.
|
||||
*/
|
||||
boolean hasDurationMicrosecondValue();
|
||||
/**
|
||||
* <code>int64 duration_microsecond_value = 29;</code>
|
||||
* @return The durationMicrosecondValue.
|
||||
*/
|
||||
long getDurationMicrosecondValue();
|
||||
|
||||
/**
|
||||
* <code>int64 duration_nanosecond_value = 30;</code>
|
||||
* @return Whether the durationNanosecondValue field is set.
|
||||
*/
|
||||
boolean hasDurationNanosecondValue();
|
||||
/**
|
||||
* <code>int64 duration_nanosecond_value = 30;</code>
|
||||
* @return The durationNanosecondValue.
|
||||
*/
|
||||
long getDurationNanosecondValue();
|
||||
|
||||
/**
|
||||
* <code>.greptime.v1.Decimal128 decimal128_value = 31;</code>
|
||||
* @return Whether the decimal128Value field is set.
|
||||
@@ -3569,26 +3525,6 @@ public final class RowData {
|
||||
valueDataCase_ = 26;
|
||||
break;
|
||||
}
|
||||
case 216: {
|
||||
valueData_ = input.readInt64();
|
||||
valueDataCase_ = 27;
|
||||
break;
|
||||
}
|
||||
case 224: {
|
||||
valueData_ = input.readInt64();
|
||||
valueDataCase_ = 28;
|
||||
break;
|
||||
}
|
||||
case 232: {
|
||||
valueData_ = input.readInt64();
|
||||
valueDataCase_ = 29;
|
||||
break;
|
||||
}
|
||||
case 240: {
|
||||
valueData_ = input.readInt64();
|
||||
valueDataCase_ = 30;
|
||||
break;
|
||||
}
|
||||
case 250: {
|
||||
io.greptime.v1.Common.Decimal128.Builder subBuilder = null;
|
||||
if (valueDataCase_ == 31) {
|
||||
@@ -3668,10 +3604,6 @@ public final class RowData {
|
||||
INTERVAL_YEAR_MONTH_VALUE(24),
|
||||
INTERVAL_DAY_TIME_VALUE(25),
|
||||
INTERVAL_MONTH_DAY_NANO_VALUE(26),
|
||||
DURATION_SECOND_VALUE(27),
|
||||
DURATION_MILLISECOND_VALUE(28),
|
||||
DURATION_MICROSECOND_VALUE(29),
|
||||
DURATION_NANOSECOND_VALUE(30),
|
||||
DECIMAL128_VALUE(31),
|
||||
VALUEDATA_NOT_SET(0);
|
||||
private final int value;
|
||||
@@ -3716,10 +3648,6 @@ public final class RowData {
|
||||
case 24: return INTERVAL_YEAR_MONTH_VALUE;
|
||||
case 25: return INTERVAL_DAY_TIME_VALUE;
|
||||
case 26: return INTERVAL_MONTH_DAY_NANO_VALUE;
|
||||
case 27: return DURATION_SECOND_VALUE;
|
||||
case 28: return DURATION_MILLISECOND_VALUE;
|
||||
case 29: return DURATION_MICROSECOND_VALUE;
|
||||
case 30: return DURATION_NANOSECOND_VALUE;
|
||||
case 31: return DECIMAL128_VALUE;
|
||||
case 0: return VALUEDATA_NOT_SET;
|
||||
default: return null;
|
||||
@@ -4323,90 +4251,6 @@ public final class RowData {
|
||||
return io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance();
|
||||
}
|
||||
|
||||
public static final int DURATION_SECOND_VALUE_FIELD_NUMBER = 27;
|
||||
/**
|
||||
* <code>int64 duration_second_value = 27;</code>
|
||||
* @return Whether the durationSecondValue field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasDurationSecondValue() {
|
||||
return valueDataCase_ == 27;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_second_value = 27;</code>
|
||||
* @return The durationSecondValue.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getDurationSecondValue() {
|
||||
if (valueDataCase_ == 27) {
|
||||
return (java.lang.Long) valueData_;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
|
||||
public static final int DURATION_MILLISECOND_VALUE_FIELD_NUMBER = 28;
|
||||
/**
|
||||
* <code>int64 duration_millisecond_value = 28;</code>
|
||||
* @return Whether the durationMillisecondValue field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasDurationMillisecondValue() {
|
||||
return valueDataCase_ == 28;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_millisecond_value = 28;</code>
|
||||
* @return The durationMillisecondValue.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getDurationMillisecondValue() {
|
||||
if (valueDataCase_ == 28) {
|
||||
return (java.lang.Long) valueData_;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
|
||||
public static final int DURATION_MICROSECOND_VALUE_FIELD_NUMBER = 29;
|
||||
/**
|
||||
* <code>int64 duration_microsecond_value = 29;</code>
|
||||
* @return Whether the durationMicrosecondValue field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasDurationMicrosecondValue() {
|
||||
return valueDataCase_ == 29;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_microsecond_value = 29;</code>
|
||||
* @return The durationMicrosecondValue.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getDurationMicrosecondValue() {
|
||||
if (valueDataCase_ == 29) {
|
||||
return (java.lang.Long) valueData_;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
|
||||
public static final int DURATION_NANOSECOND_VALUE_FIELD_NUMBER = 30;
|
||||
/**
|
||||
* <code>int64 duration_nanosecond_value = 30;</code>
|
||||
* @return Whether the durationNanosecondValue field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasDurationNanosecondValue() {
|
||||
return valueDataCase_ == 30;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_nanosecond_value = 30;</code>
|
||||
* @return The durationNanosecondValue.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getDurationNanosecondValue() {
|
||||
if (valueDataCase_ == 30) {
|
||||
return (java.lang.Long) valueData_;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
|
||||
public static final int DECIMAL128_VALUE_FIELD_NUMBER = 31;
|
||||
/**
|
||||
* <code>.greptime.v1.Decimal128 decimal128_value = 31;</code>
|
||||
@@ -4554,22 +4398,6 @@ public final class RowData {
|
||||
if (valueDataCase_ == 26) {
|
||||
output.writeMessage(26, (io.greptime.v1.Common.IntervalMonthDayNano) valueData_);
|
||||
}
|
||||
if (valueDataCase_ == 27) {
|
||||
output.writeInt64(
|
||||
27, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 28) {
|
||||
output.writeInt64(
|
||||
28, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 29) {
|
||||
output.writeInt64(
|
||||
29, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 30) {
|
||||
output.writeInt64(
|
||||
30, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 31) {
|
||||
output.writeMessage(31, (io.greptime.v1.Common.Decimal128) valueData_);
|
||||
}
|
||||
@@ -4709,26 +4537,6 @@ public final class RowData {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(26, (io.greptime.v1.Common.IntervalMonthDayNano) valueData_);
|
||||
}
|
||||
if (valueDataCase_ == 27) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64Size(
|
||||
27, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 28) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64Size(
|
||||
28, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 29) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64Size(
|
||||
29, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 30) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64Size(
|
||||
30, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 31) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(31, (io.greptime.v1.Common.Decimal128) valueData_);
|
||||
@@ -4856,22 +4664,6 @@ public final class RowData {
|
||||
if (!getIntervalMonthDayNanoValue()
|
||||
.equals(other.getIntervalMonthDayNanoValue())) return false;
|
||||
break;
|
||||
case 27:
|
||||
if (getDurationSecondValue()
|
||||
!= other.getDurationSecondValue()) return false;
|
||||
break;
|
||||
case 28:
|
||||
if (getDurationMillisecondValue()
|
||||
!= other.getDurationMillisecondValue()) return false;
|
||||
break;
|
||||
case 29:
|
||||
if (getDurationMicrosecondValue()
|
||||
!= other.getDurationMicrosecondValue()) return false;
|
||||
break;
|
||||
case 30:
|
||||
if (getDurationNanosecondValue()
|
||||
!= other.getDurationNanosecondValue()) return false;
|
||||
break;
|
||||
case 31:
|
||||
if (!getDecimal128Value()
|
||||
.equals(other.getDecimal128Value())) return false;
|
||||
@@ -5010,26 +4802,6 @@ public final class RowData {
|
||||
hash = (37 * hash) + INTERVAL_MONTH_DAY_NANO_VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getIntervalMonthDayNanoValue().hashCode();
|
||||
break;
|
||||
case 27:
|
||||
hash = (37 * hash) + DURATION_SECOND_VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getDurationSecondValue());
|
||||
break;
|
||||
case 28:
|
||||
hash = (37 * hash) + DURATION_MILLISECOND_VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getDurationMillisecondValue());
|
||||
break;
|
||||
case 29:
|
||||
hash = (37 * hash) + DURATION_MICROSECOND_VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getDurationMicrosecondValue());
|
||||
break;
|
||||
case 30:
|
||||
hash = (37 * hash) + DURATION_NANOSECOND_VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getDurationNanosecondValue());
|
||||
break;
|
||||
case 31:
|
||||
hash = (37 * hash) + DECIMAL128_VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDecimal128Value().hashCode();
|
||||
@@ -5280,18 +5052,6 @@ public final class RowData {
|
||||
result.valueData_ = intervalMonthDayNanoValueBuilder_.build();
|
||||
}
|
||||
}
|
||||
if (valueDataCase_ == 27) {
|
||||
result.valueData_ = valueData_;
|
||||
}
|
||||
if (valueDataCase_ == 28) {
|
||||
result.valueData_ = valueData_;
|
||||
}
|
||||
if (valueDataCase_ == 29) {
|
||||
result.valueData_ = valueData_;
|
||||
}
|
||||
if (valueDataCase_ == 30) {
|
||||
result.valueData_ = valueData_;
|
||||
}
|
||||
if (valueDataCase_ == 31) {
|
||||
if (decimal128ValueBuilder_ == null) {
|
||||
result.valueData_ = valueData_;
|
||||
@@ -5455,22 +5215,6 @@ public final class RowData {
|
||||
mergeIntervalMonthDayNanoValue(other.getIntervalMonthDayNanoValue());
|
||||
break;
|
||||
}
|
||||
case DURATION_SECOND_VALUE: {
|
||||
setDurationSecondValue(other.getDurationSecondValue());
|
||||
break;
|
||||
}
|
||||
case DURATION_MILLISECOND_VALUE: {
|
||||
setDurationMillisecondValue(other.getDurationMillisecondValue());
|
||||
break;
|
||||
}
|
||||
case DURATION_MICROSECOND_VALUE: {
|
||||
setDurationMicrosecondValue(other.getDurationMicrosecondValue());
|
||||
break;
|
||||
}
|
||||
case DURATION_NANOSECOND_VALUE: {
|
||||
setDurationNanosecondValue(other.getDurationNanosecondValue());
|
||||
break;
|
||||
}
|
||||
case DECIMAL128_VALUE: {
|
||||
mergeDecimal128Value(other.getDecimal128Value());
|
||||
break;
|
||||
@@ -6749,170 +6493,6 @@ public final class RowData {
|
||||
return intervalMonthDayNanoValueBuilder_;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>int64 duration_second_value = 27;</code>
|
||||
* @return Whether the durationSecondValue field is set.
|
||||
*/
|
||||
public boolean hasDurationSecondValue() {
|
||||
return valueDataCase_ == 27;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_second_value = 27;</code>
|
||||
* @return The durationSecondValue.
|
||||
*/
|
||||
public long getDurationSecondValue() {
|
||||
if (valueDataCase_ == 27) {
|
||||
return (java.lang.Long) valueData_;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_second_value = 27;</code>
|
||||
* @param value The durationSecondValue to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDurationSecondValue(long value) {
|
||||
valueDataCase_ = 27;
|
||||
valueData_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_second_value = 27;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDurationSecondValue() {
|
||||
if (valueDataCase_ == 27) {
|
||||
valueDataCase_ = 0;
|
||||
valueData_ = null;
|
||||
onChanged();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>int64 duration_millisecond_value = 28;</code>
|
||||
* @return Whether the durationMillisecondValue field is set.
|
||||
*/
|
||||
public boolean hasDurationMillisecondValue() {
|
||||
return valueDataCase_ == 28;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_millisecond_value = 28;</code>
|
||||
* @return The durationMillisecondValue.
|
||||
*/
|
||||
public long getDurationMillisecondValue() {
|
||||
if (valueDataCase_ == 28) {
|
||||
return (java.lang.Long) valueData_;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_millisecond_value = 28;</code>
|
||||
* @param value The durationMillisecondValue to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDurationMillisecondValue(long value) {
|
||||
valueDataCase_ = 28;
|
||||
valueData_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_millisecond_value = 28;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDurationMillisecondValue() {
|
||||
if (valueDataCase_ == 28) {
|
||||
valueDataCase_ = 0;
|
||||
valueData_ = null;
|
||||
onChanged();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>int64 duration_microsecond_value = 29;</code>
|
||||
* @return Whether the durationMicrosecondValue field is set.
|
||||
*/
|
||||
public boolean hasDurationMicrosecondValue() {
|
||||
return valueDataCase_ == 29;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_microsecond_value = 29;</code>
|
||||
* @return The durationMicrosecondValue.
|
||||
*/
|
||||
public long getDurationMicrosecondValue() {
|
||||
if (valueDataCase_ == 29) {
|
||||
return (java.lang.Long) valueData_;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_microsecond_value = 29;</code>
|
||||
* @param value The durationMicrosecondValue to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDurationMicrosecondValue(long value) {
|
||||
valueDataCase_ = 29;
|
||||
valueData_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_microsecond_value = 29;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDurationMicrosecondValue() {
|
||||
if (valueDataCase_ == 29) {
|
||||
valueDataCase_ = 0;
|
||||
valueData_ = null;
|
||||
onChanged();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>int64 duration_nanosecond_value = 30;</code>
|
||||
* @return Whether the durationNanosecondValue field is set.
|
||||
*/
|
||||
public boolean hasDurationNanosecondValue() {
|
||||
return valueDataCase_ == 30;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_nanosecond_value = 30;</code>
|
||||
* @return The durationNanosecondValue.
|
||||
*/
|
||||
public long getDurationNanosecondValue() {
|
||||
if (valueDataCase_ == 30) {
|
||||
return (java.lang.Long) valueData_;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_nanosecond_value = 30;</code>
|
||||
* @param value The durationNanosecondValue to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDurationNanosecondValue(long value) {
|
||||
valueDataCase_ = 30;
|
||||
valueData_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_nanosecond_value = 30;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDurationNanosecondValue() {
|
||||
if (valueDataCase_ == 30) {
|
||||
valueDataCase_ = 0;
|
||||
valueData_ = null;
|
||||
onChanged();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Common.Decimal128, io.greptime.v1.Common.Decimal128.Builder, io.greptime.v1.Common.Decimal128OrBuilder> decimal128ValueBuilder_;
|
||||
/**
|
||||
@@ -7145,7 +6725,7 @@ public final class RowData {
|
||||
"ic_type\030\003 \001(\0162\031.greptime.v1.SemanticType" +
|
||||
"\022@\n\022datatype_extension\030\004 \001(\0132$.greptime." +
|
||||
"v1.ColumnDataTypeExtension\")\n\003Row\022\"\n\006val" +
|
||||
"ues\030\001 \003(\0132\022.greptime.v1.Value\"\316\007\n\005Value\022" +
|
||||
"ues\030\001 \003(\0132\022.greptime.v1.Value\"\274\006\n\005Value\022" +
|
||||
"\022\n\010i8_value\030\001 \001(\005H\000\022\023\n\ti16_value\030\002 \001(\005H\000" +
|
||||
"\022\023\n\ti32_value\030\003 \001(\005H\000\022\023\n\ti64_value\030\004 \001(\003" +
|
||||
"H\000\022\022\n\010u8_value\030\005 \001(\rH\000\022\023\n\tu16_value\030\006 \001(" +
|
||||
@@ -7164,15 +6744,11 @@ public final class RowData {
|
||||
"\001(\003H\000\022#\n\031interval_year_month_value\030\030 \001(\005" +
|
||||
"H\000\022!\n\027interval_day_time_value\030\031 \001(\003H\000\022J\n" +
|
||||
"\035interval_month_day_nano_value\030\032 \001(\0132!.g" +
|
||||
"reptime.v1.IntervalMonthDayNanoH\000\022\037\n\025dur" +
|
||||
"ation_second_value\030\033 \001(\003H\000\022$\n\032duration_m" +
|
||||
"illisecond_value\030\034 \001(\003H\000\022$\n\032duration_mic" +
|
||||
"rosecond_value\030\035 \001(\003H\000\022#\n\031duration_nanos" +
|
||||
"econd_value\030\036 \001(\003H\000\0223\n\020decimal128_value\030" +
|
||||
"\037 \001(\0132\027.greptime.v1.Decimal128H\000B\014\n\nvalu" +
|
||||
"e_dataBP\n\016io.greptime.v1B\007RowDataZ5githu" +
|
||||
"b.com/GreptimeTeam/greptime-proto/go/gre" +
|
||||
"ptime/v1b\006proto3"
|
||||
"reptime.v1.IntervalMonthDayNanoH\000\0223\n\020dec" +
|
||||
"imal128_value\030\037 \001(\0132\027.greptime.v1.Decima" +
|
||||
"l128H\000B\014\n\nvalue_dataBP\n\016io.greptime.v1B\007" +
|
||||
"RowDataZ5github.com/GreptimeTeam/greptim" +
|
||||
"e-proto/go/greptime/v1b\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -7202,7 +6778,7 @@ public final class RowData {
|
||||
internal_static_greptime_v1_Value_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_Value_descriptor,
|
||||
new java.lang.String[] { "I8Value", "I16Value", "I32Value", "I64Value", "U8Value", "U16Value", "U32Value", "U64Value", "F32Value", "F64Value", "BoolValue", "BinaryValue", "StringValue", "DateValue", "DatetimeValue", "TimestampSecondValue", "TimestampMillisecondValue", "TimestampMicrosecondValue", "TimestampNanosecondValue", "TimeSecondValue", "TimeMillisecondValue", "TimeMicrosecondValue", "TimeNanosecondValue", "IntervalYearMonthValue", "IntervalDayTimeValue", "IntervalMonthDayNanoValue", "DurationSecondValue", "DurationMillisecondValue", "DurationMicrosecondValue", "DurationNanosecondValue", "Decimal128Value", "ValueData", });
|
||||
new java.lang.String[] { "I8Value", "I16Value", "I32Value", "I64Value", "U8Value", "U16Value", "U32Value", "U64Value", "F32Value", "F64Value", "BoolValue", "BinaryValue", "StringValue", "DateValue", "DatetimeValue", "TimestampSecondValue", "TimestampMillisecondValue", "TimestampMicrosecondValue", "TimestampNanosecondValue", "TimeSecondValue", "TimeMillisecondValue", "TimeMicrosecondValue", "TimeNanosecondValue", "IntervalYearMonthValue", "IntervalDayTimeValue", "IntervalMonthDayNanoValue", "Decimal128Value", "ValueData", });
|
||||
io.greptime.v1.Common.getDescriptor();
|
||||
}
|
||||
|
||||
|
||||
@@ -57,10 +57,6 @@ message Column {
|
||||
repeated int32 interval_year_month_values = 24;
|
||||
repeated int64 interval_day_time_values = 25;
|
||||
repeated IntervalMonthDayNano interval_month_day_nano_values = 26;
|
||||
repeated int64 duration_second_values = 27;
|
||||
repeated int64 duration_millisecond_values = 28;
|
||||
repeated int64 duration_microsecond_values = 29;
|
||||
repeated int64 duration_nanosecond_values = 30;
|
||||
repeated Decimal128 decimal128_values = 31;
|
||||
}
|
||||
// The array of non-null values in this column.
|
||||
|
||||
@@ -106,10 +106,6 @@ enum ColumnDataType {
|
||||
INTERVAL_YEAR_MONTH = 23;
|
||||
INTERVAL_DAY_TIME = 24;
|
||||
INTERVAL_MONTH_DAY_NANO = 25;
|
||||
DURATION_SECOND = 26;
|
||||
DURATION_MILLISECOND = 27;
|
||||
DURATION_MICROSECOND = 28;
|
||||
DURATION_NANOSECOND = 29;
|
||||
DECIMAL128 = 30;
|
||||
}
|
||||
|
||||
|
||||
@@ -69,10 +69,6 @@ message Value {
|
||||
int32 interval_year_month_value = 24;
|
||||
int64 interval_day_time_value = 25;
|
||||
IntervalMonthDayNano interval_month_day_nano_value = 26;
|
||||
int64 duration_second_value = 27;
|
||||
int64 duration_millisecond_value = 28;
|
||||
int64 duration_microsecond_value = 29;
|
||||
int64 duration_nanosecond_value = 30;
|
||||
Decimal128 decimal128_value = 31;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user