feat: adds time column type (#62)
This commit is contained in:
+211
-21
@@ -57,6 +57,14 @@ PROTOBUF_CONSTEXPR Column_Values::Column_Values(
|
||||
, /*decltype(_impl_._ts_microsecond_values_cached_byte_size_)*/{0}
|
||||
, /*decltype(_impl_.ts_nanosecond_values_)*/{}
|
||||
, /*decltype(_impl_._ts_nanosecond_values_cached_byte_size_)*/{0}
|
||||
, /*decltype(_impl_.time_second_values_)*/{}
|
||||
, /*decltype(_impl_._time_second_values_cached_byte_size_)*/{0}
|
||||
, /*decltype(_impl_.time_millisecond_values_)*/{}
|
||||
, /*decltype(_impl_._time_millisecond_values_cached_byte_size_)*/{0}
|
||||
, /*decltype(_impl_.time_microsecond_values_)*/{}
|
||||
, /*decltype(_impl_._time_microsecond_values_cached_byte_size_)*/{0}
|
||||
, /*decltype(_impl_.time_nanosecond_values_)*/{}
|
||||
, /*decltype(_impl_._time_nanosecond_values_cached_byte_size_)*/{0}
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
struct Column_ValuesDefaultTypeInternal {
|
||||
PROTOBUF_CONSTEXPR Column_ValuesDefaultTypeInternal()
|
||||
@@ -132,6 +140,10 @@ const uint32_t TableStruct_greptime_2fv1_2fcolumn_2eproto::offsets[] PROTOBUF_SE
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.ts_millisecond_values_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.ts_microsecond_values_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.ts_nanosecond_values_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.time_second_values_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.time_millisecond_values_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.time_microsecond_values_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.time_nanosecond_values_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
@@ -156,8 +168,8 @@ 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)},
|
||||
{ 25, -1, -1, sizeof(::greptime::v1::Column)},
|
||||
{ 36, -1, -1, sizeof(::greptime::v1::ColumnDef)},
|
||||
{ 29, -1, -1, sizeof(::greptime::v1::Column)},
|
||||
{ 40, -1, -1, sizeof(::greptime::v1::ColumnDef)},
|
||||
};
|
||||
|
||||
static const ::_pb::Message* const file_default_instances[] = {
|
||||
@@ -168,12 +180,12 @@ 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\""
|
||||
"\257\005\n\006Column\022\023\n\013column_name\030\001 \001(\t\0227\n\rseman"
|
||||
"\255\006\n\006Column\022\023\n\013column_name\030\001 \001(\t\0227\n\rseman"
|
||||
"tic_type\030\002 \001(\0162 .greptime.v1.Column.Sema"
|
||||
"nticType\022*\n\006values\030\003 \001(\0132\032.greptime.v1.C"
|
||||
"olumn.Values\022\021\n\tnull_mask\030\004 \001(\014\022-\n\010datat"
|
||||
"ype\030\005 \001(\0162\033.greptime.v1.ColumnDataType\032\265"
|
||||
"\003\n\006Values\022\021\n\ti8_values\030\001 \003(\005\022\022\n\ni16_valu"
|
||||
"ype\030\005 \001(\0162\033.greptime.v1.ColumnDataType\032\263"
|
||||
"\004\n\006Values\022\021\n\ti8_values\030\001 \003(\005\022\022\n\ni16_valu"
|
||||
"es\030\002 \003(\005\022\022\n\ni32_values\030\003 \003(\005\022\022\n\ni64_valu"
|
||||
"es\030\004 \003(\003\022\021\n\tu8_values\030\005 \003(\r\022\022\n\nu16_value"
|
||||
"s\030\006 \003(\r\022\022\n\nu32_values\030\007 \003(\r\022\022\n\nu64_value"
|
||||
@@ -183,25 +195,31 @@ const char descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto[] PROTOBUF_S
|
||||
"te_values\030\016 \003(\005\022\027\n\017datetime_values\030\017 \003(\003"
|
||||
"\022\030\n\020ts_second_values\030\020 \003(\003\022\035\n\025ts_millise"
|
||||
"cond_values\030\021 \003(\003\022\035\n\025ts_microsecond_valu"
|
||||
"es\030\022 \003(\003\022\034\n\024ts_nanosecond_values\030\023 \003(\003\"1"
|
||||
"\n\014SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTI"
|
||||
"MESTAMP\020\002\"y\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022-\n\010"
|
||||
"datatype\030\002 \001(\0162\033.greptime.v1.ColumnDataT"
|
||||
"ype\022\023\n\013is_nullable\030\003 \001(\010\022\032\n\022default_cons"
|
||||
"traint\030\004 \001(\014*\247\002\n\016ColumnDataType\022\013\n\007BOOLE"
|
||||
"AN\020\000\022\010\n\004INT8\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020\003\022\t\n\005"
|
||||
"INT64\020\004\022\t\n\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UINT32"
|
||||
"\020\007\022\n\n\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020\n"
|
||||
"\022\n\n\006BINARY\020\013\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010DA"
|
||||
"TETIME\020\016\022\024\n\020TIMESTAMP_SECOND\020\017\022\031\n\025TIMEST"
|
||||
"AMP_MILLISECOND\020\020\022\031\n\025TIMESTAMP_MICROSECO"
|
||||
"ND\020\021\022\030\n\024TIMESTAMP_NANOSECOND\020\022BP\n\016io.gre"
|
||||
"ptime.v1B\007ColumnsZ5github.com/GreptimeTe"
|
||||
"am/greptime-proto/go/greptime/v1b\006proto3"
|
||||
"es\030\022 \003(\003\022\034\n\024ts_nanosecond_values\030\023 \003(\003\022\032"
|
||||
"\n\022time_second_values\030\024 \003(\003\022\037\n\027time_milli"
|
||||
"second_values\030\025 \003(\003\022\037\n\027time_microsecond_"
|
||||
"values\030\026 \003(\003\022\036\n\026time_nanosecond_values\030\027"
|
||||
" \003(\003\"1\n\014SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001"
|
||||
"\022\r\n\tTIMESTAMP\020\002\"y\n\tColumnDef\022\014\n\004name\030\001 \001"
|
||||
"(\t\022-\n\010datatype\030\002 \001(\0162\033.greptime.v1.Colum"
|
||||
"nDataType\022\023\n\013is_nullable\030\003 \001(\010\022\032\n\022defaul"
|
||||
"t_constraint\030\004 \001(\014*\371\002\n\016ColumnDataType\022\013\n"
|
||||
"\007BOOLEAN\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\006"
|
||||
"UINT32\020\007\022\n\n\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLO"
|
||||
"AT64\020\n\022\n\n\006BINARY\020\013\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r"
|
||||
"\022\014\n\010DATETIME\020\016\022\024\n\020TIMESTAMP_SECOND\020\017\022\031\n\025"
|
||||
"TIMESTAMP_MILLISECOND\020\020\022\031\n\025TIMESTAMP_MIC"
|
||||
"ROSECOND\020\021\022\030\n\024TIMESTAMP_NANOSECOND\020\022\022\017\n\013"
|
||||
"TIME_SECOND\020\023\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020T"
|
||||
"IME_MICROSECOND\020\025\022\023\n\017TIME_NANOSECOND\020\026BP"
|
||||
"\n\016io.greptime.v1B\007ColumnsZ5github.com/Gr"
|
||||
"eptimeTeam/greptime-proto/go/greptime/v1"
|
||||
"b\006proto3"
|
||||
;
|
||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcolumn_2eproto_once;
|
||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcolumn_2eproto = {
|
||||
false, false, 1240, descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto,
|
||||
false, false, 1448, descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto,
|
||||
"greptime/v1/column.proto",
|
||||
&descriptor_table_greptime_2fv1_2fcolumn_2eproto_once, nullptr, 0, 3,
|
||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fcolumn_2eproto::offsets,
|
||||
@@ -264,6 +282,10 @@ bool ColumnDataType_IsValid(int value) {
|
||||
case 16:
|
||||
case 17:
|
||||
case 18:
|
||||
case 19:
|
||||
case 20:
|
||||
case 21:
|
||||
case 22:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
@@ -320,6 +342,14 @@ Column_Values::Column_Values(const Column_Values& from)
|
||||
, /*decltype(_impl_._ts_microsecond_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.ts_nanosecond_values_){from._impl_.ts_nanosecond_values_}
|
||||
, /*decltype(_impl_._ts_nanosecond_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.time_second_values_){from._impl_.time_second_values_}
|
||||
, /*decltype(_impl_._time_second_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.time_millisecond_values_){from._impl_.time_millisecond_values_}
|
||||
, /*decltype(_impl_._time_millisecond_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.time_microsecond_values_){from._impl_.time_microsecond_values_}
|
||||
, /*decltype(_impl_._time_microsecond_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.time_nanosecond_values_){from._impl_.time_nanosecond_values_}
|
||||
, /*decltype(_impl_._time_nanosecond_values_cached_byte_size_)*/{0}
|
||||
, /*decltype(_impl_._cached_size_)*/{}};
|
||||
|
||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
@@ -364,6 +394,14 @@ inline void Column_Values::SharedCtor(
|
||||
, /*decltype(_impl_._ts_microsecond_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.ts_nanosecond_values_){arena}
|
||||
, /*decltype(_impl_._ts_nanosecond_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.time_second_values_){arena}
|
||||
, /*decltype(_impl_._time_second_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.time_millisecond_values_){arena}
|
||||
, /*decltype(_impl_._time_millisecond_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.time_microsecond_values_){arena}
|
||||
, /*decltype(_impl_._time_microsecond_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.time_nanosecond_values_){arena}
|
||||
, /*decltype(_impl_._time_nanosecond_values_cached_byte_size_)*/{0}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
};
|
||||
}
|
||||
@@ -398,6 +436,10 @@ inline void Column_Values::SharedDtor() {
|
||||
_impl_.ts_millisecond_values_.~RepeatedField();
|
||||
_impl_.ts_microsecond_values_.~RepeatedField();
|
||||
_impl_.ts_nanosecond_values_.~RepeatedField();
|
||||
_impl_.time_second_values_.~RepeatedField();
|
||||
_impl_.time_millisecond_values_.~RepeatedField();
|
||||
_impl_.time_microsecond_values_.~RepeatedField();
|
||||
_impl_.time_nanosecond_values_.~RepeatedField();
|
||||
}
|
||||
|
||||
void Column_Values::SetCachedSize(int size) const {
|
||||
@@ -429,6 +471,10 @@ void Column_Values::Clear() {
|
||||
_impl_.ts_millisecond_values_.Clear();
|
||||
_impl_.ts_microsecond_values_.Clear();
|
||||
_impl_.ts_nanosecond_values_.Clear();
|
||||
_impl_.time_second_values_.Clear();
|
||||
_impl_.time_millisecond_values_.Clear();
|
||||
_impl_.time_microsecond_values_.Clear();
|
||||
_impl_.time_nanosecond_values_.Clear();
|
||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||
}
|
||||
|
||||
@@ -654,6 +700,50 @@ const char* Column_Values::_InternalParse(const char* ptr, ::_pbi::ParseContext*
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// repeated int64 time_second_values = 20;
|
||||
case 20:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 162)) {
|
||||
ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt64Parser(_internal_mutable_time_second_values(), ptr, ctx);
|
||||
CHK_(ptr);
|
||||
} else if (static_cast<uint8_t>(tag) == 160) {
|
||||
_internal_add_time_second_values(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr));
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// repeated int64 time_millisecond_values = 21;
|
||||
case 21:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 170)) {
|
||||
ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt64Parser(_internal_mutable_time_millisecond_values(), ptr, ctx);
|
||||
CHK_(ptr);
|
||||
} else if (static_cast<uint8_t>(tag) == 168) {
|
||||
_internal_add_time_millisecond_values(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr));
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// repeated int64 time_microsecond_values = 22;
|
||||
case 22:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 178)) {
|
||||
ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt64Parser(_internal_mutable_time_microsecond_values(), ptr, ctx);
|
||||
CHK_(ptr);
|
||||
} else if (static_cast<uint8_t>(tag) == 176) {
|
||||
_internal_add_time_microsecond_values(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr));
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// repeated int64 time_nanosecond_values = 23;
|
||||
case 23:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 186)) {
|
||||
ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt64Parser(_internal_mutable_time_nanosecond_values(), ptr, ctx);
|
||||
CHK_(ptr);
|
||||
} else if (static_cast<uint8_t>(tag) == 184) {
|
||||
_internal_add_time_nanosecond_values(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr));
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
@@ -840,6 +930,42 @@ uint8_t* Column_Values::_InternalSerialize(
|
||||
}
|
||||
}
|
||||
|
||||
// repeated int64 time_second_values = 20;
|
||||
{
|
||||
int byte_size = _impl_._time_second_values_cached_byte_size_.load(std::memory_order_relaxed);
|
||||
if (byte_size > 0) {
|
||||
target = stream->WriteInt64Packed(
|
||||
20, _internal_time_second_values(), byte_size, target);
|
||||
}
|
||||
}
|
||||
|
||||
// repeated int64 time_millisecond_values = 21;
|
||||
{
|
||||
int byte_size = _impl_._time_millisecond_values_cached_byte_size_.load(std::memory_order_relaxed);
|
||||
if (byte_size > 0) {
|
||||
target = stream->WriteInt64Packed(
|
||||
21, _internal_time_millisecond_values(), byte_size, target);
|
||||
}
|
||||
}
|
||||
|
||||
// repeated int64 time_microsecond_values = 22;
|
||||
{
|
||||
int byte_size = _impl_._time_microsecond_values_cached_byte_size_.load(std::memory_order_relaxed);
|
||||
if (byte_size > 0) {
|
||||
target = stream->WriteInt64Packed(
|
||||
22, _internal_time_microsecond_values(), byte_size, target);
|
||||
}
|
||||
}
|
||||
|
||||
// repeated int64 time_nanosecond_values = 23;
|
||||
{
|
||||
int byte_size = _impl_._time_nanosecond_values_cached_byte_size_.load(std::memory_order_relaxed);
|
||||
if (byte_size > 0) {
|
||||
target = stream->WriteInt64Packed(
|
||||
23, _internal_time_nanosecond_values(), byte_size, target);
|
||||
}
|
||||
}
|
||||
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||
@@ -1101,6 +1227,62 @@ size_t Column_Values::ByteSizeLong() const {
|
||||
total_size += data_size;
|
||||
}
|
||||
|
||||
// repeated int64 time_second_values = 20;
|
||||
{
|
||||
size_t data_size = ::_pbi::WireFormatLite::
|
||||
Int64Size(this->_impl_.time_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_._time_second_values_cached_byte_size_.store(cached_size,
|
||||
std::memory_order_relaxed);
|
||||
total_size += data_size;
|
||||
}
|
||||
|
||||
// repeated int64 time_millisecond_values = 21;
|
||||
{
|
||||
size_t data_size = ::_pbi::WireFormatLite::
|
||||
Int64Size(this->_impl_.time_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_._time_millisecond_values_cached_byte_size_.store(cached_size,
|
||||
std::memory_order_relaxed);
|
||||
total_size += data_size;
|
||||
}
|
||||
|
||||
// repeated int64 time_microsecond_values = 22;
|
||||
{
|
||||
size_t data_size = ::_pbi::WireFormatLite::
|
||||
Int64Size(this->_impl_.time_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_._time_microsecond_values_cached_byte_size_.store(cached_size,
|
||||
std::memory_order_relaxed);
|
||||
total_size += data_size;
|
||||
}
|
||||
|
||||
// repeated int64 time_nanosecond_values = 23;
|
||||
{
|
||||
size_t data_size = ::_pbi::WireFormatLite::
|
||||
Int64Size(this->_impl_.time_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_._time_nanosecond_values_cached_byte_size_.store(cached_size,
|
||||
std::memory_order_relaxed);
|
||||
total_size += data_size;
|
||||
}
|
||||
|
||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
@@ -1138,6 +1320,10 @@ void Column_Values::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::
|
||||
_this->_impl_.ts_millisecond_values_.MergeFrom(from._impl_.ts_millisecond_values_);
|
||||
_this->_impl_.ts_microsecond_values_.MergeFrom(from._impl_.ts_microsecond_values_);
|
||||
_this->_impl_.ts_nanosecond_values_.MergeFrom(from._impl_.ts_nanosecond_values_);
|
||||
_this->_impl_.time_second_values_.MergeFrom(from._impl_.time_second_values_);
|
||||
_this->_impl_.time_millisecond_values_.MergeFrom(from._impl_.time_millisecond_values_);
|
||||
_this->_impl_.time_microsecond_values_.MergeFrom(from._impl_.time_microsecond_values_);
|
||||
_this->_impl_.time_nanosecond_values_.MergeFrom(from._impl_.time_nanosecond_values_);
|
||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
||||
@@ -1174,6 +1360,10 @@ void Column_Values::InternalSwap(Column_Values* other) {
|
||||
_impl_.ts_millisecond_values_.InternalSwap(&other->_impl_.ts_millisecond_values_);
|
||||
_impl_.ts_microsecond_values_.InternalSwap(&other->_impl_.ts_microsecond_values_);
|
||||
_impl_.ts_nanosecond_values_.InternalSwap(&other->_impl_.ts_nanosecond_values_);
|
||||
_impl_.time_second_values_.InternalSwap(&other->_impl_.time_second_values_);
|
||||
_impl_.time_millisecond_values_.InternalSwap(&other->_impl_.time_millisecond_values_);
|
||||
_impl_.time_microsecond_values_.InternalSwap(&other->_impl_.time_microsecond_values_);
|
||||
_impl_.time_nanosecond_values_.InternalSwap(&other->_impl_.time_nanosecond_values_);
|
||||
}
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata Column_Values::GetMetadata() const {
|
||||
|
||||
+293
-1
@@ -112,12 +112,16 @@ enum ColumnDataType : int {
|
||||
TIMESTAMP_MILLISECOND = 16,
|
||||
TIMESTAMP_MICROSECOND = 17,
|
||||
TIMESTAMP_NANOSECOND = 18,
|
||||
TIME_SECOND = 19,
|
||||
TIME_MILLISECOND = 20,
|
||||
TIME_MICROSECOND = 21,
|
||||
TIME_NANOSECOND = 22,
|
||||
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()
|
||||
};
|
||||
bool ColumnDataType_IsValid(int value);
|
||||
constexpr ColumnDataType ColumnDataType_MIN = BOOLEAN;
|
||||
constexpr ColumnDataType ColumnDataType_MAX = TIMESTAMP_NANOSECOND;
|
||||
constexpr ColumnDataType ColumnDataType_MAX = TIME_NANOSECOND;
|
||||
constexpr int ColumnDataType_ARRAYSIZE = ColumnDataType_MAX + 1;
|
||||
|
||||
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ColumnDataType_descriptor();
|
||||
@@ -276,6 +280,10 @@ class Column_Values final :
|
||||
kTsMillisecondValuesFieldNumber = 17,
|
||||
kTsMicrosecondValuesFieldNumber = 18,
|
||||
kTsNanosecondValuesFieldNumber = 19,
|
||||
kTimeSecondValuesFieldNumber = 20,
|
||||
kTimeMillisecondValuesFieldNumber = 21,
|
||||
kTimeMicrosecondValuesFieldNumber = 22,
|
||||
kTimeNanosecondValuesFieldNumber = 23,
|
||||
};
|
||||
// repeated int32 i8_values = 1;
|
||||
int i8_values_size() const;
|
||||
@@ -699,6 +707,94 @@ class Column_Values final :
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
mutable_ts_nanosecond_values();
|
||||
|
||||
// repeated int64 time_second_values = 20;
|
||||
int time_second_values_size() const;
|
||||
private:
|
||||
int _internal_time_second_values_size() const;
|
||||
public:
|
||||
void clear_time_second_values();
|
||||
private:
|
||||
int64_t _internal_time_second_values(int index) const;
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
_internal_time_second_values() const;
|
||||
void _internal_add_time_second_values(int64_t value);
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
_internal_mutable_time_second_values();
|
||||
public:
|
||||
int64_t time_second_values(int index) const;
|
||||
void set_time_second_values(int index, int64_t value);
|
||||
void add_time_second_values(int64_t value);
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
time_second_values() const;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
mutable_time_second_values();
|
||||
|
||||
// repeated int64 time_millisecond_values = 21;
|
||||
int time_millisecond_values_size() const;
|
||||
private:
|
||||
int _internal_time_millisecond_values_size() const;
|
||||
public:
|
||||
void clear_time_millisecond_values();
|
||||
private:
|
||||
int64_t _internal_time_millisecond_values(int index) const;
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
_internal_time_millisecond_values() const;
|
||||
void _internal_add_time_millisecond_values(int64_t value);
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
_internal_mutable_time_millisecond_values();
|
||||
public:
|
||||
int64_t time_millisecond_values(int index) const;
|
||||
void set_time_millisecond_values(int index, int64_t value);
|
||||
void add_time_millisecond_values(int64_t value);
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
time_millisecond_values() const;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
mutable_time_millisecond_values();
|
||||
|
||||
// repeated int64 time_microsecond_values = 22;
|
||||
int time_microsecond_values_size() const;
|
||||
private:
|
||||
int _internal_time_microsecond_values_size() const;
|
||||
public:
|
||||
void clear_time_microsecond_values();
|
||||
private:
|
||||
int64_t _internal_time_microsecond_values(int index) const;
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
_internal_time_microsecond_values() const;
|
||||
void _internal_add_time_microsecond_values(int64_t value);
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
_internal_mutable_time_microsecond_values();
|
||||
public:
|
||||
int64_t time_microsecond_values(int index) const;
|
||||
void set_time_microsecond_values(int index, int64_t value);
|
||||
void add_time_microsecond_values(int64_t value);
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
time_microsecond_values() const;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
mutable_time_microsecond_values();
|
||||
|
||||
// repeated int64 time_nanosecond_values = 23;
|
||||
int time_nanosecond_values_size() const;
|
||||
private:
|
||||
int _internal_time_nanosecond_values_size() const;
|
||||
public:
|
||||
void clear_time_nanosecond_values();
|
||||
private:
|
||||
int64_t _internal_time_nanosecond_values(int index) const;
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
_internal_time_nanosecond_values() const;
|
||||
void _internal_add_time_nanosecond_values(int64_t value);
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
_internal_mutable_time_nanosecond_values();
|
||||
public:
|
||||
int64_t time_nanosecond_values(int index) const;
|
||||
void set_time_nanosecond_values(int index, int64_t value);
|
||||
void add_time_nanosecond_values(int64_t value);
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
time_nanosecond_values() const;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
mutable_time_nanosecond_values();
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.Column.Values)
|
||||
private:
|
||||
class _Internal;
|
||||
@@ -740,6 +836,14 @@ class Column_Values final :
|
||||
mutable std::atomic<int> _ts_microsecond_values_cached_byte_size_;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > ts_nanosecond_values_;
|
||||
mutable std::atomic<int> _ts_nanosecond_values_cached_byte_size_;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > time_second_values_;
|
||||
mutable std::atomic<int> _time_second_values_cached_byte_size_;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > time_millisecond_values_;
|
||||
mutable std::atomic<int> _time_millisecond_values_cached_byte_size_;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > time_microsecond_values_;
|
||||
mutable std::atomic<int> _time_microsecond_values_cached_byte_size_;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > time_nanosecond_values_;
|
||||
mutable std::atomic<int> _time_nanosecond_values_cached_byte_size_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
union { Impl_ _impl_; };
|
||||
@@ -2141,6 +2245,194 @@ Column_Values::mutable_ts_nanosecond_values() {
|
||||
return _internal_mutable_ts_nanosecond_values();
|
||||
}
|
||||
|
||||
// repeated int64 time_second_values = 20;
|
||||
inline int Column_Values::_internal_time_second_values_size() const {
|
||||
return _impl_.time_second_values_.size();
|
||||
}
|
||||
inline int Column_Values::time_second_values_size() const {
|
||||
return _internal_time_second_values_size();
|
||||
}
|
||||
inline void Column_Values::clear_time_second_values() {
|
||||
_impl_.time_second_values_.Clear();
|
||||
}
|
||||
inline int64_t Column_Values::_internal_time_second_values(int index) const {
|
||||
return _impl_.time_second_values_.Get(index);
|
||||
}
|
||||
inline int64_t Column_Values::time_second_values(int index) const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.Column.Values.time_second_values)
|
||||
return _internal_time_second_values(index);
|
||||
}
|
||||
inline void Column_Values::set_time_second_values(int index, int64_t value) {
|
||||
_impl_.time_second_values_.Set(index, value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.Column.Values.time_second_values)
|
||||
}
|
||||
inline void Column_Values::_internal_add_time_second_values(int64_t value) {
|
||||
_impl_.time_second_values_.Add(value);
|
||||
}
|
||||
inline void Column_Values::add_time_second_values(int64_t value) {
|
||||
_internal_add_time_second_values(value);
|
||||
// @@protoc_insertion_point(field_add:greptime.v1.Column.Values.time_second_values)
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
Column_Values::_internal_time_second_values() const {
|
||||
return _impl_.time_second_values_;
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
Column_Values::time_second_values() const {
|
||||
// @@protoc_insertion_point(field_list:greptime.v1.Column.Values.time_second_values)
|
||||
return _internal_time_second_values();
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
Column_Values::_internal_mutable_time_second_values() {
|
||||
return &_impl_.time_second_values_;
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
Column_Values::mutable_time_second_values() {
|
||||
// @@protoc_insertion_point(field_mutable_list:greptime.v1.Column.Values.time_second_values)
|
||||
return _internal_mutable_time_second_values();
|
||||
}
|
||||
|
||||
// repeated int64 time_millisecond_values = 21;
|
||||
inline int Column_Values::_internal_time_millisecond_values_size() const {
|
||||
return _impl_.time_millisecond_values_.size();
|
||||
}
|
||||
inline int Column_Values::time_millisecond_values_size() const {
|
||||
return _internal_time_millisecond_values_size();
|
||||
}
|
||||
inline void Column_Values::clear_time_millisecond_values() {
|
||||
_impl_.time_millisecond_values_.Clear();
|
||||
}
|
||||
inline int64_t Column_Values::_internal_time_millisecond_values(int index) const {
|
||||
return _impl_.time_millisecond_values_.Get(index);
|
||||
}
|
||||
inline int64_t Column_Values::time_millisecond_values(int index) const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.Column.Values.time_millisecond_values)
|
||||
return _internal_time_millisecond_values(index);
|
||||
}
|
||||
inline void Column_Values::set_time_millisecond_values(int index, int64_t value) {
|
||||
_impl_.time_millisecond_values_.Set(index, value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.Column.Values.time_millisecond_values)
|
||||
}
|
||||
inline void Column_Values::_internal_add_time_millisecond_values(int64_t value) {
|
||||
_impl_.time_millisecond_values_.Add(value);
|
||||
}
|
||||
inline void Column_Values::add_time_millisecond_values(int64_t value) {
|
||||
_internal_add_time_millisecond_values(value);
|
||||
// @@protoc_insertion_point(field_add:greptime.v1.Column.Values.time_millisecond_values)
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
Column_Values::_internal_time_millisecond_values() const {
|
||||
return _impl_.time_millisecond_values_;
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
Column_Values::time_millisecond_values() const {
|
||||
// @@protoc_insertion_point(field_list:greptime.v1.Column.Values.time_millisecond_values)
|
||||
return _internal_time_millisecond_values();
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
Column_Values::_internal_mutable_time_millisecond_values() {
|
||||
return &_impl_.time_millisecond_values_;
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
Column_Values::mutable_time_millisecond_values() {
|
||||
// @@protoc_insertion_point(field_mutable_list:greptime.v1.Column.Values.time_millisecond_values)
|
||||
return _internal_mutable_time_millisecond_values();
|
||||
}
|
||||
|
||||
// repeated int64 time_microsecond_values = 22;
|
||||
inline int Column_Values::_internal_time_microsecond_values_size() const {
|
||||
return _impl_.time_microsecond_values_.size();
|
||||
}
|
||||
inline int Column_Values::time_microsecond_values_size() const {
|
||||
return _internal_time_microsecond_values_size();
|
||||
}
|
||||
inline void Column_Values::clear_time_microsecond_values() {
|
||||
_impl_.time_microsecond_values_.Clear();
|
||||
}
|
||||
inline int64_t Column_Values::_internal_time_microsecond_values(int index) const {
|
||||
return _impl_.time_microsecond_values_.Get(index);
|
||||
}
|
||||
inline int64_t Column_Values::time_microsecond_values(int index) const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.Column.Values.time_microsecond_values)
|
||||
return _internal_time_microsecond_values(index);
|
||||
}
|
||||
inline void Column_Values::set_time_microsecond_values(int index, int64_t value) {
|
||||
_impl_.time_microsecond_values_.Set(index, value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.Column.Values.time_microsecond_values)
|
||||
}
|
||||
inline void Column_Values::_internal_add_time_microsecond_values(int64_t value) {
|
||||
_impl_.time_microsecond_values_.Add(value);
|
||||
}
|
||||
inline void Column_Values::add_time_microsecond_values(int64_t value) {
|
||||
_internal_add_time_microsecond_values(value);
|
||||
// @@protoc_insertion_point(field_add:greptime.v1.Column.Values.time_microsecond_values)
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
Column_Values::_internal_time_microsecond_values() const {
|
||||
return _impl_.time_microsecond_values_;
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
Column_Values::time_microsecond_values() const {
|
||||
// @@protoc_insertion_point(field_list:greptime.v1.Column.Values.time_microsecond_values)
|
||||
return _internal_time_microsecond_values();
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
Column_Values::_internal_mutable_time_microsecond_values() {
|
||||
return &_impl_.time_microsecond_values_;
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
Column_Values::mutable_time_microsecond_values() {
|
||||
// @@protoc_insertion_point(field_mutable_list:greptime.v1.Column.Values.time_microsecond_values)
|
||||
return _internal_mutable_time_microsecond_values();
|
||||
}
|
||||
|
||||
// repeated int64 time_nanosecond_values = 23;
|
||||
inline int Column_Values::_internal_time_nanosecond_values_size() const {
|
||||
return _impl_.time_nanosecond_values_.size();
|
||||
}
|
||||
inline int Column_Values::time_nanosecond_values_size() const {
|
||||
return _internal_time_nanosecond_values_size();
|
||||
}
|
||||
inline void Column_Values::clear_time_nanosecond_values() {
|
||||
_impl_.time_nanosecond_values_.Clear();
|
||||
}
|
||||
inline int64_t Column_Values::_internal_time_nanosecond_values(int index) const {
|
||||
return _impl_.time_nanosecond_values_.Get(index);
|
||||
}
|
||||
inline int64_t Column_Values::time_nanosecond_values(int index) const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.Column.Values.time_nanosecond_values)
|
||||
return _internal_time_nanosecond_values(index);
|
||||
}
|
||||
inline void Column_Values::set_time_nanosecond_values(int index, int64_t value) {
|
||||
_impl_.time_nanosecond_values_.Set(index, value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.Column.Values.time_nanosecond_values)
|
||||
}
|
||||
inline void Column_Values::_internal_add_time_nanosecond_values(int64_t value) {
|
||||
_impl_.time_nanosecond_values_.Add(value);
|
||||
}
|
||||
inline void Column_Values::add_time_nanosecond_values(int64_t value) {
|
||||
_internal_add_time_nanosecond_values(value);
|
||||
// @@protoc_insertion_point(field_add:greptime.v1.Column.Values.time_nanosecond_values)
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
Column_Values::_internal_time_nanosecond_values() const {
|
||||
return _impl_.time_nanosecond_values_;
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
|
||||
Column_Values::time_nanosecond_values() const {
|
||||
// @@protoc_insertion_point(field_list:greptime.v1.Column.Values.time_nanosecond_values)
|
||||
return _internal_time_nanosecond_values();
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
Column_Values::_internal_mutable_time_nanosecond_values() {
|
||||
return &_impl_.time_nanosecond_values_;
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
|
||||
Column_Values::mutable_time_nanosecond_values() {
|
||||
// @@protoc_insertion_point(field_mutable_list:greptime.v1.Column.Values.time_nanosecond_values)
|
||||
return _internal_mutable_time_nanosecond_values();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// Column
|
||||
|
||||
+123
-60
@@ -56,6 +56,10 @@ const (
|
||||
ColumnDataType_TIMESTAMP_MILLISECOND ColumnDataType = 16
|
||||
ColumnDataType_TIMESTAMP_MICROSECOND ColumnDataType = 17
|
||||
ColumnDataType_TIMESTAMP_NANOSECOND ColumnDataType = 18
|
||||
ColumnDataType_TIME_SECOND ColumnDataType = 19
|
||||
ColumnDataType_TIME_MILLISECOND ColumnDataType = 20
|
||||
ColumnDataType_TIME_MICROSECOND ColumnDataType = 21
|
||||
ColumnDataType_TIME_NANOSECOND ColumnDataType = 22
|
||||
)
|
||||
|
||||
// Enum value maps for ColumnDataType.
|
||||
@@ -80,6 +84,10 @@ var (
|
||||
16: "TIMESTAMP_MILLISECOND",
|
||||
17: "TIMESTAMP_MICROSECOND",
|
||||
18: "TIMESTAMP_NANOSECOND",
|
||||
19: "TIME_SECOND",
|
||||
20: "TIME_MILLISECOND",
|
||||
21: "TIME_MICROSECOND",
|
||||
22: "TIME_NANOSECOND",
|
||||
}
|
||||
ColumnDataType_value = map[string]int32{
|
||||
"BOOLEAN": 0,
|
||||
@@ -101,6 +109,10 @@ var (
|
||||
"TIMESTAMP_MILLISECOND": 16,
|
||||
"TIMESTAMP_MICROSECOND": 17,
|
||||
"TIMESTAMP_NANOSECOND": 18,
|
||||
"TIME_SECOND": 19,
|
||||
"TIME_MILLISECOND": 20,
|
||||
"TIME_MICROSECOND": 21,
|
||||
"TIME_NANOSECOND": 22,
|
||||
}
|
||||
)
|
||||
|
||||
@@ -349,25 +361,29 @@ type Column_Values struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
I8Values []int32 `protobuf:"varint,1,rep,packed,name=i8_values,json=i8Values,proto3" json:"i8_values,omitempty"`
|
||||
I16Values []int32 `protobuf:"varint,2,rep,packed,name=i16_values,json=i16Values,proto3" json:"i16_values,omitempty"`
|
||||
I32Values []int32 `protobuf:"varint,3,rep,packed,name=i32_values,json=i32Values,proto3" json:"i32_values,omitempty"`
|
||||
I64Values []int64 `protobuf:"varint,4,rep,packed,name=i64_values,json=i64Values,proto3" json:"i64_values,omitempty"`
|
||||
U8Values []uint32 `protobuf:"varint,5,rep,packed,name=u8_values,json=u8Values,proto3" json:"u8_values,omitempty"`
|
||||
U16Values []uint32 `protobuf:"varint,6,rep,packed,name=u16_values,json=u16Values,proto3" json:"u16_values,omitempty"`
|
||||
U32Values []uint32 `protobuf:"varint,7,rep,packed,name=u32_values,json=u32Values,proto3" json:"u32_values,omitempty"`
|
||||
U64Values []uint64 `protobuf:"varint,8,rep,packed,name=u64_values,json=u64Values,proto3" json:"u64_values,omitempty"`
|
||||
F32Values []float32 `protobuf:"fixed32,9,rep,packed,name=f32_values,json=f32Values,proto3" json:"f32_values,omitempty"`
|
||||
F64Values []float64 `protobuf:"fixed64,10,rep,packed,name=f64_values,json=f64Values,proto3" json:"f64_values,omitempty"`
|
||||
BoolValues []bool `protobuf:"varint,11,rep,packed,name=bool_values,json=boolValues,proto3" json:"bool_values,omitempty"`
|
||||
BinaryValues [][]byte `protobuf:"bytes,12,rep,name=binary_values,json=binaryValues,proto3" json:"binary_values,omitempty"`
|
||||
StringValues []string `protobuf:"bytes,13,rep,name=string_values,json=stringValues,proto3" json:"string_values,omitempty"`
|
||||
DateValues []int32 `protobuf:"varint,14,rep,packed,name=date_values,json=dateValues,proto3" json:"date_values,omitempty"`
|
||||
DatetimeValues []int64 `protobuf:"varint,15,rep,packed,name=datetime_values,json=datetimeValues,proto3" json:"datetime_values,omitempty"`
|
||||
TsSecondValues []int64 `protobuf:"varint,16,rep,packed,name=ts_second_values,json=tsSecondValues,proto3" json:"ts_second_values,omitempty"`
|
||||
TsMillisecondValues []int64 `protobuf:"varint,17,rep,packed,name=ts_millisecond_values,json=tsMillisecondValues,proto3" json:"ts_millisecond_values,omitempty"`
|
||||
TsMicrosecondValues []int64 `protobuf:"varint,18,rep,packed,name=ts_microsecond_values,json=tsMicrosecondValues,proto3" json:"ts_microsecond_values,omitempty"`
|
||||
TsNanosecondValues []int64 `protobuf:"varint,19,rep,packed,name=ts_nanosecond_values,json=tsNanosecondValues,proto3" json:"ts_nanosecond_values,omitempty"`
|
||||
I8Values []int32 `protobuf:"varint,1,rep,packed,name=i8_values,json=i8Values,proto3" json:"i8_values,omitempty"`
|
||||
I16Values []int32 `protobuf:"varint,2,rep,packed,name=i16_values,json=i16Values,proto3" json:"i16_values,omitempty"`
|
||||
I32Values []int32 `protobuf:"varint,3,rep,packed,name=i32_values,json=i32Values,proto3" json:"i32_values,omitempty"`
|
||||
I64Values []int64 `protobuf:"varint,4,rep,packed,name=i64_values,json=i64Values,proto3" json:"i64_values,omitempty"`
|
||||
U8Values []uint32 `protobuf:"varint,5,rep,packed,name=u8_values,json=u8Values,proto3" json:"u8_values,omitempty"`
|
||||
U16Values []uint32 `protobuf:"varint,6,rep,packed,name=u16_values,json=u16Values,proto3" json:"u16_values,omitempty"`
|
||||
U32Values []uint32 `protobuf:"varint,7,rep,packed,name=u32_values,json=u32Values,proto3" json:"u32_values,omitempty"`
|
||||
U64Values []uint64 `protobuf:"varint,8,rep,packed,name=u64_values,json=u64Values,proto3" json:"u64_values,omitempty"`
|
||||
F32Values []float32 `protobuf:"fixed32,9,rep,packed,name=f32_values,json=f32Values,proto3" json:"f32_values,omitempty"`
|
||||
F64Values []float64 `protobuf:"fixed64,10,rep,packed,name=f64_values,json=f64Values,proto3" json:"f64_values,omitempty"`
|
||||
BoolValues []bool `protobuf:"varint,11,rep,packed,name=bool_values,json=boolValues,proto3" json:"bool_values,omitempty"`
|
||||
BinaryValues [][]byte `protobuf:"bytes,12,rep,name=binary_values,json=binaryValues,proto3" json:"binary_values,omitempty"`
|
||||
StringValues []string `protobuf:"bytes,13,rep,name=string_values,json=stringValues,proto3" json:"string_values,omitempty"`
|
||||
DateValues []int32 `protobuf:"varint,14,rep,packed,name=date_values,json=dateValues,proto3" json:"date_values,omitempty"`
|
||||
DatetimeValues []int64 `protobuf:"varint,15,rep,packed,name=datetime_values,json=datetimeValues,proto3" json:"datetime_values,omitempty"`
|
||||
TsSecondValues []int64 `protobuf:"varint,16,rep,packed,name=ts_second_values,json=tsSecondValues,proto3" json:"ts_second_values,omitempty"`
|
||||
TsMillisecondValues []int64 `protobuf:"varint,17,rep,packed,name=ts_millisecond_values,json=tsMillisecondValues,proto3" json:"ts_millisecond_values,omitempty"`
|
||||
TsMicrosecondValues []int64 `protobuf:"varint,18,rep,packed,name=ts_microsecond_values,json=tsMicrosecondValues,proto3" json:"ts_microsecond_values,omitempty"`
|
||||
TsNanosecondValues []int64 `protobuf:"varint,19,rep,packed,name=ts_nanosecond_values,json=tsNanosecondValues,proto3" json:"ts_nanosecond_values,omitempty"`
|
||||
TimeSecondValues []int64 `protobuf:"varint,20,rep,packed,name=time_second_values,json=timeSecondValues,proto3" json:"time_second_values,omitempty"`
|
||||
TimeMillisecondValues []int64 `protobuf:"varint,21,rep,packed,name=time_millisecond_values,json=timeMillisecondValues,proto3" json:"time_millisecond_values,omitempty"`
|
||||
TimeMicrosecondValues []int64 `protobuf:"varint,22,rep,packed,name=time_microsecond_values,json=timeMicrosecondValues,proto3" json:"time_microsecond_values,omitempty"`
|
||||
TimeNanosecondValues []int64 `protobuf:"varint,23,rep,packed,name=time_nanosecond_values,json=timeNanosecondValues,proto3" json:"time_nanosecond_values,omitempty"`
|
||||
}
|
||||
|
||||
func (x *Column_Values) Reset() {
|
||||
@@ -535,12 +551,40 @@ func (x *Column_Values) GetTsNanosecondValues() []int64 {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Column_Values) GetTimeSecondValues() []int64 {
|
||||
if x != nil {
|
||||
return x.TimeSecondValues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Column_Values) GetTimeMillisecondValues() []int64 {
|
||||
if x != nil {
|
||||
return x.TimeMillisecondValues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Column_Values) GetTimeMicrosecondValues() []int64 {
|
||||
if x != nil {
|
||||
return x.TimeMicrosecondValues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Column_Values) GetTimeNanosecondValues() []int64 {
|
||||
if x != nil {
|
||||
return x.TimeNanosecondValues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_greptime_v1_column_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_greptime_v1_column_proto_rawDesc = []byte{
|
||||
0x0a, 0x18, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f,
|
||||
0x6c, 0x75, 0x6d, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x67, 0x72, 0x65, 0x70,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x22, 0xe3, 0x07, 0x0a, 0x06, 0x43, 0x6f, 0x6c, 0x75,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x22, 0xb7, 0x09, 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, 0x45, 0x0a, 0x0d, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f,
|
||||
@@ -556,7 +600,7 @@ var file_greptime_v1_column_proto_rawDesc = []byte{
|
||||
0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 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, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61,
|
||||
0x74, 0x79, 0x70, 0x65, 0x1a, 0xb3, 0x05, 0x0a, 0x06, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12,
|
||||
0x74, 0x79, 0x70, 0x65, 0x1a, 0x87, 0x07, 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, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05,
|
||||
@@ -599,45 +643,64 @@ var file_greptime_v1_column_proto_rawDesc = []byte{
|
||||
0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x74, 0x73, 0x5f, 0x6e,
|
||||
0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||
0x18, 0x13, 0x20, 0x03, 0x28, 0x03, 0x52, 0x12, 0x74, 0x73, 0x4e, 0x61, 0x6e, 0x6f, 0x73, 0x65,
|
||||
0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 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, 0x22, 0xa8, 0x01,
|
||||
0x0a, 0x09, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
||||
0x37, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x0e, 0x32, 0x1b, 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, 0x52, 0x08,
|
||||
0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x6e,
|
||||
0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69,
|
||||
0x73, 0x4e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x66,
|
||||
0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18,
|
||||
0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f,
|
||||
0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2a, 0xa7, 0x02, 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, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36,
|
||||
0x34, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x05, 0x12, 0x0a,
|
||||
0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49,
|
||||
0x4e, 0x54, 0x33, 0x32, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x36, 0x34,
|
||||
0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x33, 0x32, 0x10, 0x09, 0x12,
|
||||
0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36, 0x34, 0x10, 0x0a, 0x12, 0x0a, 0x0a, 0x06,
|
||||
0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49,
|
||||
0x4e, 0x47, 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x45, 0x10, 0x0d, 0x12, 0x0c,
|
||||
0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x0e, 0x12, 0x14, 0x0a, 0x10,
|
||||
0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44,
|
||||
0x10, 0x0f, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f,
|
||||
0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x10, 0x12, 0x19, 0x0a,
|
||||
0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f,
|
||||
0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x11, 0x12, 0x18, 0x0a, 0x14, 0x54, 0x49, 0x4d, 0x45,
|
||||
0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44,
|
||||
0x10, 0x12, 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,
|
||||
0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||
0x18, 0x14, 0x20, 0x03, 0x28, 0x03, 0x52, 0x10, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x63, 0x6f,
|
||||
0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x03, 0x52, 0x15, 0x74, 0x69, 0x6d, 0x65, 0x4d,
|
||||
0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||
0x12, 0x36, 0x0a, 0x17, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x65,
|
||||
0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x16, 0x20, 0x03, 0x28,
|
||||
0x03, 0x52, 0x15, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f,
|
||||
0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x03, 0x52, 0x14, 0x74, 0x69, 0x6d, 0x65, 0x4e, 0x61,
|
||||
0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 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, 0x22, 0xa8, 0x01, 0x0a, 0x09, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 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, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
|
||||
0x69, 0x73, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x08, 0x52, 0x0a, 0x69, 0x73, 0x4e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a,
|
||||
0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61,
|
||||
0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75,
|
||||
0x6c, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2a, 0xf9, 0x02, 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, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05,
|
||||
0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x49, 0x4e, 0x54, 0x38,
|
||||
0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x06, 0x12, 0x0a,
|
||||
0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49,
|
||||
0x4e, 0x54, 0x36, 0x34, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x33,
|
||||
0x32, 0x10, 0x09, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36, 0x34, 0x10, 0x0a,
|
||||
0x12, 0x0a, 0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x0b, 0x12, 0x0a, 0x0a, 0x06,
|
||||
0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x45,
|
||||
0x10, 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x0e,
|
||||
0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x53, 0x45,
|
||||
0x43, 0x4f, 0x4e, 0x44, 0x10, 0x0f, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54,
|
||||
0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10,
|
||||
0x10, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4d,
|
||||
0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x11, 0x12, 0x18, 0x0a, 0x14,
|
||||
0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45,
|
||||
0x43, 0x4f, 0x4e, 0x44, 0x10, 0x12, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x53,
|
||||
0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x13, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x5f,
|
||||
0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x14, 0x12, 0x14, 0x0a,
|
||||
0x10, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e,
|
||||
0x44, 0x10, 0x15, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4e, 0x41, 0x4e, 0x4f,
|
||||
0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x16, 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 (
|
||||
|
||||
@@ -95,6 +95,22 @@ public final class Columns {
|
||||
* <code>TIMESTAMP_NANOSECOND = 18;</code>
|
||||
*/
|
||||
TIMESTAMP_NANOSECOND(18),
|
||||
/**
|
||||
* <code>TIME_SECOND = 19;</code>
|
||||
*/
|
||||
TIME_SECOND(19),
|
||||
/**
|
||||
* <code>TIME_MILLISECOND = 20;</code>
|
||||
*/
|
||||
TIME_MILLISECOND(20),
|
||||
/**
|
||||
* <code>TIME_MICROSECOND = 21;</code>
|
||||
*/
|
||||
TIME_MICROSECOND(21),
|
||||
/**
|
||||
* <code>TIME_NANOSECOND = 22;</code>
|
||||
*/
|
||||
TIME_NANOSECOND(22),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
@@ -174,6 +190,22 @@ public final class Columns {
|
||||
* <code>TIMESTAMP_NANOSECOND = 18;</code>
|
||||
*/
|
||||
public static final int TIMESTAMP_NANOSECOND_VALUE = 18;
|
||||
/**
|
||||
* <code>TIME_SECOND = 19;</code>
|
||||
*/
|
||||
public static final int TIME_SECOND_VALUE = 19;
|
||||
/**
|
||||
* <code>TIME_MILLISECOND = 20;</code>
|
||||
*/
|
||||
public static final int TIME_MILLISECOND_VALUE = 20;
|
||||
/**
|
||||
* <code>TIME_MICROSECOND = 21;</code>
|
||||
*/
|
||||
public static final int TIME_MICROSECOND_VALUE = 21;
|
||||
/**
|
||||
* <code>TIME_NANOSECOND = 22;</code>
|
||||
*/
|
||||
public static final int TIME_NANOSECOND_VALUE = 22;
|
||||
|
||||
|
||||
public final int getNumber() {
|
||||
@@ -219,6 +251,10 @@ public final class Columns {
|
||||
case 16: return TIMESTAMP_MILLISECOND;
|
||||
case 17: return TIMESTAMP_MICROSECOND;
|
||||
case 18: return TIMESTAMP_NANOSECOND;
|
||||
case 19: return TIME_SECOND;
|
||||
case 20: return TIME_MILLISECOND;
|
||||
case 21: return TIME_MICROSECOND;
|
||||
case 22: return TIME_NANOSECOND;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
@@ -951,6 +987,74 @@ public final class Columns {
|
||||
* @return The tsNanosecondValues at the given index.
|
||||
*/
|
||||
long getTsNanosecondValues(int index);
|
||||
|
||||
/**
|
||||
* <code>repeated int64 time_second_values = 20;</code>
|
||||
* @return A list containing the timeSecondValues.
|
||||
*/
|
||||
java.util.List<java.lang.Long> getTimeSecondValuesList();
|
||||
/**
|
||||
* <code>repeated int64 time_second_values = 20;</code>
|
||||
* @return The count of timeSecondValues.
|
||||
*/
|
||||
int getTimeSecondValuesCount();
|
||||
/**
|
||||
* <code>repeated int64 time_second_values = 20;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The timeSecondValues at the given index.
|
||||
*/
|
||||
long getTimeSecondValues(int index);
|
||||
|
||||
/**
|
||||
* <code>repeated int64 time_millisecond_values = 21;</code>
|
||||
* @return A list containing the timeMillisecondValues.
|
||||
*/
|
||||
java.util.List<java.lang.Long> getTimeMillisecondValuesList();
|
||||
/**
|
||||
* <code>repeated int64 time_millisecond_values = 21;</code>
|
||||
* @return The count of timeMillisecondValues.
|
||||
*/
|
||||
int getTimeMillisecondValuesCount();
|
||||
/**
|
||||
* <code>repeated int64 time_millisecond_values = 21;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The timeMillisecondValues at the given index.
|
||||
*/
|
||||
long getTimeMillisecondValues(int index);
|
||||
|
||||
/**
|
||||
* <code>repeated int64 time_microsecond_values = 22;</code>
|
||||
* @return A list containing the timeMicrosecondValues.
|
||||
*/
|
||||
java.util.List<java.lang.Long> getTimeMicrosecondValuesList();
|
||||
/**
|
||||
* <code>repeated int64 time_microsecond_values = 22;</code>
|
||||
* @return The count of timeMicrosecondValues.
|
||||
*/
|
||||
int getTimeMicrosecondValuesCount();
|
||||
/**
|
||||
* <code>repeated int64 time_microsecond_values = 22;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The timeMicrosecondValues at the given index.
|
||||
*/
|
||||
long getTimeMicrosecondValues(int index);
|
||||
|
||||
/**
|
||||
* <code>repeated int64 time_nanosecond_values = 23;</code>
|
||||
* @return A list containing the timeNanosecondValues.
|
||||
*/
|
||||
java.util.List<java.lang.Long> getTimeNanosecondValuesList();
|
||||
/**
|
||||
* <code>repeated int64 time_nanosecond_values = 23;</code>
|
||||
* @return The count of timeNanosecondValues.
|
||||
*/
|
||||
int getTimeNanosecondValuesCount();
|
||||
/**
|
||||
* <code>repeated int64 time_nanosecond_values = 23;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The timeNanosecondValues at the given index.
|
||||
*/
|
||||
long getTimeNanosecondValues(int index);
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code greptime.v1.Column.Values}
|
||||
@@ -984,6 +1088,10 @@ public final class Columns {
|
||||
tsMillisecondValues_ = emptyLongList();
|
||||
tsMicrosecondValues_ = emptyLongList();
|
||||
tsNanosecondValues_ = emptyLongList();
|
||||
timeSecondValues_ = emptyLongList();
|
||||
timeMillisecondValues_ = emptyLongList();
|
||||
timeMicrosecondValues_ = emptyLongList();
|
||||
timeNanosecondValues_ = emptyLongList();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@@ -1391,6 +1499,90 @@ public final class Columns {
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 160: {
|
||||
if (!((mutable_bitField0_ & 0x00080000) != 0)) {
|
||||
timeSecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x00080000;
|
||||
}
|
||||
timeSecondValues_.addLong(input.readInt64());
|
||||
break;
|
||||
}
|
||||
case 162: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00080000) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
timeSecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x00080000;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
timeSecondValues_.addLong(input.readInt64());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 168: {
|
||||
if (!((mutable_bitField0_ & 0x00100000) != 0)) {
|
||||
timeMillisecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x00100000;
|
||||
}
|
||||
timeMillisecondValues_.addLong(input.readInt64());
|
||||
break;
|
||||
}
|
||||
case 170: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00100000) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
timeMillisecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x00100000;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
timeMillisecondValues_.addLong(input.readInt64());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 176: {
|
||||
if (!((mutable_bitField0_ & 0x00200000) != 0)) {
|
||||
timeMicrosecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x00200000;
|
||||
}
|
||||
timeMicrosecondValues_.addLong(input.readInt64());
|
||||
break;
|
||||
}
|
||||
case 178: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00200000) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
timeMicrosecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x00200000;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
timeMicrosecondValues_.addLong(input.readInt64());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 184: {
|
||||
if (!((mutable_bitField0_ & 0x00400000) != 0)) {
|
||||
timeNanosecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x00400000;
|
||||
}
|
||||
timeNanosecondValues_.addLong(input.readInt64());
|
||||
break;
|
||||
}
|
||||
case 186: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00400000) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
timeNanosecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x00400000;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
timeNanosecondValues_.addLong(input.readInt64());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -1465,6 +1657,18 @@ public final class Columns {
|
||||
if (((mutable_bitField0_ & 0x00040000) != 0)) {
|
||||
tsNanosecondValues_.makeImmutable(); // C
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x00080000) != 0)) {
|
||||
timeSecondValues_.makeImmutable(); // C
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x00100000) != 0)) {
|
||||
timeMillisecondValues_.makeImmutable(); // C
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x00200000) != 0)) {
|
||||
timeMicrosecondValues_.makeImmutable(); // C
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x00400000) != 0)) {
|
||||
timeNanosecondValues_.makeImmutable(); // C
|
||||
}
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
@@ -2020,6 +2224,118 @@ public final class Columns {
|
||||
}
|
||||
private int tsNanosecondValuesMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int TIME_SECOND_VALUES_FIELD_NUMBER = 20;
|
||||
private com.google.protobuf.Internal.LongList timeSecondValues_;
|
||||
/**
|
||||
* <code>repeated int64 time_second_values = 20;</code>
|
||||
* @return A list containing the timeSecondValues.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<java.lang.Long>
|
||||
getTimeSecondValuesList() {
|
||||
return timeSecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_second_values = 20;</code>
|
||||
* @return The count of timeSecondValues.
|
||||
*/
|
||||
public int getTimeSecondValuesCount() {
|
||||
return timeSecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_second_values = 20;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The timeSecondValues at the given index.
|
||||
*/
|
||||
public long getTimeSecondValues(int index) {
|
||||
return timeSecondValues_.getLong(index);
|
||||
}
|
||||
private int timeSecondValuesMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int TIME_MILLISECOND_VALUES_FIELD_NUMBER = 21;
|
||||
private com.google.protobuf.Internal.LongList timeMillisecondValues_;
|
||||
/**
|
||||
* <code>repeated int64 time_millisecond_values = 21;</code>
|
||||
* @return A list containing the timeMillisecondValues.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<java.lang.Long>
|
||||
getTimeMillisecondValuesList() {
|
||||
return timeMillisecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_millisecond_values = 21;</code>
|
||||
* @return The count of timeMillisecondValues.
|
||||
*/
|
||||
public int getTimeMillisecondValuesCount() {
|
||||
return timeMillisecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_millisecond_values = 21;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The timeMillisecondValues at the given index.
|
||||
*/
|
||||
public long getTimeMillisecondValues(int index) {
|
||||
return timeMillisecondValues_.getLong(index);
|
||||
}
|
||||
private int timeMillisecondValuesMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int TIME_MICROSECOND_VALUES_FIELD_NUMBER = 22;
|
||||
private com.google.protobuf.Internal.LongList timeMicrosecondValues_;
|
||||
/**
|
||||
* <code>repeated int64 time_microsecond_values = 22;</code>
|
||||
* @return A list containing the timeMicrosecondValues.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<java.lang.Long>
|
||||
getTimeMicrosecondValuesList() {
|
||||
return timeMicrosecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_microsecond_values = 22;</code>
|
||||
* @return The count of timeMicrosecondValues.
|
||||
*/
|
||||
public int getTimeMicrosecondValuesCount() {
|
||||
return timeMicrosecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_microsecond_values = 22;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The timeMicrosecondValues at the given index.
|
||||
*/
|
||||
public long getTimeMicrosecondValues(int index) {
|
||||
return timeMicrosecondValues_.getLong(index);
|
||||
}
|
||||
private int timeMicrosecondValuesMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int TIME_NANOSECOND_VALUES_FIELD_NUMBER = 23;
|
||||
private com.google.protobuf.Internal.LongList timeNanosecondValues_;
|
||||
/**
|
||||
* <code>repeated int64 time_nanosecond_values = 23;</code>
|
||||
* @return A list containing the timeNanosecondValues.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<java.lang.Long>
|
||||
getTimeNanosecondValuesList() {
|
||||
return timeNanosecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_nanosecond_values = 23;</code>
|
||||
* @return The count of timeNanosecondValues.
|
||||
*/
|
||||
public int getTimeNanosecondValuesCount() {
|
||||
return timeNanosecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_nanosecond_values = 23;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The timeNanosecondValues at the given index.
|
||||
*/
|
||||
public long getTimeNanosecondValues(int index) {
|
||||
return timeNanosecondValues_.getLong(index);
|
||||
}
|
||||
private int timeNanosecondValuesMemoizedSerializedSize = -1;
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -2160,6 +2476,34 @@ public final class Columns {
|
||||
for (int i = 0; i < tsNanosecondValues_.size(); i++) {
|
||||
output.writeInt64NoTag(tsNanosecondValues_.getLong(i));
|
||||
}
|
||||
if (getTimeSecondValuesList().size() > 0) {
|
||||
output.writeUInt32NoTag(162);
|
||||
output.writeUInt32NoTag(timeSecondValuesMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < timeSecondValues_.size(); i++) {
|
||||
output.writeInt64NoTag(timeSecondValues_.getLong(i));
|
||||
}
|
||||
if (getTimeMillisecondValuesList().size() > 0) {
|
||||
output.writeUInt32NoTag(170);
|
||||
output.writeUInt32NoTag(timeMillisecondValuesMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < timeMillisecondValues_.size(); i++) {
|
||||
output.writeInt64NoTag(timeMillisecondValues_.getLong(i));
|
||||
}
|
||||
if (getTimeMicrosecondValuesList().size() > 0) {
|
||||
output.writeUInt32NoTag(178);
|
||||
output.writeUInt32NoTag(timeMicrosecondValuesMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < timeMicrosecondValues_.size(); i++) {
|
||||
output.writeInt64NoTag(timeMicrosecondValues_.getLong(i));
|
||||
}
|
||||
if (getTimeNanosecondValuesList().size() > 0) {
|
||||
output.writeUInt32NoTag(186);
|
||||
output.writeUInt32NoTag(timeNanosecondValuesMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < timeNanosecondValues_.size(); i++) {
|
||||
output.writeInt64NoTag(timeNanosecondValues_.getLong(i));
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -2415,6 +2759,62 @@ public final class Columns {
|
||||
}
|
||||
tsNanosecondValuesMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < timeSecondValues_.size(); i++) {
|
||||
dataSize += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64SizeNoTag(timeSecondValues_.getLong(i));
|
||||
}
|
||||
size += dataSize;
|
||||
if (!getTimeSecondValuesList().isEmpty()) {
|
||||
size += 2;
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(dataSize);
|
||||
}
|
||||
timeSecondValuesMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < timeMillisecondValues_.size(); i++) {
|
||||
dataSize += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64SizeNoTag(timeMillisecondValues_.getLong(i));
|
||||
}
|
||||
size += dataSize;
|
||||
if (!getTimeMillisecondValuesList().isEmpty()) {
|
||||
size += 2;
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(dataSize);
|
||||
}
|
||||
timeMillisecondValuesMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < timeMicrosecondValues_.size(); i++) {
|
||||
dataSize += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64SizeNoTag(timeMicrosecondValues_.getLong(i));
|
||||
}
|
||||
size += dataSize;
|
||||
if (!getTimeMicrosecondValuesList().isEmpty()) {
|
||||
size += 2;
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(dataSize);
|
||||
}
|
||||
timeMicrosecondValuesMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < timeNanosecondValues_.size(); i++) {
|
||||
dataSize += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64SizeNoTag(timeNanosecondValues_.getLong(i));
|
||||
}
|
||||
size += dataSize;
|
||||
if (!getTimeNanosecondValuesList().isEmpty()) {
|
||||
size += 2;
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(dataSize);
|
||||
}
|
||||
timeNanosecondValuesMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -2468,6 +2868,14 @@ public final class Columns {
|
||||
.equals(other.getTsMicrosecondValuesList())) return false;
|
||||
if (!getTsNanosecondValuesList()
|
||||
.equals(other.getTsNanosecondValuesList())) return false;
|
||||
if (!getTimeSecondValuesList()
|
||||
.equals(other.getTimeSecondValuesList())) return false;
|
||||
if (!getTimeMillisecondValuesList()
|
||||
.equals(other.getTimeMillisecondValuesList())) return false;
|
||||
if (!getTimeMicrosecondValuesList()
|
||||
.equals(other.getTimeMicrosecondValuesList())) return false;
|
||||
if (!getTimeNanosecondValuesList()
|
||||
.equals(other.getTimeNanosecondValuesList())) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -2555,6 +2963,22 @@ public final class Columns {
|
||||
hash = (37 * hash) + TS_NANOSECOND_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTsNanosecondValuesList().hashCode();
|
||||
}
|
||||
if (getTimeSecondValuesCount() > 0) {
|
||||
hash = (37 * hash) + TIME_SECOND_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTimeSecondValuesList().hashCode();
|
||||
}
|
||||
if (getTimeMillisecondValuesCount() > 0) {
|
||||
hash = (37 * hash) + TIME_MILLISECOND_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTimeMillisecondValuesList().hashCode();
|
||||
}
|
||||
if (getTimeMicrosecondValuesCount() > 0) {
|
||||
hash = (37 * hash) + TIME_MICROSECOND_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTimeMicrosecondValuesList().hashCode();
|
||||
}
|
||||
if (getTimeNanosecondValuesCount() > 0) {
|
||||
hash = (37 * hash) + TIME_NANOSECOND_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTimeNanosecondValuesList().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -2726,6 +3150,14 @@ public final class Columns {
|
||||
bitField0_ = (bitField0_ & ~0x00020000);
|
||||
tsNanosecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x00040000);
|
||||
timeSecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x00080000);
|
||||
timeMillisecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x00100000);
|
||||
timeMicrosecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x00200000);
|
||||
timeNanosecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x00400000);
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -2848,6 +3280,26 @@ public final class Columns {
|
||||
bitField0_ = (bitField0_ & ~0x00040000);
|
||||
}
|
||||
result.tsNanosecondValues_ = tsNanosecondValues_;
|
||||
if (((bitField0_ & 0x00080000) != 0)) {
|
||||
timeSecondValues_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x00080000);
|
||||
}
|
||||
result.timeSecondValues_ = timeSecondValues_;
|
||||
if (((bitField0_ & 0x00100000) != 0)) {
|
||||
timeMillisecondValues_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x00100000);
|
||||
}
|
||||
result.timeMillisecondValues_ = timeMillisecondValues_;
|
||||
if (((bitField0_ & 0x00200000) != 0)) {
|
||||
timeMicrosecondValues_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x00200000);
|
||||
}
|
||||
result.timeMicrosecondValues_ = timeMicrosecondValues_;
|
||||
if (((bitField0_ & 0x00400000) != 0)) {
|
||||
timeNanosecondValues_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x00400000);
|
||||
}
|
||||
result.timeNanosecondValues_ = timeNanosecondValues_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -3086,6 +3538,46 @@ public final class Columns {
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (!other.timeSecondValues_.isEmpty()) {
|
||||
if (timeSecondValues_.isEmpty()) {
|
||||
timeSecondValues_ = other.timeSecondValues_;
|
||||
bitField0_ = (bitField0_ & ~0x00080000);
|
||||
} else {
|
||||
ensureTimeSecondValuesIsMutable();
|
||||
timeSecondValues_.addAll(other.timeSecondValues_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (!other.timeMillisecondValues_.isEmpty()) {
|
||||
if (timeMillisecondValues_.isEmpty()) {
|
||||
timeMillisecondValues_ = other.timeMillisecondValues_;
|
||||
bitField0_ = (bitField0_ & ~0x00100000);
|
||||
} else {
|
||||
ensureTimeMillisecondValuesIsMutable();
|
||||
timeMillisecondValues_.addAll(other.timeMillisecondValues_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (!other.timeMicrosecondValues_.isEmpty()) {
|
||||
if (timeMicrosecondValues_.isEmpty()) {
|
||||
timeMicrosecondValues_ = other.timeMicrosecondValues_;
|
||||
bitField0_ = (bitField0_ & ~0x00200000);
|
||||
} else {
|
||||
ensureTimeMicrosecondValuesIsMutable();
|
||||
timeMicrosecondValues_.addAll(other.timeMicrosecondValues_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (!other.timeNanosecondValues_.isEmpty()) {
|
||||
if (timeNanosecondValues_.isEmpty()) {
|
||||
timeNanosecondValues_ = other.timeNanosecondValues_;
|
||||
bitField0_ = (bitField0_ & ~0x00400000);
|
||||
} else {
|
||||
ensureTimeNanosecondValuesIsMutable();
|
||||
timeNanosecondValues_.addAll(other.timeNanosecondValues_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -4653,6 +5145,322 @@ public final class Columns {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.LongList timeSecondValues_ = emptyLongList();
|
||||
private void ensureTimeSecondValuesIsMutable() {
|
||||
if (!((bitField0_ & 0x00080000) != 0)) {
|
||||
timeSecondValues_ = mutableCopy(timeSecondValues_);
|
||||
bitField0_ |= 0x00080000;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_second_values = 20;</code>
|
||||
* @return A list containing the timeSecondValues.
|
||||
*/
|
||||
public java.util.List<java.lang.Long>
|
||||
getTimeSecondValuesList() {
|
||||
return ((bitField0_ & 0x00080000) != 0) ?
|
||||
java.util.Collections.unmodifiableList(timeSecondValues_) : timeSecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_second_values = 20;</code>
|
||||
* @return The count of timeSecondValues.
|
||||
*/
|
||||
public int getTimeSecondValuesCount() {
|
||||
return timeSecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_second_values = 20;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The timeSecondValues at the given index.
|
||||
*/
|
||||
public long getTimeSecondValues(int index) {
|
||||
return timeSecondValues_.getLong(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_second_values = 20;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The timeSecondValues to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTimeSecondValues(
|
||||
int index, long value) {
|
||||
ensureTimeSecondValuesIsMutable();
|
||||
timeSecondValues_.setLong(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_second_values = 20;</code>
|
||||
* @param value The timeSecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addTimeSecondValues(long value) {
|
||||
ensureTimeSecondValuesIsMutable();
|
||||
timeSecondValues_.addLong(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_second_values = 20;</code>
|
||||
* @param values The timeSecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllTimeSecondValues(
|
||||
java.lang.Iterable<? extends java.lang.Long> values) {
|
||||
ensureTimeSecondValuesIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, timeSecondValues_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_second_values = 20;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTimeSecondValues() {
|
||||
timeSecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x00080000);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.LongList timeMillisecondValues_ = emptyLongList();
|
||||
private void ensureTimeMillisecondValuesIsMutable() {
|
||||
if (!((bitField0_ & 0x00100000) != 0)) {
|
||||
timeMillisecondValues_ = mutableCopy(timeMillisecondValues_);
|
||||
bitField0_ |= 0x00100000;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_millisecond_values = 21;</code>
|
||||
* @return A list containing the timeMillisecondValues.
|
||||
*/
|
||||
public java.util.List<java.lang.Long>
|
||||
getTimeMillisecondValuesList() {
|
||||
return ((bitField0_ & 0x00100000) != 0) ?
|
||||
java.util.Collections.unmodifiableList(timeMillisecondValues_) : timeMillisecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_millisecond_values = 21;</code>
|
||||
* @return The count of timeMillisecondValues.
|
||||
*/
|
||||
public int getTimeMillisecondValuesCount() {
|
||||
return timeMillisecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_millisecond_values = 21;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The timeMillisecondValues at the given index.
|
||||
*/
|
||||
public long getTimeMillisecondValues(int index) {
|
||||
return timeMillisecondValues_.getLong(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_millisecond_values = 21;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The timeMillisecondValues to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTimeMillisecondValues(
|
||||
int index, long value) {
|
||||
ensureTimeMillisecondValuesIsMutable();
|
||||
timeMillisecondValues_.setLong(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_millisecond_values = 21;</code>
|
||||
* @param value The timeMillisecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addTimeMillisecondValues(long value) {
|
||||
ensureTimeMillisecondValuesIsMutable();
|
||||
timeMillisecondValues_.addLong(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_millisecond_values = 21;</code>
|
||||
* @param values The timeMillisecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllTimeMillisecondValues(
|
||||
java.lang.Iterable<? extends java.lang.Long> values) {
|
||||
ensureTimeMillisecondValuesIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, timeMillisecondValues_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_millisecond_values = 21;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTimeMillisecondValues() {
|
||||
timeMillisecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x00100000);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.LongList timeMicrosecondValues_ = emptyLongList();
|
||||
private void ensureTimeMicrosecondValuesIsMutable() {
|
||||
if (!((bitField0_ & 0x00200000) != 0)) {
|
||||
timeMicrosecondValues_ = mutableCopy(timeMicrosecondValues_);
|
||||
bitField0_ |= 0x00200000;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_microsecond_values = 22;</code>
|
||||
* @return A list containing the timeMicrosecondValues.
|
||||
*/
|
||||
public java.util.List<java.lang.Long>
|
||||
getTimeMicrosecondValuesList() {
|
||||
return ((bitField0_ & 0x00200000) != 0) ?
|
||||
java.util.Collections.unmodifiableList(timeMicrosecondValues_) : timeMicrosecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_microsecond_values = 22;</code>
|
||||
* @return The count of timeMicrosecondValues.
|
||||
*/
|
||||
public int getTimeMicrosecondValuesCount() {
|
||||
return timeMicrosecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_microsecond_values = 22;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The timeMicrosecondValues at the given index.
|
||||
*/
|
||||
public long getTimeMicrosecondValues(int index) {
|
||||
return timeMicrosecondValues_.getLong(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_microsecond_values = 22;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The timeMicrosecondValues to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTimeMicrosecondValues(
|
||||
int index, long value) {
|
||||
ensureTimeMicrosecondValuesIsMutable();
|
||||
timeMicrosecondValues_.setLong(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_microsecond_values = 22;</code>
|
||||
* @param value The timeMicrosecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addTimeMicrosecondValues(long value) {
|
||||
ensureTimeMicrosecondValuesIsMutable();
|
||||
timeMicrosecondValues_.addLong(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_microsecond_values = 22;</code>
|
||||
* @param values The timeMicrosecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllTimeMicrosecondValues(
|
||||
java.lang.Iterable<? extends java.lang.Long> values) {
|
||||
ensureTimeMicrosecondValuesIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, timeMicrosecondValues_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_microsecond_values = 22;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTimeMicrosecondValues() {
|
||||
timeMicrosecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x00200000);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.LongList timeNanosecondValues_ = emptyLongList();
|
||||
private void ensureTimeNanosecondValuesIsMutable() {
|
||||
if (!((bitField0_ & 0x00400000) != 0)) {
|
||||
timeNanosecondValues_ = mutableCopy(timeNanosecondValues_);
|
||||
bitField0_ |= 0x00400000;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_nanosecond_values = 23;</code>
|
||||
* @return A list containing the timeNanosecondValues.
|
||||
*/
|
||||
public java.util.List<java.lang.Long>
|
||||
getTimeNanosecondValuesList() {
|
||||
return ((bitField0_ & 0x00400000) != 0) ?
|
||||
java.util.Collections.unmodifiableList(timeNanosecondValues_) : timeNanosecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_nanosecond_values = 23;</code>
|
||||
* @return The count of timeNanosecondValues.
|
||||
*/
|
||||
public int getTimeNanosecondValuesCount() {
|
||||
return timeNanosecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_nanosecond_values = 23;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The timeNanosecondValues at the given index.
|
||||
*/
|
||||
public long getTimeNanosecondValues(int index) {
|
||||
return timeNanosecondValues_.getLong(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_nanosecond_values = 23;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The timeNanosecondValues to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTimeNanosecondValues(
|
||||
int index, long value) {
|
||||
ensureTimeNanosecondValuesIsMutable();
|
||||
timeNanosecondValues_.setLong(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_nanosecond_values = 23;</code>
|
||||
* @param value The timeNanosecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addTimeNanosecondValues(long value) {
|
||||
ensureTimeNanosecondValuesIsMutable();
|
||||
timeNanosecondValues_.addLong(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_nanosecond_values = 23;</code>
|
||||
* @param values The timeNanosecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllTimeNanosecondValues(
|
||||
java.lang.Iterable<? extends java.lang.Long> values) {
|
||||
ensureTimeNanosecondValuesIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, timeNanosecondValues_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 time_nanosecond_values = 23;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTimeNanosecondValues() {
|
||||
timeNanosecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x00400000);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -6620,12 +7428,12 @@ public final class Columns {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\030greptime/v1/column.proto\022\013greptime.v1\"" +
|
||||
"\257\005\n\006Column\022\023\n\013column_name\030\001 \001(\t\0227\n\rseman" +
|
||||
"\255\006\n\006Column\022\023\n\013column_name\030\001 \001(\t\0227\n\rseman" +
|
||||
"tic_type\030\002 \001(\0162 .greptime.v1.Column.Sema" +
|
||||
"nticType\022*\n\006values\030\003 \001(\0132\032.greptime.v1.C" +
|
||||
"olumn.Values\022\021\n\tnull_mask\030\004 \001(\014\022-\n\010datat" +
|
||||
"ype\030\005 \001(\0162\033.greptime.v1.ColumnDataType\032\265" +
|
||||
"\003\n\006Values\022\021\n\ti8_values\030\001 \003(\005\022\022\n\ni16_valu" +
|
||||
"ype\030\005 \001(\0162\033.greptime.v1.ColumnDataType\032\263" +
|
||||
"\004\n\006Values\022\021\n\ti8_values\030\001 \003(\005\022\022\n\ni16_valu" +
|
||||
"es\030\002 \003(\005\022\022\n\ni32_values\030\003 \003(\005\022\022\n\ni64_valu" +
|
||||
"es\030\004 \003(\003\022\021\n\tu8_values\030\005 \003(\r\022\022\n\nu16_value" +
|
||||
"s\030\006 \003(\r\022\022\n\nu32_values\030\007 \003(\r\022\022\n\nu64_value" +
|
||||
@@ -6635,21 +7443,27 @@ public final class Columns {
|
||||
"te_values\030\016 \003(\005\022\027\n\017datetime_values\030\017 \003(\003" +
|
||||
"\022\030\n\020ts_second_values\030\020 \003(\003\022\035\n\025ts_millise" +
|
||||
"cond_values\030\021 \003(\003\022\035\n\025ts_microsecond_valu" +
|
||||
"es\030\022 \003(\003\022\034\n\024ts_nanosecond_values\030\023 \003(\003\"1" +
|
||||
"\n\014SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTI" +
|
||||
"MESTAMP\020\002\"y\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022-\n\010" +
|
||||
"datatype\030\002 \001(\0162\033.greptime.v1.ColumnDataT" +
|
||||
"ype\022\023\n\013is_nullable\030\003 \001(\010\022\032\n\022default_cons" +
|
||||
"traint\030\004 \001(\014*\247\002\n\016ColumnDataType\022\013\n\007BOOLE" +
|
||||
"AN\020\000\022\010\n\004INT8\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020\003\022\t\n\005" +
|
||||
"INT64\020\004\022\t\n\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UINT32" +
|
||||
"\020\007\022\n\n\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020\n" +
|
||||
"\022\n\n\006BINARY\020\013\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010DA" +
|
||||
"TETIME\020\016\022\024\n\020TIMESTAMP_SECOND\020\017\022\031\n\025TIMEST" +
|
||||
"AMP_MILLISECOND\020\020\022\031\n\025TIMESTAMP_MICROSECO" +
|
||||
"ND\020\021\022\030\n\024TIMESTAMP_NANOSECOND\020\022BP\n\016io.gre" +
|
||||
"ptime.v1B\007ColumnsZ5github.com/GreptimeTe" +
|
||||
"am/greptime-proto/go/greptime/v1b\006proto3"
|
||||
"es\030\022 \003(\003\022\034\n\024ts_nanosecond_values\030\023 \003(\003\022\032" +
|
||||
"\n\022time_second_values\030\024 \003(\003\022\037\n\027time_milli" +
|
||||
"second_values\030\025 \003(\003\022\037\n\027time_microsecond_" +
|
||||
"values\030\026 \003(\003\022\036\n\026time_nanosecond_values\030\027" +
|
||||
" \003(\003\"1\n\014SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001" +
|
||||
"\022\r\n\tTIMESTAMP\020\002\"y\n\tColumnDef\022\014\n\004name\030\001 \001" +
|
||||
"(\t\022-\n\010datatype\030\002 \001(\0162\033.greptime.v1.Colum" +
|
||||
"nDataType\022\023\n\013is_nullable\030\003 \001(\010\022\032\n\022defaul" +
|
||||
"t_constraint\030\004 \001(\014*\371\002\n\016ColumnDataType\022\013\n" +
|
||||
"\007BOOLEAN\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\006" +
|
||||
"UINT32\020\007\022\n\n\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLO" +
|
||||
"AT64\020\n\022\n\n\006BINARY\020\013\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r" +
|
||||
"\022\014\n\010DATETIME\020\016\022\024\n\020TIMESTAMP_SECOND\020\017\022\031\n\025" +
|
||||
"TIMESTAMP_MILLISECOND\020\020\022\031\n\025TIMESTAMP_MIC" +
|
||||
"ROSECOND\020\021\022\030\n\024TIMESTAMP_NANOSECOND\020\022\022\017\n\013" +
|
||||
"TIME_SECOND\020\023\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020T" +
|
||||
"IME_MICROSECOND\020\025\022\023\n\017TIME_NANOSECOND\020\026BP" +
|
||||
"\n\016io.greptime.v1B\007ColumnsZ5github.com/Gr" +
|
||||
"eptimeTeam/greptime-proto/go/greptime/v1" +
|
||||
"b\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -6666,7 +7480,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", "TsSecondValues", "TsMillisecondValues", "TsMicrosecondValues", "TsNanosecondValues", });
|
||||
new java.lang.String[] { "I8Values", "I16Values", "I32Values", "I64Values", "U8Values", "U16Values", "U32Values", "U64Values", "F32Values", "F64Values", "BoolValues", "BinaryValues", "StringValues", "DateValues", "DatetimeValues", "TsSecondValues", "TsMillisecondValues", "TsMicrosecondValues", "TsNanosecondValues", "TimeSecondValues", "TimeMillisecondValues", "TimeMicrosecondValues", "TimeNanosecondValues", });
|
||||
internal_static_greptime_v1_ColumnDef_descriptor =
|
||||
getDescriptor().getMessageTypes().get(1);
|
||||
internal_static_greptime_v1_ColumnDef_fieldAccessorTable = new
|
||||
|
||||
@@ -54,6 +54,10 @@ message Column {
|
||||
repeated int64 ts_millisecond_values = 17;
|
||||
repeated int64 ts_microsecond_values = 18;
|
||||
repeated int64 ts_nanosecond_values = 19;
|
||||
repeated int64 time_second_values = 20;
|
||||
repeated int64 time_millisecond_values = 21;
|
||||
repeated int64 time_microsecond_values = 22;
|
||||
repeated int64 time_nanosecond_values = 23;
|
||||
}
|
||||
// The array of non-null values in this column.
|
||||
//
|
||||
@@ -102,4 +106,8 @@ enum ColumnDataType {
|
||||
TIMESTAMP_MILLISECOND = 16;
|
||||
TIMESTAMP_MICROSECOND = 17;
|
||||
TIMESTAMP_NANOSECOND = 18;
|
||||
TIME_SECOND = 19;
|
||||
TIME_MILLISECOND = 20;
|
||||
TIME_MICROSECOND = 21;
|
||||
TIME_NANOSECOND = 22;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user