diff --git a/c++/greptime/v1/common.pb.cc b/c++/greptime/v1/common.pb.cc index c20884a..687d1d0 100644 --- a/c++/greptime/v1/common.pb.cc +++ b/c++/greptime/v1/common.pb.cc @@ -488,19 +488,19 @@ struct ArrowIpcDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArrowIpcDefaultTypeInternal _ArrowIpc_default_instance_; -PROTOBUF_CONSTEXPR PartitionRuleVersion::PartitionRuleVersion( +PROTOBUF_CONSTEXPR PartitionExprVersion::PartitionExprVersion( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.value_)*/uint64_t{0u} , /*decltype(_impl_._cached_size_)*/{}} {} -struct PartitionRuleVersionDefaultTypeInternal { - PROTOBUF_CONSTEXPR PartitionRuleVersionDefaultTypeInternal() +struct PartitionExprVersionDefaultTypeInternal { + PROTOBUF_CONSTEXPR PartitionExprVersionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~PartitionRuleVersionDefaultTypeInternal() {} + ~PartitionExprVersionDefaultTypeInternal() {} union { - PartitionRuleVersion _instance; + PartitionExprVersion _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PartitionRuleVersionDefaultTypeInternal _PartitionRuleVersion_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PartitionExprVersionDefaultTypeInternal _PartitionExprVersion_default_instance_; } // namespace v1 } // namespace greptime static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fcommon_2eproto[35]; @@ -803,12 +803,12 @@ const uint32_t TableStruct_greptime_2fv1_2fcommon_2eproto::offsets[] PROTOBUF_SE PROTOBUF_FIELD_OFFSET(::greptime::v1::ArrowIpc, _impl_.data_header_), PROTOBUF_FIELD_OFFSET(::greptime::v1::ArrowIpc, _impl_.payload_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::greptime::v1::PartitionRuleVersion, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::PartitionExprVersion, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::greptime::v1::PartitionRuleVersion, _impl_.value_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::PartitionExprVersion, _impl_.value_), }; static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, 8, -1, sizeof(::greptime::v1::QueryContext_ExtensionsEntry_DoNotUse)}, @@ -845,7 +845,7 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode { 268, 276, -1, sizeof(::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse)}, { 278, -1, -1, sizeof(::greptime::v1::ColumnOptions)}, { 285, -1, -1, sizeof(::greptime::v1::ArrowIpc)}, - { 294, -1, -1, sizeof(::greptime::v1::PartitionRuleVersion)}, + { 294, -1, -1, sizeof(::greptime::v1::PartitionExprVersion)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -883,7 +883,7 @@ static const ::_pb::Message* const file_default_instances[] = { &::greptime::v1::_ColumnOptions_OptionsEntry_DoNotUse_default_instance_._instance, &::greptime::v1::_ColumnOptions_default_instance_._instance, &::greptime::v1::_ArrowIpc_default_instance_._instance, - &::greptime::v1::_PartitionRuleVersion_default_instance_._instance, + &::greptime::v1::_PartitionExprVersion_default_instance_._instance, }; const char descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = @@ -968,7 +968,7 @@ const char descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto[] PROTOBUF_S ".ColumnOptions.OptionsEntry\032.\n\014OptionsEn" "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"@\n\010A" "rrowIpc\022\016\n\006schema\030\001 \001(\014\022\023\n\013data_header\030\002" - " \001(\014\022\017\n\007payload\030\003 \001(\014\"%\n\024PartitionRuleVe" + " \001(\014\022\017\n\007payload\030\003 \001(\014\"%\n\024PartitionExprVe" "rsion\022\r\n\005value\030\001 \001(\004*1\n\014SemanticType\022\007\n\003" "TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMESTAMP\020\002*\222\004\n\016Colu" "mnDataType\022\013\n\007BOOLEAN\020\000\022\010\n\004INT8\020\001\022\t\n\005INT" @@ -8563,29 +8563,29 @@ void ArrowIpc::InternalSwap(ArrowIpc* other) { // =================================================================== -class PartitionRuleVersion::_Internal { +class PartitionExprVersion::_Internal { public: }; -PartitionRuleVersion::PartitionRuleVersion(::PROTOBUF_NAMESPACE_ID::Arena* arena, +PartitionExprVersion::PartitionExprVersion(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:greptime.v1.PartitionRuleVersion) + // @@protoc_insertion_point(arena_constructor:greptime.v1.PartitionExprVersion) } -PartitionRuleVersion::PartitionRuleVersion(const PartitionRuleVersion& from) +PartitionExprVersion::PartitionExprVersion(const PartitionExprVersion& from) : ::PROTOBUF_NAMESPACE_ID::Message() { - PartitionRuleVersion* const _this = this; (void)_this; + PartitionExprVersion* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.value_){} , /*decltype(_impl_._cached_size_)*/{}}; _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); _this->_impl_.value_ = from._impl_.value_; - // @@protoc_insertion_point(copy_constructor:greptime.v1.PartitionRuleVersion) + // @@protoc_insertion_point(copy_constructor:greptime.v1.PartitionExprVersion) } -inline void PartitionRuleVersion::SharedCtor( +inline void PartitionExprVersion::SharedCtor( ::_pb::Arena* arena, bool is_message_owned) { (void)arena; (void)is_message_owned; @@ -8595,8 +8595,8 @@ inline void PartitionRuleVersion::SharedCtor( }; } -PartitionRuleVersion::~PartitionRuleVersion() { - // @@protoc_insertion_point(destructor:greptime.v1.PartitionRuleVersion) +PartitionExprVersion::~PartitionExprVersion() { + // @@protoc_insertion_point(destructor:greptime.v1.PartitionExprVersion) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -8604,16 +8604,16 @@ PartitionRuleVersion::~PartitionRuleVersion() { SharedDtor(); } -inline void PartitionRuleVersion::SharedDtor() { +inline void PartitionExprVersion::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } -void PartitionRuleVersion::SetCachedSize(int size) const { +void PartitionExprVersion::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void PartitionRuleVersion::Clear() { -// @@protoc_insertion_point(message_clear_start:greptime.v1.PartitionRuleVersion) +void PartitionExprVersion::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.PartitionExprVersion) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -8622,7 +8622,7 @@ void PartitionRuleVersion::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* PartitionRuleVersion::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* PartitionExprVersion::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; @@ -8659,9 +8659,9 @@ failure: #undef CHK_ } -uint8_t* PartitionRuleVersion::_InternalSerialize( +uint8_t* PartitionExprVersion::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.PartitionRuleVersion) + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.PartitionExprVersion) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -8675,12 +8675,12 @@ uint8_t* PartitionRuleVersion::_InternalSerialize( target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.PartitionRuleVersion) + // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.PartitionExprVersion) return target; } -size_t PartitionRuleVersion::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:greptime.v1.PartitionRuleVersion) +size_t PartitionExprVersion::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.PartitionExprVersion) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -8695,17 +8695,17 @@ size_t PartitionRuleVersion::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PartitionRuleVersion::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PartitionExprVersion::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - PartitionRuleVersion::MergeImpl + PartitionExprVersion::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PartitionRuleVersion::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PartitionExprVersion::GetClassData() const { return &_class_data_; } -void PartitionRuleVersion::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.PartitionRuleVersion) +void PartitionExprVersion::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.PartitionExprVersion) GOOGLE_DCHECK_NE(&from, _this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -8716,24 +8716,24 @@ void PartitionRuleVersion::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, c _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void PartitionRuleVersion::CopyFrom(const PartitionRuleVersion& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.PartitionRuleVersion) +void PartitionExprVersion::CopyFrom(const PartitionExprVersion& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.PartitionExprVersion) if (&from == this) return; Clear(); MergeFrom(from); } -bool PartitionRuleVersion::IsInitialized() const { +bool PartitionExprVersion::IsInitialized() const { return true; } -void PartitionRuleVersion::InternalSwap(PartitionRuleVersion* other) { +void PartitionExprVersion::InternalSwap(PartitionExprVersion* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_.value_, other->_impl_.value_); } -::PROTOBUF_NAMESPACE_ID::Metadata PartitionRuleVersion::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata PartitionExprVersion::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, file_level_metadata_greptime_2fv1_2fcommon_2eproto[34]); @@ -8879,9 +8879,9 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::ArrowIpc* Arena::CreateMaybeMessage< ::greptime::v1::ArrowIpc >(Arena* arena) { return Arena::CreateMessageInternal< ::greptime::v1::ArrowIpc >(arena); } -template<> PROTOBUF_NOINLINE ::greptime::v1::PartitionRuleVersion* -Arena::CreateMaybeMessage< ::greptime::v1::PartitionRuleVersion >(Arena* arena) { - return Arena::CreateMessageInternal< ::greptime::v1::PartitionRuleVersion >(arena); +template<> PROTOBUF_NOINLINE ::greptime::v1::PartitionExprVersion* +Arena::CreateMaybeMessage< ::greptime::v1::PartitionExprVersion >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::PartitionExprVersion >(arena); } PROTOBUF_NAMESPACE_CLOSE diff --git a/c++/greptime/v1/common.pb.h b/c++/greptime/v1/common.pb.h index 5f128a7..0fc1678 100644 --- a/c++/greptime/v1/common.pb.h +++ b/c++/greptime/v1/common.pb.h @@ -104,9 +104,9 @@ extern ListTypeExtensionDefaultTypeInternal _ListTypeExtension_default_instance_ class Metrics; struct MetricsDefaultTypeInternal; extern MetricsDefaultTypeInternal _Metrics_default_instance_; -class PartitionRuleVersion; -struct PartitionRuleVersionDefaultTypeInternal; -extern PartitionRuleVersionDefaultTypeInternal _PartitionRuleVersion_default_instance_; +class PartitionExprVersion; +struct PartitionExprVersionDefaultTypeInternal; +extern PartitionExprVersionDefaultTypeInternal _PartitionExprVersion_default_instance_; class QueryContext; struct QueryContextDefaultTypeInternal; extern QueryContextDefaultTypeInternal _QueryContext_default_instance_; @@ -176,7 +176,7 @@ template<> ::greptime::v1::IntervalMonthDayNano* Arena::CreateMaybeMessage<::gre template<> ::greptime::v1::JsonNativeTypeExtension* Arena::CreateMaybeMessage<::greptime::v1::JsonNativeTypeExtension>(Arena*); template<> ::greptime::v1::ListTypeExtension* Arena::CreateMaybeMessage<::greptime::v1::ListTypeExtension>(Arena*); template<> ::greptime::v1::Metrics* Arena::CreateMaybeMessage<::greptime::v1::Metrics>(Arena*); -template<> ::greptime::v1::PartitionRuleVersion* Arena::CreateMaybeMessage<::greptime::v1::PartitionRuleVersion>(Arena*); +template<> ::greptime::v1::PartitionExprVersion* Arena::CreateMaybeMessage<::greptime::v1::PartitionExprVersion>(Arena*); template<> ::greptime::v1::QueryContext* Arena::CreateMaybeMessage<::greptime::v1::QueryContext>(Arena*); template<> ::greptime::v1::QueryContext_ExtensionsEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::QueryContext_ExtensionsEntry_DoNotUse>(Arena*); template<> ::greptime::v1::RequestHeader* Arena::CreateMaybeMessage<::greptime::v1::RequestHeader>(Arena*); @@ -5592,24 +5592,24 @@ class ArrowIpc final : }; // ------------------------------------------------------------------- -class PartitionRuleVersion final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.PartitionRuleVersion) */ { +class PartitionExprVersion final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.PartitionExprVersion) */ { public: - inline PartitionRuleVersion() : PartitionRuleVersion(nullptr) {} - ~PartitionRuleVersion() override; - explicit PROTOBUF_CONSTEXPR PartitionRuleVersion(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline PartitionExprVersion() : PartitionExprVersion(nullptr) {} + ~PartitionExprVersion() override; + explicit PROTOBUF_CONSTEXPR PartitionExprVersion(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - PartitionRuleVersion(const PartitionRuleVersion& from); - PartitionRuleVersion(PartitionRuleVersion&& from) noexcept - : PartitionRuleVersion() { + PartitionExprVersion(const PartitionExprVersion& from); + PartitionExprVersion(PartitionExprVersion&& from) noexcept + : PartitionExprVersion() { *this = ::std::move(from); } - inline PartitionRuleVersion& operator=(const PartitionRuleVersion& from) { + inline PartitionExprVersion& operator=(const PartitionExprVersion& from) { CopyFrom(from); return *this; } - inline PartitionRuleVersion& operator=(PartitionRuleVersion&& from) noexcept { + inline PartitionExprVersion& operator=(PartitionExprVersion&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -5632,20 +5632,20 @@ class PartitionRuleVersion final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const PartitionRuleVersion& default_instance() { + static const PartitionExprVersion& default_instance() { return *internal_default_instance(); } - static inline const PartitionRuleVersion* internal_default_instance() { - return reinterpret_cast( - &_PartitionRuleVersion_default_instance_); + static inline const PartitionExprVersion* internal_default_instance() { + return reinterpret_cast( + &_PartitionExprVersion_default_instance_); } static constexpr int kIndexInFileMessages = 34; - friend void swap(PartitionRuleVersion& a, PartitionRuleVersion& b) { + friend void swap(PartitionExprVersion& a, PartitionExprVersion& b) { a.Swap(&b); } - inline void Swap(PartitionRuleVersion* other) { + inline void Swap(PartitionExprVersion* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -5658,7 +5658,7 @@ class PartitionRuleVersion final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(PartitionRuleVersion* other) { + void UnsafeArenaSwap(PartitionExprVersion* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -5666,14 +5666,14 @@ class PartitionRuleVersion final : // implements Message ---------------------------------------------- - PartitionRuleVersion* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + PartitionExprVersion* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const PartitionRuleVersion& from); + void CopyFrom(const PartitionExprVersion& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const PartitionRuleVersion& from) { - PartitionRuleVersion::MergeImpl(*this, from); + void MergeFrom( const PartitionExprVersion& from) { + PartitionExprVersion::MergeImpl(*this, from); } private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); @@ -5691,15 +5691,15 @@ class PartitionRuleVersion final : void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(PartitionRuleVersion* other); + void InternalSwap(PartitionExprVersion* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "greptime.v1.PartitionRuleVersion"; + return "greptime.v1.PartitionExprVersion"; } protected: - explicit PartitionRuleVersion(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit PartitionExprVersion(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -5724,7 +5724,7 @@ class PartitionRuleVersion final : void _internal_set_value(uint64_t value); public: - // @@protoc_insertion_point(class_scope:greptime.v1.PartitionRuleVersion) + // @@protoc_insertion_point(class_scope:greptime.v1.PartitionExprVersion) private: class _Internal; @@ -9126,26 +9126,26 @@ inline void ArrowIpc::set_allocated_payload(std::string* payload) { // ------------------------------------------------------------------- -// PartitionRuleVersion +// PartitionExprVersion // uint64 value = 1; -inline void PartitionRuleVersion::clear_value() { +inline void PartitionExprVersion::clear_value() { _impl_.value_ = uint64_t{0u}; } -inline uint64_t PartitionRuleVersion::_internal_value() const { +inline uint64_t PartitionExprVersion::_internal_value() const { return _impl_.value_; } -inline uint64_t PartitionRuleVersion::value() const { - // @@protoc_insertion_point(field_get:greptime.v1.PartitionRuleVersion.value) +inline uint64_t PartitionExprVersion::value() const { + // @@protoc_insertion_point(field_get:greptime.v1.PartitionExprVersion.value) return _internal_value(); } -inline void PartitionRuleVersion::_internal_set_value(uint64_t value) { +inline void PartitionExprVersion::_internal_set_value(uint64_t value) { _impl_.value_ = value; } -inline void PartitionRuleVersion::set_value(uint64_t value) { +inline void PartitionExprVersion::set_value(uint64_t value) { _internal_set_value(value); - // @@protoc_insertion_point(field_set:greptime.v1.PartitionRuleVersion.value) + // @@protoc_insertion_point(field_set:greptime.v1.PartitionExprVersion.value) } #ifdef __GNUC__ diff --git a/c++/greptime/v1/flow/server.pb.cc b/c++/greptime/v1/flow/server.pb.cc index 16e84ec..996000a 100644 --- a/c++/greptime/v1/flow/server.pb.cc +++ b/c++/greptime/v1/flow/server.pb.cc @@ -92,7 +92,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT PROTOBUF_CONSTEXPR InsertRequest::InsertRequest( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.rows_)*/nullptr - , /*decltype(_impl_.partition_rule_version_)*/nullptr + , /*decltype(_impl_.partition_expr_version_)*/nullptr , /*decltype(_impl_.region_id_)*/uint64_t{0u} , /*decltype(_impl_._cached_size_)*/{}} {} struct InsertRequestDefaultTypeInternal { @@ -261,7 +261,7 @@ const uint32_t TableStruct_greptime_2fv1_2fflow_2fserver_2eproto::offsets[] PROT ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::InsertRequest, _impl_.region_id_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::InsertRequest, _impl_.rows_), - PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::InsertRequest, _impl_.partition_rule_version_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::InsertRequest, _impl_.partition_expr_version_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::FlowRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -382,8 +382,8 @@ const char descriptor_table_protodef_greptime_2fv1_2fflow_2fserver_2eproto[] PRO "equests\0221\n\010requests\030\001 \003(\0132\037.greptime.v1." "flow.InsertRequest\"\206\001\n\rInsertRequest\022\021\n\t" "region_id\030\001 \001(\004\022\037\n\004rows\030\002 \001(\0132\021.greptime" - ".v1.Rows\022A\n\026partition_rule_version\030\003 \001(\013" - "2!.greptime.v1.PartitionRuleVersion\"\332\001\n\013" + ".v1.Rows\022A\n\026partition_expr_version\030\003 \001(\013" + "2!.greptime.v1.PartitionExprVersion\"\332\001\n\013" "FlowRequest\0223\n\006header\030@ \001(\0132#.greptime.v" "1.flow.FlowRequestHeader\0221\n\006create\030\001 \001(\013" "2\037.greptime.v1.flow.CreateRequestH\000\022-\n\004d" @@ -1321,16 +1321,16 @@ void InsertRequests::InternalSwap(InsertRequests* other) { class InsertRequest::_Internal { public: static const ::greptime::v1::Rows& rows(const InsertRequest* msg); - static const ::greptime::v1::PartitionRuleVersion& partition_rule_version(const InsertRequest* msg); + static const ::greptime::v1::PartitionExprVersion& partition_expr_version(const InsertRequest* msg); }; const ::greptime::v1::Rows& InsertRequest::_Internal::rows(const InsertRequest* msg) { return *msg->_impl_.rows_; } -const ::greptime::v1::PartitionRuleVersion& -InsertRequest::_Internal::partition_rule_version(const InsertRequest* msg) { - return *msg->_impl_.partition_rule_version_; +const ::greptime::v1::PartitionExprVersion& +InsertRequest::_Internal::partition_expr_version(const InsertRequest* msg) { + return *msg->_impl_.partition_expr_version_; } void InsertRequest::clear_rows() { if (GetArenaForAllocation() == nullptr && _impl_.rows_ != nullptr) { @@ -1338,11 +1338,11 @@ void InsertRequest::clear_rows() { } _impl_.rows_ = nullptr; } -void InsertRequest::clear_partition_rule_version() { - if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { - delete _impl_.partition_rule_version_; +void InsertRequest::clear_partition_expr_version() { + if (GetArenaForAllocation() == nullptr && _impl_.partition_expr_version_ != nullptr) { + delete _impl_.partition_expr_version_; } - _impl_.partition_rule_version_ = nullptr; + _impl_.partition_expr_version_ = nullptr; } InsertRequest::InsertRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) @@ -1355,7 +1355,7 @@ InsertRequest::InsertRequest(const InsertRequest& from) InsertRequest* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.rows_){nullptr} - , decltype(_impl_.partition_rule_version_){nullptr} + , decltype(_impl_.partition_expr_version_){nullptr} , decltype(_impl_.region_id_){} , /*decltype(_impl_._cached_size_)*/{}}; @@ -1363,8 +1363,8 @@ InsertRequest::InsertRequest(const InsertRequest& from) if (from._internal_has_rows()) { _this->_impl_.rows_ = new ::greptime::v1::Rows(*from._impl_.rows_); } - if (from._internal_has_partition_rule_version()) { - _this->_impl_.partition_rule_version_ = new ::greptime::v1::PartitionRuleVersion(*from._impl_.partition_rule_version_); + if (from._internal_has_partition_expr_version()) { + _this->_impl_.partition_expr_version_ = new ::greptime::v1::PartitionExprVersion(*from._impl_.partition_expr_version_); } _this->_impl_.region_id_ = from._impl_.region_id_; // @@protoc_insertion_point(copy_constructor:greptime.v1.flow.InsertRequest) @@ -1376,7 +1376,7 @@ inline void InsertRequest::SharedCtor( (void)is_message_owned; new (&_impl_) Impl_{ decltype(_impl_.rows_){nullptr} - , decltype(_impl_.partition_rule_version_){nullptr} + , decltype(_impl_.partition_expr_version_){nullptr} , decltype(_impl_.region_id_){uint64_t{0u}} , /*decltype(_impl_._cached_size_)*/{} }; @@ -1394,7 +1394,7 @@ InsertRequest::~InsertRequest() { inline void InsertRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete _impl_.rows_; - if (this != internal_default_instance()) delete _impl_.partition_rule_version_; + if (this != internal_default_instance()) delete _impl_.partition_expr_version_; } void InsertRequest::SetCachedSize(int size) const { @@ -1411,10 +1411,10 @@ void InsertRequest::Clear() { delete _impl_.rows_; } _impl_.rows_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { - delete _impl_.partition_rule_version_; + if (GetArenaForAllocation() == nullptr && _impl_.partition_expr_version_ != nullptr) { + delete _impl_.partition_expr_version_; } - _impl_.partition_rule_version_ = nullptr; + _impl_.partition_expr_version_ = nullptr; _impl_.region_id_ = uint64_t{0u}; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -1441,10 +1441,10 @@ const char* InsertRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* } else goto handle_unusual; continue; - // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + // .greptime.v1.PartitionExprVersion partition_expr_version = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_partition_rule_version(), ptr); + ptr = ctx->ParseMessage(_internal_mutable_partition_expr_version(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -1491,11 +1491,11 @@ uint8_t* InsertRequest::_InternalSerialize( _Internal::rows(this).GetCachedSize(), target, stream); } - // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - if (this->_internal_has_partition_rule_version()) { + // .greptime.v1.PartitionExprVersion partition_expr_version = 3; + if (this->_internal_has_partition_expr_version()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::partition_rule_version(this), - _Internal::partition_rule_version(this).GetCachedSize(), target, stream); + InternalWriteMessage(3, _Internal::partition_expr_version(this), + _Internal::partition_expr_version(this).GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -1521,11 +1521,11 @@ size_t InsertRequest::ByteSizeLong() const { *_impl_.rows_); } - // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - if (this->_internal_has_partition_rule_version()) { + // .greptime.v1.PartitionExprVersion partition_expr_version = 3; + if (this->_internal_has_partition_expr_version()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.partition_rule_version_); + *_impl_.partition_expr_version_); } // uint64 region_id = 1; @@ -1555,9 +1555,9 @@ void InsertRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const :: _this->_internal_mutable_rows()->::greptime::v1::Rows::MergeFrom( from._internal_rows()); } - if (from._internal_has_partition_rule_version()) { - _this->_internal_mutable_partition_rule_version()->::greptime::v1::PartitionRuleVersion::MergeFrom( - from._internal_partition_rule_version()); + if (from._internal_has_partition_expr_version()) { + _this->_internal_mutable_partition_expr_version()->::greptime::v1::PartitionExprVersion::MergeFrom( + from._internal_partition_expr_version()); } if (from._internal_region_id() != 0) { _this->_internal_set_region_id(from._internal_region_id()); diff --git a/c++/greptime/v1/flow/server.pb.h b/c++/greptime/v1/flow/server.pb.h index 2a25132..04804bc 100644 --- a/c++/greptime/v1/flow/server.pb.h +++ b/c++/greptime/v1/flow/server.pb.h @@ -936,7 +936,7 @@ class InsertRequest final : enum : int { kRowsFieldNumber = 2, - kPartitionRuleVersionFieldNumber = 3, + kPartitionExprVersionFieldNumber = 3, kRegionIdFieldNumber = 1, }; // .greptime.v1.Rows rows = 2; @@ -957,23 +957,23 @@ class InsertRequest final : ::greptime::v1::Rows* rows); ::greptime::v1::Rows* unsafe_arena_release_rows(); - // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - bool has_partition_rule_version() const; + // .greptime.v1.PartitionExprVersion partition_expr_version = 3; + bool has_partition_expr_version() const; private: - bool _internal_has_partition_rule_version() const; + bool _internal_has_partition_expr_version() const; public: - void clear_partition_rule_version(); - const ::greptime::v1::PartitionRuleVersion& partition_rule_version() const; - PROTOBUF_NODISCARD ::greptime::v1::PartitionRuleVersion* release_partition_rule_version(); - ::greptime::v1::PartitionRuleVersion* mutable_partition_rule_version(); - void set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version); + void clear_partition_expr_version(); + const ::greptime::v1::PartitionExprVersion& partition_expr_version() const; + PROTOBUF_NODISCARD ::greptime::v1::PartitionExprVersion* release_partition_expr_version(); + ::greptime::v1::PartitionExprVersion* mutable_partition_expr_version(); + void set_allocated_partition_expr_version(::greptime::v1::PartitionExprVersion* partition_expr_version); private: - const ::greptime::v1::PartitionRuleVersion& _internal_partition_rule_version() const; - ::greptime::v1::PartitionRuleVersion* _internal_mutable_partition_rule_version(); + const ::greptime::v1::PartitionExprVersion& _internal_partition_expr_version() const; + ::greptime::v1::PartitionExprVersion* _internal_mutable_partition_expr_version(); public: - void unsafe_arena_set_allocated_partition_rule_version( - ::greptime::v1::PartitionRuleVersion* partition_rule_version); - ::greptime::v1::PartitionRuleVersion* unsafe_arena_release_partition_rule_version(); + void unsafe_arena_set_allocated_partition_expr_version( + ::greptime::v1::PartitionExprVersion* partition_expr_version); + ::greptime::v1::PartitionExprVersion* unsafe_arena_release_partition_expr_version(); // uint64 region_id = 1; void clear_region_id(); @@ -993,7 +993,7 @@ class InsertRequest final : typedef void DestructorSkippable_; struct Impl_ { ::greptime::v1::Rows* rows_; - ::greptime::v1::PartitionRuleVersion* partition_rule_version_; + ::greptime::v1::PartitionExprVersion* partition_expr_version_; uint64_t region_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; @@ -2532,39 +2532,39 @@ inline void InsertRequest::set_allocated_rows(::greptime::v1::Rows* rows) { // @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.InsertRequest.rows) } -// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; -inline bool InsertRequest::_internal_has_partition_rule_version() const { - return this != internal_default_instance() && _impl_.partition_rule_version_ != nullptr; +// .greptime.v1.PartitionExprVersion partition_expr_version = 3; +inline bool InsertRequest::_internal_has_partition_expr_version() const { + return this != internal_default_instance() && _impl_.partition_expr_version_ != nullptr; } -inline bool InsertRequest::has_partition_rule_version() const { - return _internal_has_partition_rule_version(); +inline bool InsertRequest::has_partition_expr_version() const { + return _internal_has_partition_expr_version(); } -inline const ::greptime::v1::PartitionRuleVersion& InsertRequest::_internal_partition_rule_version() const { - const ::greptime::v1::PartitionRuleVersion* p = _impl_.partition_rule_version_; - return p != nullptr ? *p : reinterpret_cast( - ::greptime::v1::_PartitionRuleVersion_default_instance_); +inline const ::greptime::v1::PartitionExprVersion& InsertRequest::_internal_partition_expr_version() const { + const ::greptime::v1::PartitionExprVersion* p = _impl_.partition_expr_version_; + return p != nullptr ? *p : reinterpret_cast( + ::greptime::v1::_PartitionExprVersion_default_instance_); } -inline const ::greptime::v1::PartitionRuleVersion& InsertRequest::partition_rule_version() const { - // @@protoc_insertion_point(field_get:greptime.v1.flow.InsertRequest.partition_rule_version) - return _internal_partition_rule_version(); +inline const ::greptime::v1::PartitionExprVersion& InsertRequest::partition_expr_version() const { + // @@protoc_insertion_point(field_get:greptime.v1.flow.InsertRequest.partition_expr_version) + return _internal_partition_expr_version(); } -inline void InsertRequest::unsafe_arena_set_allocated_partition_rule_version( - ::greptime::v1::PartitionRuleVersion* partition_rule_version) { +inline void InsertRequest::unsafe_arena_set_allocated_partition_expr_version( + ::greptime::v1::PartitionExprVersion* partition_expr_version) { if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_rule_version_); + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_expr_version_); } - _impl_.partition_rule_version_ = partition_rule_version; - if (partition_rule_version) { + _impl_.partition_expr_version_ = partition_expr_version; + if (partition_expr_version) { } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.flow.InsertRequest.partition_rule_version) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.flow.InsertRequest.partition_expr_version) } -inline ::greptime::v1::PartitionRuleVersion* InsertRequest::release_partition_rule_version() { +inline ::greptime::v1::PartitionExprVersion* InsertRequest::release_partition_expr_version() { - ::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; - _impl_.partition_rule_version_ = nullptr; + ::greptime::v1::PartitionExprVersion* temp = _impl_.partition_expr_version_; + _impl_.partition_expr_version_ = nullptr; #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); @@ -2576,45 +2576,45 @@ inline ::greptime::v1::PartitionRuleVersion* InsertRequest::release_partition_ru #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::greptime::v1::PartitionRuleVersion* InsertRequest::unsafe_arena_release_partition_rule_version() { - // @@protoc_insertion_point(field_release:greptime.v1.flow.InsertRequest.partition_rule_version) +inline ::greptime::v1::PartitionExprVersion* InsertRequest::unsafe_arena_release_partition_expr_version() { + // @@protoc_insertion_point(field_release:greptime.v1.flow.InsertRequest.partition_expr_version) - ::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; - _impl_.partition_rule_version_ = nullptr; + ::greptime::v1::PartitionExprVersion* temp = _impl_.partition_expr_version_; + _impl_.partition_expr_version_ = nullptr; return temp; } -inline ::greptime::v1::PartitionRuleVersion* InsertRequest::_internal_mutable_partition_rule_version() { +inline ::greptime::v1::PartitionExprVersion* InsertRequest::_internal_mutable_partition_expr_version() { - if (_impl_.partition_rule_version_ == nullptr) { - auto* p = CreateMaybeMessage<::greptime::v1::PartitionRuleVersion>(GetArenaForAllocation()); - _impl_.partition_rule_version_ = p; + if (_impl_.partition_expr_version_ == nullptr) { + auto* p = CreateMaybeMessage<::greptime::v1::PartitionExprVersion>(GetArenaForAllocation()); + _impl_.partition_expr_version_ = p; } - return _impl_.partition_rule_version_; + return _impl_.partition_expr_version_; } -inline ::greptime::v1::PartitionRuleVersion* InsertRequest::mutable_partition_rule_version() { - ::greptime::v1::PartitionRuleVersion* _msg = _internal_mutable_partition_rule_version(); - // @@protoc_insertion_point(field_mutable:greptime.v1.flow.InsertRequest.partition_rule_version) +inline ::greptime::v1::PartitionExprVersion* InsertRequest::mutable_partition_expr_version() { + ::greptime::v1::PartitionExprVersion* _msg = _internal_mutable_partition_expr_version(); + // @@protoc_insertion_point(field_mutable:greptime.v1.flow.InsertRequest.partition_expr_version) return _msg; } -inline void InsertRequest::set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version) { +inline void InsertRequest::set_allocated_partition_expr_version(::greptime::v1::PartitionExprVersion* partition_expr_version) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_rule_version_); + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_expr_version_); } - if (partition_rule_version) { + if (partition_expr_version) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(partition_rule_version)); + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(partition_expr_version)); if (message_arena != submessage_arena) { - partition_rule_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, partition_rule_version, submessage_arena); + partition_expr_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, partition_expr_version, submessage_arena); } } else { } - _impl_.partition_rule_version_ = partition_rule_version; - // @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.InsertRequest.partition_rule_version) + _impl_.partition_expr_version_ = partition_expr_version; + // @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.InsertRequest.partition_expr_version) } // ------------------------------------------------------------------- diff --git a/c++/greptime/v1/region/server.pb.cc b/c++/greptime/v1/region/server.pb.cc index 2bebf4c..01ca959 100644 --- a/c++/greptime/v1/region/server.pb.cc +++ b/c++/greptime/v1/region/server.pb.cc @@ -120,7 +120,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT PROTOBUF_CONSTEXPR InsertRequest::InsertRequest( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.rows_)*/nullptr - , /*decltype(_impl_.partition_rule_version_)*/nullptr + , /*decltype(_impl_.partition_expr_version_)*/nullptr , /*decltype(_impl_.region_id_)*/uint64_t{0u} , /*decltype(_impl_._cached_size_)*/{}} {} struct InsertRequestDefaultTypeInternal { @@ -135,7 +135,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT PROTOBUF_CONSTEXPR DeleteRequest::DeleteRequest( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.rows_)*/nullptr - , /*decltype(_impl_.partition_rule_version_)*/nullptr + , /*decltype(_impl_.partition_expr_version_)*/nullptr , /*decltype(_impl_.region_id_)*/uint64_t{0u} , /*decltype(_impl_._cached_size_)*/{}} {} struct DeleteRequestDefaultTypeInternal { @@ -465,7 +465,7 @@ struct RegionColumnDefDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RegionColumnDefDefaultTypeInternal _RegionColumnDef_default_instance_; PROTOBUF_CONSTEXPR BulkInsertRequest::BulkInsertRequest( ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.partition_rule_version_)*/nullptr + /*decltype(_impl_.partition_expr_version_)*/nullptr , /*decltype(_impl_.region_id_)*/uint64_t{0u} , /*decltype(_impl_.body_)*/{} , /*decltype(_impl_._cached_size_)*/{} @@ -672,7 +672,7 @@ const uint32_t TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets[] PR ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::greptime::v1::region::InsertRequest, _impl_.region_id_), PROTOBUF_FIELD_OFFSET(::greptime::v1::region::InsertRequest, _impl_.rows_), - PROTOBUF_FIELD_OFFSET(::greptime::v1::region::InsertRequest, _impl_.partition_rule_version_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::region::InsertRequest, _impl_.partition_expr_version_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::region::DeleteRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -681,7 +681,7 @@ const uint32_t TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets[] PR ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::greptime::v1::region::DeleteRequest, _impl_.region_id_), PROTOBUF_FIELD_OFFSET(::greptime::v1::region::DeleteRequest, _impl_.rows_), - PROTOBUF_FIELD_OFFSET(::greptime::v1::region::DeleteRequest, _impl_.partition_rule_version_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::region::DeleteRequest, _impl_.partition_expr_version_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::region::QueryRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -892,7 +892,7 @@ const uint32_t TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets[] PR ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.region_id_), ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.partition_rule_version_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.partition_expr_version_), PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.body_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::region::MitoManifestInfo, _internal_metadata_), @@ -1086,11 +1086,11 @@ const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] P "uests\030\001 \003(\0132!.greptime.v1.region.DeleteR" "equest\"\206\001\n\rInsertRequest\022\021\n\tregion_id\030\001 " "\001(\004\022\037\n\004rows\030\002 \001(\0132\021.greptime.v1.Rows\022A\n\026" - "partition_rule_version\030\003 \001(\0132!.greptime." - "v1.PartitionRuleVersion\"\206\001\n\rDeleteReques" + "partition_expr_version\030\003 \001(\0132!.greptime." + "v1.PartitionExprVersion\"\206\001\n\rDeleteReques" "t\022\021\n\tregion_id\030\001 \001(\004\022\037\n\004rows\030\002 \001(\0132\021.gre" - "ptime.v1.Rows\022A\n\026partition_rule_version\030" - "\003 \001(\0132!.greptime.v1.PartitionRuleVersion" + "ptime.v1.Rows\022A\n\026partition_expr_version\030" + "\003 \001(\0132!.greptime.v1.PartitionExprVersion" "\"h\n\014QueryRequest\0227\n\006header\030\001 \001(\0132\'.grept" "ime.v1.region.RegionRequestHeader\022\021\n\treg" "ion_id\030\002 \001(\004\022\014\n\004plan\030\003 \001(\014\"E\n\016CreateRequ" @@ -1155,8 +1155,8 @@ const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] P "greptime.v1.ColumnDef\022\021\n\tcolumn_id\030\002 \001(\r" "\"\235\001\n\021BulkInsertRequest\022\021\n\tregion_id\030\001 \001(" "\004\022*\n\tarrow_ipc\030\002 \001(\0132\025.greptime.v1.Arrow" - "IpcH\000\022A\n\026partition_rule_version\030\003 \001(\0132!." - "greptime.v1.PartitionRuleVersionB\006\n\004body" + "IpcH\000\022A\n\026partition_expr_version\030\003 \001(\0132!." + "greptime.v1.PartitionExprVersionB\006\n\004body" "\"1\n\020MitoManifestInfo\022\035\n\025data_manifest_ve" "rsion\030\001 \001(\004\"V\n\022MetricManifestInfo\022\035\n\025dat" "a_manifest_version\030\001 \001(\004\022!\n\031metadata_man" @@ -3540,16 +3540,16 @@ void DeleteRequests::InternalSwap(DeleteRequests* other) { class InsertRequest::_Internal { public: static const ::greptime::v1::Rows& rows(const InsertRequest* msg); - static const ::greptime::v1::PartitionRuleVersion& partition_rule_version(const InsertRequest* msg); + static const ::greptime::v1::PartitionExprVersion& partition_expr_version(const InsertRequest* msg); }; const ::greptime::v1::Rows& InsertRequest::_Internal::rows(const InsertRequest* msg) { return *msg->_impl_.rows_; } -const ::greptime::v1::PartitionRuleVersion& -InsertRequest::_Internal::partition_rule_version(const InsertRequest* msg) { - return *msg->_impl_.partition_rule_version_; +const ::greptime::v1::PartitionExprVersion& +InsertRequest::_Internal::partition_expr_version(const InsertRequest* msg) { + return *msg->_impl_.partition_expr_version_; } void InsertRequest::clear_rows() { if (GetArenaForAllocation() == nullptr && _impl_.rows_ != nullptr) { @@ -3557,11 +3557,11 @@ void InsertRequest::clear_rows() { } _impl_.rows_ = nullptr; } -void InsertRequest::clear_partition_rule_version() { - if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { - delete _impl_.partition_rule_version_; +void InsertRequest::clear_partition_expr_version() { + if (GetArenaForAllocation() == nullptr && _impl_.partition_expr_version_ != nullptr) { + delete _impl_.partition_expr_version_; } - _impl_.partition_rule_version_ = nullptr; + _impl_.partition_expr_version_ = nullptr; } InsertRequest::InsertRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) @@ -3574,7 +3574,7 @@ InsertRequest::InsertRequest(const InsertRequest& from) InsertRequest* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.rows_){nullptr} - , decltype(_impl_.partition_rule_version_){nullptr} + , decltype(_impl_.partition_expr_version_){nullptr} , decltype(_impl_.region_id_){} , /*decltype(_impl_._cached_size_)*/{}}; @@ -3582,8 +3582,8 @@ InsertRequest::InsertRequest(const InsertRequest& from) if (from._internal_has_rows()) { _this->_impl_.rows_ = new ::greptime::v1::Rows(*from._impl_.rows_); } - if (from._internal_has_partition_rule_version()) { - _this->_impl_.partition_rule_version_ = new ::greptime::v1::PartitionRuleVersion(*from._impl_.partition_rule_version_); + if (from._internal_has_partition_expr_version()) { + _this->_impl_.partition_expr_version_ = new ::greptime::v1::PartitionExprVersion(*from._impl_.partition_expr_version_); } _this->_impl_.region_id_ = from._impl_.region_id_; // @@protoc_insertion_point(copy_constructor:greptime.v1.region.InsertRequest) @@ -3595,7 +3595,7 @@ inline void InsertRequest::SharedCtor( (void)is_message_owned; new (&_impl_) Impl_{ decltype(_impl_.rows_){nullptr} - , decltype(_impl_.partition_rule_version_){nullptr} + , decltype(_impl_.partition_expr_version_){nullptr} , decltype(_impl_.region_id_){uint64_t{0u}} , /*decltype(_impl_._cached_size_)*/{} }; @@ -3613,7 +3613,7 @@ InsertRequest::~InsertRequest() { inline void InsertRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete _impl_.rows_; - if (this != internal_default_instance()) delete _impl_.partition_rule_version_; + if (this != internal_default_instance()) delete _impl_.partition_expr_version_; } void InsertRequest::SetCachedSize(int size) const { @@ -3630,10 +3630,10 @@ void InsertRequest::Clear() { delete _impl_.rows_; } _impl_.rows_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { - delete _impl_.partition_rule_version_; + if (GetArenaForAllocation() == nullptr && _impl_.partition_expr_version_ != nullptr) { + delete _impl_.partition_expr_version_; } - _impl_.partition_rule_version_ = nullptr; + _impl_.partition_expr_version_ = nullptr; _impl_.region_id_ = uint64_t{0u}; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -3660,10 +3660,10 @@ const char* InsertRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* } else goto handle_unusual; continue; - // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + // .greptime.v1.PartitionExprVersion partition_expr_version = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_partition_rule_version(), ptr); + ptr = ctx->ParseMessage(_internal_mutable_partition_expr_version(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -3710,11 +3710,11 @@ uint8_t* InsertRequest::_InternalSerialize( _Internal::rows(this).GetCachedSize(), target, stream); } - // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - if (this->_internal_has_partition_rule_version()) { + // .greptime.v1.PartitionExprVersion partition_expr_version = 3; + if (this->_internal_has_partition_expr_version()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::partition_rule_version(this), - _Internal::partition_rule_version(this).GetCachedSize(), target, stream); + InternalWriteMessage(3, _Internal::partition_expr_version(this), + _Internal::partition_expr_version(this).GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -3740,11 +3740,11 @@ size_t InsertRequest::ByteSizeLong() const { *_impl_.rows_); } - // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - if (this->_internal_has_partition_rule_version()) { + // .greptime.v1.PartitionExprVersion partition_expr_version = 3; + if (this->_internal_has_partition_expr_version()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.partition_rule_version_); + *_impl_.partition_expr_version_); } // uint64 region_id = 1; @@ -3774,9 +3774,9 @@ void InsertRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const :: _this->_internal_mutable_rows()->::greptime::v1::Rows::MergeFrom( from._internal_rows()); } - if (from._internal_has_partition_rule_version()) { - _this->_internal_mutable_partition_rule_version()->::greptime::v1::PartitionRuleVersion::MergeFrom( - from._internal_partition_rule_version()); + if (from._internal_has_partition_expr_version()) { + _this->_internal_mutable_partition_expr_version()->::greptime::v1::PartitionExprVersion::MergeFrom( + from._internal_partition_expr_version()); } if (from._internal_region_id() != 0) { _this->_internal_set_region_id(from._internal_region_id()); @@ -3817,16 +3817,16 @@ void InsertRequest::InternalSwap(InsertRequest* other) { class DeleteRequest::_Internal { public: static const ::greptime::v1::Rows& rows(const DeleteRequest* msg); - static const ::greptime::v1::PartitionRuleVersion& partition_rule_version(const DeleteRequest* msg); + static const ::greptime::v1::PartitionExprVersion& partition_expr_version(const DeleteRequest* msg); }; const ::greptime::v1::Rows& DeleteRequest::_Internal::rows(const DeleteRequest* msg) { return *msg->_impl_.rows_; } -const ::greptime::v1::PartitionRuleVersion& -DeleteRequest::_Internal::partition_rule_version(const DeleteRequest* msg) { - return *msg->_impl_.partition_rule_version_; +const ::greptime::v1::PartitionExprVersion& +DeleteRequest::_Internal::partition_expr_version(const DeleteRequest* msg) { + return *msg->_impl_.partition_expr_version_; } void DeleteRequest::clear_rows() { if (GetArenaForAllocation() == nullptr && _impl_.rows_ != nullptr) { @@ -3834,11 +3834,11 @@ void DeleteRequest::clear_rows() { } _impl_.rows_ = nullptr; } -void DeleteRequest::clear_partition_rule_version() { - if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { - delete _impl_.partition_rule_version_; +void DeleteRequest::clear_partition_expr_version() { + if (GetArenaForAllocation() == nullptr && _impl_.partition_expr_version_ != nullptr) { + delete _impl_.partition_expr_version_; } - _impl_.partition_rule_version_ = nullptr; + _impl_.partition_expr_version_ = nullptr; } DeleteRequest::DeleteRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) @@ -3851,7 +3851,7 @@ DeleteRequest::DeleteRequest(const DeleteRequest& from) DeleteRequest* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.rows_){nullptr} - , decltype(_impl_.partition_rule_version_){nullptr} + , decltype(_impl_.partition_expr_version_){nullptr} , decltype(_impl_.region_id_){} , /*decltype(_impl_._cached_size_)*/{}}; @@ -3859,8 +3859,8 @@ DeleteRequest::DeleteRequest(const DeleteRequest& from) if (from._internal_has_rows()) { _this->_impl_.rows_ = new ::greptime::v1::Rows(*from._impl_.rows_); } - if (from._internal_has_partition_rule_version()) { - _this->_impl_.partition_rule_version_ = new ::greptime::v1::PartitionRuleVersion(*from._impl_.partition_rule_version_); + if (from._internal_has_partition_expr_version()) { + _this->_impl_.partition_expr_version_ = new ::greptime::v1::PartitionExprVersion(*from._impl_.partition_expr_version_); } _this->_impl_.region_id_ = from._impl_.region_id_; // @@protoc_insertion_point(copy_constructor:greptime.v1.region.DeleteRequest) @@ -3872,7 +3872,7 @@ inline void DeleteRequest::SharedCtor( (void)is_message_owned; new (&_impl_) Impl_{ decltype(_impl_.rows_){nullptr} - , decltype(_impl_.partition_rule_version_){nullptr} + , decltype(_impl_.partition_expr_version_){nullptr} , decltype(_impl_.region_id_){uint64_t{0u}} , /*decltype(_impl_._cached_size_)*/{} }; @@ -3890,7 +3890,7 @@ DeleteRequest::~DeleteRequest() { inline void DeleteRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete _impl_.rows_; - if (this != internal_default_instance()) delete _impl_.partition_rule_version_; + if (this != internal_default_instance()) delete _impl_.partition_expr_version_; } void DeleteRequest::SetCachedSize(int size) const { @@ -3907,10 +3907,10 @@ void DeleteRequest::Clear() { delete _impl_.rows_; } _impl_.rows_ = nullptr; - if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { - delete _impl_.partition_rule_version_; + if (GetArenaForAllocation() == nullptr && _impl_.partition_expr_version_ != nullptr) { + delete _impl_.partition_expr_version_; } - _impl_.partition_rule_version_ = nullptr; + _impl_.partition_expr_version_ = nullptr; _impl_.region_id_ = uint64_t{0u}; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -3937,10 +3937,10 @@ const char* DeleteRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* } else goto handle_unusual; continue; - // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + // .greptime.v1.PartitionExprVersion partition_expr_version = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_partition_rule_version(), ptr); + ptr = ctx->ParseMessage(_internal_mutable_partition_expr_version(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -3987,11 +3987,11 @@ uint8_t* DeleteRequest::_InternalSerialize( _Internal::rows(this).GetCachedSize(), target, stream); } - // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - if (this->_internal_has_partition_rule_version()) { + // .greptime.v1.PartitionExprVersion partition_expr_version = 3; + if (this->_internal_has_partition_expr_version()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::partition_rule_version(this), - _Internal::partition_rule_version(this).GetCachedSize(), target, stream); + InternalWriteMessage(3, _Internal::partition_expr_version(this), + _Internal::partition_expr_version(this).GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -4017,11 +4017,11 @@ size_t DeleteRequest::ByteSizeLong() const { *_impl_.rows_); } - // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - if (this->_internal_has_partition_rule_version()) { + // .greptime.v1.PartitionExprVersion partition_expr_version = 3; + if (this->_internal_has_partition_expr_version()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.partition_rule_version_); + *_impl_.partition_expr_version_); } // uint64 region_id = 1; @@ -4051,9 +4051,9 @@ void DeleteRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const :: _this->_internal_mutable_rows()->::greptime::v1::Rows::MergeFrom( from._internal_rows()); } - if (from._internal_has_partition_rule_version()) { - _this->_internal_mutable_partition_rule_version()->::greptime::v1::PartitionRuleVersion::MergeFrom( - from._internal_partition_rule_version()); + if (from._internal_has_partition_expr_version()) { + _this->_internal_mutable_partition_expr_version()->::greptime::v1::PartitionExprVersion::MergeFrom( + from._internal_partition_expr_version()); } if (from._internal_region_id() != 0) { _this->_internal_set_region_id(from._internal_region_id()); @@ -9610,16 +9610,16 @@ void RegionColumnDef::InternalSwap(RegionColumnDef* other) { class BulkInsertRequest::_Internal { public: static const ::greptime::v1::ArrowIpc& arrow_ipc(const BulkInsertRequest* msg); - static const ::greptime::v1::PartitionRuleVersion& partition_rule_version(const BulkInsertRequest* msg); + static const ::greptime::v1::PartitionExprVersion& partition_expr_version(const BulkInsertRequest* msg); }; const ::greptime::v1::ArrowIpc& BulkInsertRequest::_Internal::arrow_ipc(const BulkInsertRequest* msg) { return *msg->_impl_.body_.arrow_ipc_; } -const ::greptime::v1::PartitionRuleVersion& -BulkInsertRequest::_Internal::partition_rule_version(const BulkInsertRequest* msg) { - return *msg->_impl_.partition_rule_version_; +const ::greptime::v1::PartitionExprVersion& +BulkInsertRequest::_Internal::partition_expr_version(const BulkInsertRequest* msg) { + return *msg->_impl_.partition_expr_version_; } void BulkInsertRequest::set_allocated_arrow_ipc(::greptime::v1::ArrowIpc* arrow_ipc) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); @@ -9645,11 +9645,11 @@ void BulkInsertRequest::clear_arrow_ipc() { clear_has_body(); } } -void BulkInsertRequest::clear_partition_rule_version() { - if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { - delete _impl_.partition_rule_version_; +void BulkInsertRequest::clear_partition_expr_version() { + if (GetArenaForAllocation() == nullptr && _impl_.partition_expr_version_ != nullptr) { + delete _impl_.partition_expr_version_; } - _impl_.partition_rule_version_ = nullptr; + _impl_.partition_expr_version_ = nullptr; } BulkInsertRequest::BulkInsertRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) @@ -9661,15 +9661,15 @@ BulkInsertRequest::BulkInsertRequest(const BulkInsertRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { BulkInsertRequest* const _this = this; (void)_this; new (&_impl_) Impl_{ - decltype(_impl_.partition_rule_version_){nullptr} + decltype(_impl_.partition_expr_version_){nullptr} , decltype(_impl_.region_id_){} , decltype(_impl_.body_){} , /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._oneof_case_)*/{}}; _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_partition_rule_version()) { - _this->_impl_.partition_rule_version_ = new ::greptime::v1::PartitionRuleVersion(*from._impl_.partition_rule_version_); + if (from._internal_has_partition_expr_version()) { + _this->_impl_.partition_expr_version_ = new ::greptime::v1::PartitionExprVersion(*from._impl_.partition_expr_version_); } _this->_impl_.region_id_ = from._impl_.region_id_; clear_has_body(); @@ -9691,7 +9691,7 @@ inline void BulkInsertRequest::SharedCtor( (void)arena; (void)is_message_owned; new (&_impl_) Impl_{ - decltype(_impl_.partition_rule_version_){nullptr} + decltype(_impl_.partition_expr_version_){nullptr} , decltype(_impl_.region_id_){uint64_t{0u}} , decltype(_impl_.body_){} , /*decltype(_impl_._cached_size_)*/{} @@ -9711,7 +9711,7 @@ BulkInsertRequest::~BulkInsertRequest() { inline void BulkInsertRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.partition_rule_version_; + if (this != internal_default_instance()) delete _impl_.partition_expr_version_; if (has_body()) { clear_body(); } @@ -9744,10 +9744,10 @@ void BulkInsertRequest::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { - delete _impl_.partition_rule_version_; + if (GetArenaForAllocation() == nullptr && _impl_.partition_expr_version_ != nullptr) { + delete _impl_.partition_expr_version_; } - _impl_.partition_rule_version_ = nullptr; + _impl_.partition_expr_version_ = nullptr; _impl_.region_id_ = uint64_t{0u}; clear_body(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); @@ -9775,10 +9775,10 @@ const char* BulkInsertRequest::_InternalParse(const char* ptr, ::_pbi::ParseCont } else goto handle_unusual; continue; - // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + // .greptime.v1.PartitionExprVersion partition_expr_version = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_partition_rule_version(), ptr); + ptr = ctx->ParseMessage(_internal_mutable_partition_expr_version(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -9825,11 +9825,11 @@ uint8_t* BulkInsertRequest::_InternalSerialize( _Internal::arrow_ipc(this).GetCachedSize(), target, stream); } - // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - if (this->_internal_has_partition_rule_version()) { + // .greptime.v1.PartitionExprVersion partition_expr_version = 3; + if (this->_internal_has_partition_expr_version()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::partition_rule_version(this), - _Internal::partition_rule_version(this).GetCachedSize(), target, stream); + InternalWriteMessage(3, _Internal::partition_expr_version(this), + _Internal::partition_expr_version(this).GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -9848,11 +9848,11 @@ size_t BulkInsertRequest::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - if (this->_internal_has_partition_rule_version()) { + // .greptime.v1.PartitionExprVersion partition_expr_version = 3; + if (this->_internal_has_partition_expr_version()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.partition_rule_version_); + *_impl_.partition_expr_version_); } // uint64 region_id = 1; @@ -9890,9 +9890,9 @@ void BulkInsertRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, cons uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_partition_rule_version()) { - _this->_internal_mutable_partition_rule_version()->::greptime::v1::PartitionRuleVersion::MergeFrom( - from._internal_partition_rule_version()); + if (from._internal_has_partition_expr_version()) { + _this->_internal_mutable_partition_expr_version()->::greptime::v1::PartitionExprVersion::MergeFrom( + from._internal_partition_expr_version()); } if (from._internal_region_id() != 0) { _this->_internal_set_region_id(from._internal_region_id()); @@ -9927,9 +9927,9 @@ void BulkInsertRequest::InternalSwap(BulkInsertRequest* other) { ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(BulkInsertRequest, _impl_.region_id_) + sizeof(BulkInsertRequest::_impl_.region_id_) - - PROTOBUF_FIELD_OFFSET(BulkInsertRequest, _impl_.partition_rule_version_)>( - reinterpret_cast(&_impl_.partition_rule_version_), - reinterpret_cast(&other->_impl_.partition_rule_version_)); + - PROTOBUF_FIELD_OFFSET(BulkInsertRequest, _impl_.partition_expr_version_)>( + reinterpret_cast(&_impl_.partition_expr_version_), + reinterpret_cast(&other->_impl_.partition_expr_version_)); swap(_impl_.body_, other->_impl_.body_); swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); } diff --git a/c++/greptime/v1/region/server.pb.h b/c++/greptime/v1/region/server.pb.h index 62bf8a0..097c79c 100644 --- a/c++/greptime/v1/region/server.pb.h +++ b/c++/greptime/v1/region/server.pb.h @@ -1693,7 +1693,7 @@ class InsertRequest final : enum : int { kRowsFieldNumber = 2, - kPartitionRuleVersionFieldNumber = 3, + kPartitionExprVersionFieldNumber = 3, kRegionIdFieldNumber = 1, }; // .greptime.v1.Rows rows = 2; @@ -1714,23 +1714,23 @@ class InsertRequest final : ::greptime::v1::Rows* rows); ::greptime::v1::Rows* unsafe_arena_release_rows(); - // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - bool has_partition_rule_version() const; + // .greptime.v1.PartitionExprVersion partition_expr_version = 3; + bool has_partition_expr_version() const; private: - bool _internal_has_partition_rule_version() const; + bool _internal_has_partition_expr_version() const; public: - void clear_partition_rule_version(); - const ::greptime::v1::PartitionRuleVersion& partition_rule_version() const; - PROTOBUF_NODISCARD ::greptime::v1::PartitionRuleVersion* release_partition_rule_version(); - ::greptime::v1::PartitionRuleVersion* mutable_partition_rule_version(); - void set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version); + void clear_partition_expr_version(); + const ::greptime::v1::PartitionExprVersion& partition_expr_version() const; + PROTOBUF_NODISCARD ::greptime::v1::PartitionExprVersion* release_partition_expr_version(); + ::greptime::v1::PartitionExprVersion* mutable_partition_expr_version(); + void set_allocated_partition_expr_version(::greptime::v1::PartitionExprVersion* partition_expr_version); private: - const ::greptime::v1::PartitionRuleVersion& _internal_partition_rule_version() const; - ::greptime::v1::PartitionRuleVersion* _internal_mutable_partition_rule_version(); + const ::greptime::v1::PartitionExprVersion& _internal_partition_expr_version() const; + ::greptime::v1::PartitionExprVersion* _internal_mutable_partition_expr_version(); public: - void unsafe_arena_set_allocated_partition_rule_version( - ::greptime::v1::PartitionRuleVersion* partition_rule_version); - ::greptime::v1::PartitionRuleVersion* unsafe_arena_release_partition_rule_version(); + void unsafe_arena_set_allocated_partition_expr_version( + ::greptime::v1::PartitionExprVersion* partition_expr_version); + ::greptime::v1::PartitionExprVersion* unsafe_arena_release_partition_expr_version(); // uint64 region_id = 1; void clear_region_id(); @@ -1750,7 +1750,7 @@ class InsertRequest final : typedef void DestructorSkippable_; struct Impl_ { ::greptime::v1::Rows* rows_; - ::greptime::v1::PartitionRuleVersion* partition_rule_version_; + ::greptime::v1::PartitionExprVersion* partition_expr_version_; uint64_t region_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; @@ -1881,7 +1881,7 @@ class DeleteRequest final : enum : int { kRowsFieldNumber = 2, - kPartitionRuleVersionFieldNumber = 3, + kPartitionExprVersionFieldNumber = 3, kRegionIdFieldNumber = 1, }; // .greptime.v1.Rows rows = 2; @@ -1902,23 +1902,23 @@ class DeleteRequest final : ::greptime::v1::Rows* rows); ::greptime::v1::Rows* unsafe_arena_release_rows(); - // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - bool has_partition_rule_version() const; + // .greptime.v1.PartitionExprVersion partition_expr_version = 3; + bool has_partition_expr_version() const; private: - bool _internal_has_partition_rule_version() const; + bool _internal_has_partition_expr_version() const; public: - void clear_partition_rule_version(); - const ::greptime::v1::PartitionRuleVersion& partition_rule_version() const; - PROTOBUF_NODISCARD ::greptime::v1::PartitionRuleVersion* release_partition_rule_version(); - ::greptime::v1::PartitionRuleVersion* mutable_partition_rule_version(); - void set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version); + void clear_partition_expr_version(); + const ::greptime::v1::PartitionExprVersion& partition_expr_version() const; + PROTOBUF_NODISCARD ::greptime::v1::PartitionExprVersion* release_partition_expr_version(); + ::greptime::v1::PartitionExprVersion* mutable_partition_expr_version(); + void set_allocated_partition_expr_version(::greptime::v1::PartitionExprVersion* partition_expr_version); private: - const ::greptime::v1::PartitionRuleVersion& _internal_partition_rule_version() const; - ::greptime::v1::PartitionRuleVersion* _internal_mutable_partition_rule_version(); + const ::greptime::v1::PartitionExprVersion& _internal_partition_expr_version() const; + ::greptime::v1::PartitionExprVersion* _internal_mutable_partition_expr_version(); public: - void unsafe_arena_set_allocated_partition_rule_version( - ::greptime::v1::PartitionRuleVersion* partition_rule_version); - ::greptime::v1::PartitionRuleVersion* unsafe_arena_release_partition_rule_version(); + void unsafe_arena_set_allocated_partition_expr_version( + ::greptime::v1::PartitionExprVersion* partition_expr_version); + ::greptime::v1::PartitionExprVersion* unsafe_arena_release_partition_expr_version(); // uint64 region_id = 1; void clear_region_id(); @@ -1938,7 +1938,7 @@ class DeleteRequest final : typedef void DestructorSkippable_; struct Impl_ { ::greptime::v1::Rows* rows_; - ::greptime::v1::PartitionRuleVersion* partition_rule_version_; + ::greptime::v1::PartitionExprVersion* partition_expr_version_; uint64_t region_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; @@ -5954,27 +5954,27 @@ class BulkInsertRequest final : // accessors ------------------------------------------------------- enum : int { - kPartitionRuleVersionFieldNumber = 3, + kPartitionExprVersionFieldNumber = 3, kRegionIdFieldNumber = 1, kArrowIpcFieldNumber = 2, }; - // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - bool has_partition_rule_version() const; + // .greptime.v1.PartitionExprVersion partition_expr_version = 3; + bool has_partition_expr_version() const; private: - bool _internal_has_partition_rule_version() const; + bool _internal_has_partition_expr_version() const; public: - void clear_partition_rule_version(); - const ::greptime::v1::PartitionRuleVersion& partition_rule_version() const; - PROTOBUF_NODISCARD ::greptime::v1::PartitionRuleVersion* release_partition_rule_version(); - ::greptime::v1::PartitionRuleVersion* mutable_partition_rule_version(); - void set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version); + void clear_partition_expr_version(); + const ::greptime::v1::PartitionExprVersion& partition_expr_version() const; + PROTOBUF_NODISCARD ::greptime::v1::PartitionExprVersion* release_partition_expr_version(); + ::greptime::v1::PartitionExprVersion* mutable_partition_expr_version(); + void set_allocated_partition_expr_version(::greptime::v1::PartitionExprVersion* partition_expr_version); private: - const ::greptime::v1::PartitionRuleVersion& _internal_partition_rule_version() const; - ::greptime::v1::PartitionRuleVersion* _internal_mutable_partition_rule_version(); + const ::greptime::v1::PartitionExprVersion& _internal_partition_expr_version() const; + ::greptime::v1::PartitionExprVersion* _internal_mutable_partition_expr_version(); public: - void unsafe_arena_set_allocated_partition_rule_version( - ::greptime::v1::PartitionRuleVersion* partition_rule_version); - ::greptime::v1::PartitionRuleVersion* unsafe_arena_release_partition_rule_version(); + void unsafe_arena_set_allocated_partition_expr_version( + ::greptime::v1::PartitionExprVersion* partition_expr_version); + ::greptime::v1::PartitionExprVersion* unsafe_arena_release_partition_expr_version(); // uint64 region_id = 1; void clear_region_id(); @@ -6017,7 +6017,7 @@ class BulkInsertRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; struct Impl_ { - ::greptime::v1::PartitionRuleVersion* partition_rule_version_; + ::greptime::v1::PartitionExprVersion* partition_expr_version_; uint64_t region_id_; union BodyUnion { constexpr BodyUnion() : _constinit_{} {} @@ -9198,39 +9198,39 @@ inline void InsertRequest::set_allocated_rows(::greptime::v1::Rows* rows) { // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.InsertRequest.rows) } -// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; -inline bool InsertRequest::_internal_has_partition_rule_version() const { - return this != internal_default_instance() && _impl_.partition_rule_version_ != nullptr; +// .greptime.v1.PartitionExprVersion partition_expr_version = 3; +inline bool InsertRequest::_internal_has_partition_expr_version() const { + return this != internal_default_instance() && _impl_.partition_expr_version_ != nullptr; } -inline bool InsertRequest::has_partition_rule_version() const { - return _internal_has_partition_rule_version(); +inline bool InsertRequest::has_partition_expr_version() const { + return _internal_has_partition_expr_version(); } -inline const ::greptime::v1::PartitionRuleVersion& InsertRequest::_internal_partition_rule_version() const { - const ::greptime::v1::PartitionRuleVersion* p = _impl_.partition_rule_version_; - return p != nullptr ? *p : reinterpret_cast( - ::greptime::v1::_PartitionRuleVersion_default_instance_); +inline const ::greptime::v1::PartitionExprVersion& InsertRequest::_internal_partition_expr_version() const { + const ::greptime::v1::PartitionExprVersion* p = _impl_.partition_expr_version_; + return p != nullptr ? *p : reinterpret_cast( + ::greptime::v1::_PartitionExprVersion_default_instance_); } -inline const ::greptime::v1::PartitionRuleVersion& InsertRequest::partition_rule_version() const { - // @@protoc_insertion_point(field_get:greptime.v1.region.InsertRequest.partition_rule_version) - return _internal_partition_rule_version(); +inline const ::greptime::v1::PartitionExprVersion& InsertRequest::partition_expr_version() const { + // @@protoc_insertion_point(field_get:greptime.v1.region.InsertRequest.partition_expr_version) + return _internal_partition_expr_version(); } -inline void InsertRequest::unsafe_arena_set_allocated_partition_rule_version( - ::greptime::v1::PartitionRuleVersion* partition_rule_version) { +inline void InsertRequest::unsafe_arena_set_allocated_partition_expr_version( + ::greptime::v1::PartitionExprVersion* partition_expr_version) { if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_rule_version_); + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_expr_version_); } - _impl_.partition_rule_version_ = partition_rule_version; - if (partition_rule_version) { + _impl_.partition_expr_version_ = partition_expr_version; + if (partition_expr_version) { } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.InsertRequest.partition_rule_version) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.InsertRequest.partition_expr_version) } -inline ::greptime::v1::PartitionRuleVersion* InsertRequest::release_partition_rule_version() { +inline ::greptime::v1::PartitionExprVersion* InsertRequest::release_partition_expr_version() { - ::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; - _impl_.partition_rule_version_ = nullptr; + ::greptime::v1::PartitionExprVersion* temp = _impl_.partition_expr_version_; + _impl_.partition_expr_version_ = nullptr; #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); @@ -9242,45 +9242,45 @@ inline ::greptime::v1::PartitionRuleVersion* InsertRequest::release_partition_ru #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::greptime::v1::PartitionRuleVersion* InsertRequest::unsafe_arena_release_partition_rule_version() { - // @@protoc_insertion_point(field_release:greptime.v1.region.InsertRequest.partition_rule_version) +inline ::greptime::v1::PartitionExprVersion* InsertRequest::unsafe_arena_release_partition_expr_version() { + // @@protoc_insertion_point(field_release:greptime.v1.region.InsertRequest.partition_expr_version) - ::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; - _impl_.partition_rule_version_ = nullptr; + ::greptime::v1::PartitionExprVersion* temp = _impl_.partition_expr_version_; + _impl_.partition_expr_version_ = nullptr; return temp; } -inline ::greptime::v1::PartitionRuleVersion* InsertRequest::_internal_mutable_partition_rule_version() { +inline ::greptime::v1::PartitionExprVersion* InsertRequest::_internal_mutable_partition_expr_version() { - if (_impl_.partition_rule_version_ == nullptr) { - auto* p = CreateMaybeMessage<::greptime::v1::PartitionRuleVersion>(GetArenaForAllocation()); - _impl_.partition_rule_version_ = p; + if (_impl_.partition_expr_version_ == nullptr) { + auto* p = CreateMaybeMessage<::greptime::v1::PartitionExprVersion>(GetArenaForAllocation()); + _impl_.partition_expr_version_ = p; } - return _impl_.partition_rule_version_; + return _impl_.partition_expr_version_; } -inline ::greptime::v1::PartitionRuleVersion* InsertRequest::mutable_partition_rule_version() { - ::greptime::v1::PartitionRuleVersion* _msg = _internal_mutable_partition_rule_version(); - // @@protoc_insertion_point(field_mutable:greptime.v1.region.InsertRequest.partition_rule_version) +inline ::greptime::v1::PartitionExprVersion* InsertRequest::mutable_partition_expr_version() { + ::greptime::v1::PartitionExprVersion* _msg = _internal_mutable_partition_expr_version(); + // @@protoc_insertion_point(field_mutable:greptime.v1.region.InsertRequest.partition_expr_version) return _msg; } -inline void InsertRequest::set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version) { +inline void InsertRequest::set_allocated_partition_expr_version(::greptime::v1::PartitionExprVersion* partition_expr_version) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_rule_version_); + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_expr_version_); } - if (partition_rule_version) { + if (partition_expr_version) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(partition_rule_version)); + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(partition_expr_version)); if (message_arena != submessage_arena) { - partition_rule_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, partition_rule_version, submessage_arena); + partition_expr_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, partition_expr_version, submessage_arena); } } else { } - _impl_.partition_rule_version_ = partition_rule_version; - // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.InsertRequest.partition_rule_version) + _impl_.partition_expr_version_ = partition_expr_version; + // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.InsertRequest.partition_expr_version) } // ------------------------------------------------------------------- @@ -9392,39 +9392,39 @@ inline void DeleteRequest::set_allocated_rows(::greptime::v1::Rows* rows) { // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.DeleteRequest.rows) } -// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; -inline bool DeleteRequest::_internal_has_partition_rule_version() const { - return this != internal_default_instance() && _impl_.partition_rule_version_ != nullptr; +// .greptime.v1.PartitionExprVersion partition_expr_version = 3; +inline bool DeleteRequest::_internal_has_partition_expr_version() const { + return this != internal_default_instance() && _impl_.partition_expr_version_ != nullptr; } -inline bool DeleteRequest::has_partition_rule_version() const { - return _internal_has_partition_rule_version(); +inline bool DeleteRequest::has_partition_expr_version() const { + return _internal_has_partition_expr_version(); } -inline const ::greptime::v1::PartitionRuleVersion& DeleteRequest::_internal_partition_rule_version() const { - const ::greptime::v1::PartitionRuleVersion* p = _impl_.partition_rule_version_; - return p != nullptr ? *p : reinterpret_cast( - ::greptime::v1::_PartitionRuleVersion_default_instance_); +inline const ::greptime::v1::PartitionExprVersion& DeleteRequest::_internal_partition_expr_version() const { + const ::greptime::v1::PartitionExprVersion* p = _impl_.partition_expr_version_; + return p != nullptr ? *p : reinterpret_cast( + ::greptime::v1::_PartitionExprVersion_default_instance_); } -inline const ::greptime::v1::PartitionRuleVersion& DeleteRequest::partition_rule_version() const { - // @@protoc_insertion_point(field_get:greptime.v1.region.DeleteRequest.partition_rule_version) - return _internal_partition_rule_version(); +inline const ::greptime::v1::PartitionExprVersion& DeleteRequest::partition_expr_version() const { + // @@protoc_insertion_point(field_get:greptime.v1.region.DeleteRequest.partition_expr_version) + return _internal_partition_expr_version(); } -inline void DeleteRequest::unsafe_arena_set_allocated_partition_rule_version( - ::greptime::v1::PartitionRuleVersion* partition_rule_version) { +inline void DeleteRequest::unsafe_arena_set_allocated_partition_expr_version( + ::greptime::v1::PartitionExprVersion* partition_expr_version) { if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_rule_version_); + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_expr_version_); } - _impl_.partition_rule_version_ = partition_rule_version; - if (partition_rule_version) { + _impl_.partition_expr_version_ = partition_expr_version; + if (partition_expr_version) { } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.DeleteRequest.partition_rule_version) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.DeleteRequest.partition_expr_version) } -inline ::greptime::v1::PartitionRuleVersion* DeleteRequest::release_partition_rule_version() { +inline ::greptime::v1::PartitionExprVersion* DeleteRequest::release_partition_expr_version() { - ::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; - _impl_.partition_rule_version_ = nullptr; + ::greptime::v1::PartitionExprVersion* temp = _impl_.partition_expr_version_; + _impl_.partition_expr_version_ = nullptr; #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); @@ -9436,45 +9436,45 @@ inline ::greptime::v1::PartitionRuleVersion* DeleteRequest::release_partition_ru #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::greptime::v1::PartitionRuleVersion* DeleteRequest::unsafe_arena_release_partition_rule_version() { - // @@protoc_insertion_point(field_release:greptime.v1.region.DeleteRequest.partition_rule_version) +inline ::greptime::v1::PartitionExprVersion* DeleteRequest::unsafe_arena_release_partition_expr_version() { + // @@protoc_insertion_point(field_release:greptime.v1.region.DeleteRequest.partition_expr_version) - ::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; - _impl_.partition_rule_version_ = nullptr; + ::greptime::v1::PartitionExprVersion* temp = _impl_.partition_expr_version_; + _impl_.partition_expr_version_ = nullptr; return temp; } -inline ::greptime::v1::PartitionRuleVersion* DeleteRequest::_internal_mutable_partition_rule_version() { +inline ::greptime::v1::PartitionExprVersion* DeleteRequest::_internal_mutable_partition_expr_version() { - if (_impl_.partition_rule_version_ == nullptr) { - auto* p = CreateMaybeMessage<::greptime::v1::PartitionRuleVersion>(GetArenaForAllocation()); - _impl_.partition_rule_version_ = p; + if (_impl_.partition_expr_version_ == nullptr) { + auto* p = CreateMaybeMessage<::greptime::v1::PartitionExprVersion>(GetArenaForAllocation()); + _impl_.partition_expr_version_ = p; } - return _impl_.partition_rule_version_; + return _impl_.partition_expr_version_; } -inline ::greptime::v1::PartitionRuleVersion* DeleteRequest::mutable_partition_rule_version() { - ::greptime::v1::PartitionRuleVersion* _msg = _internal_mutable_partition_rule_version(); - // @@protoc_insertion_point(field_mutable:greptime.v1.region.DeleteRequest.partition_rule_version) +inline ::greptime::v1::PartitionExprVersion* DeleteRequest::mutable_partition_expr_version() { + ::greptime::v1::PartitionExprVersion* _msg = _internal_mutable_partition_expr_version(); + // @@protoc_insertion_point(field_mutable:greptime.v1.region.DeleteRequest.partition_expr_version) return _msg; } -inline void DeleteRequest::set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version) { +inline void DeleteRequest::set_allocated_partition_expr_version(::greptime::v1::PartitionExprVersion* partition_expr_version) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_rule_version_); + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_expr_version_); } - if (partition_rule_version) { + if (partition_expr_version) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(partition_rule_version)); + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(partition_expr_version)); if (message_arena != submessage_arena) { - partition_rule_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, partition_rule_version, submessage_arena); + partition_expr_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, partition_expr_version, submessage_arena); } } else { } - _impl_.partition_rule_version_ = partition_rule_version; - // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.DeleteRequest.partition_rule_version) + _impl_.partition_expr_version_ = partition_expr_version; + // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.DeleteRequest.partition_expr_version) } // ------------------------------------------------------------------- @@ -12226,39 +12226,39 @@ inline ::greptime::v1::ArrowIpc* BulkInsertRequest::mutable_arrow_ipc() { return _msg; } -// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; -inline bool BulkInsertRequest::_internal_has_partition_rule_version() const { - return this != internal_default_instance() && _impl_.partition_rule_version_ != nullptr; +// .greptime.v1.PartitionExprVersion partition_expr_version = 3; +inline bool BulkInsertRequest::_internal_has_partition_expr_version() const { + return this != internal_default_instance() && _impl_.partition_expr_version_ != nullptr; } -inline bool BulkInsertRequest::has_partition_rule_version() const { - return _internal_has_partition_rule_version(); +inline bool BulkInsertRequest::has_partition_expr_version() const { + return _internal_has_partition_expr_version(); } -inline const ::greptime::v1::PartitionRuleVersion& BulkInsertRequest::_internal_partition_rule_version() const { - const ::greptime::v1::PartitionRuleVersion* p = _impl_.partition_rule_version_; - return p != nullptr ? *p : reinterpret_cast( - ::greptime::v1::_PartitionRuleVersion_default_instance_); +inline const ::greptime::v1::PartitionExprVersion& BulkInsertRequest::_internal_partition_expr_version() const { + const ::greptime::v1::PartitionExprVersion* p = _impl_.partition_expr_version_; + return p != nullptr ? *p : reinterpret_cast( + ::greptime::v1::_PartitionExprVersion_default_instance_); } -inline const ::greptime::v1::PartitionRuleVersion& BulkInsertRequest::partition_rule_version() const { - // @@protoc_insertion_point(field_get:greptime.v1.region.BulkInsertRequest.partition_rule_version) - return _internal_partition_rule_version(); +inline const ::greptime::v1::PartitionExprVersion& BulkInsertRequest::partition_expr_version() const { + // @@protoc_insertion_point(field_get:greptime.v1.region.BulkInsertRequest.partition_expr_version) + return _internal_partition_expr_version(); } -inline void BulkInsertRequest::unsafe_arena_set_allocated_partition_rule_version( - ::greptime::v1::PartitionRuleVersion* partition_rule_version) { +inline void BulkInsertRequest::unsafe_arena_set_allocated_partition_expr_version( + ::greptime::v1::PartitionExprVersion* partition_expr_version) { if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_rule_version_); + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_expr_version_); } - _impl_.partition_rule_version_ = partition_rule_version; - if (partition_rule_version) { + _impl_.partition_expr_version_ = partition_expr_version; + if (partition_expr_version) { } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.BulkInsertRequest.partition_rule_version) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.BulkInsertRequest.partition_expr_version) } -inline ::greptime::v1::PartitionRuleVersion* BulkInsertRequest::release_partition_rule_version() { +inline ::greptime::v1::PartitionExprVersion* BulkInsertRequest::release_partition_expr_version() { - ::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; - _impl_.partition_rule_version_ = nullptr; + ::greptime::v1::PartitionExprVersion* temp = _impl_.partition_expr_version_; + _impl_.partition_expr_version_ = nullptr; #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); @@ -12270,45 +12270,45 @@ inline ::greptime::v1::PartitionRuleVersion* BulkInsertRequest::release_partitio #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::greptime::v1::PartitionRuleVersion* BulkInsertRequest::unsafe_arena_release_partition_rule_version() { - // @@protoc_insertion_point(field_release:greptime.v1.region.BulkInsertRequest.partition_rule_version) +inline ::greptime::v1::PartitionExprVersion* BulkInsertRequest::unsafe_arena_release_partition_expr_version() { + // @@protoc_insertion_point(field_release:greptime.v1.region.BulkInsertRequest.partition_expr_version) - ::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; - _impl_.partition_rule_version_ = nullptr; + ::greptime::v1::PartitionExprVersion* temp = _impl_.partition_expr_version_; + _impl_.partition_expr_version_ = nullptr; return temp; } -inline ::greptime::v1::PartitionRuleVersion* BulkInsertRequest::_internal_mutable_partition_rule_version() { +inline ::greptime::v1::PartitionExprVersion* BulkInsertRequest::_internal_mutable_partition_expr_version() { - if (_impl_.partition_rule_version_ == nullptr) { - auto* p = CreateMaybeMessage<::greptime::v1::PartitionRuleVersion>(GetArenaForAllocation()); - _impl_.partition_rule_version_ = p; + if (_impl_.partition_expr_version_ == nullptr) { + auto* p = CreateMaybeMessage<::greptime::v1::PartitionExprVersion>(GetArenaForAllocation()); + _impl_.partition_expr_version_ = p; } - return _impl_.partition_rule_version_; + return _impl_.partition_expr_version_; } -inline ::greptime::v1::PartitionRuleVersion* BulkInsertRequest::mutable_partition_rule_version() { - ::greptime::v1::PartitionRuleVersion* _msg = _internal_mutable_partition_rule_version(); - // @@protoc_insertion_point(field_mutable:greptime.v1.region.BulkInsertRequest.partition_rule_version) +inline ::greptime::v1::PartitionExprVersion* BulkInsertRequest::mutable_partition_expr_version() { + ::greptime::v1::PartitionExprVersion* _msg = _internal_mutable_partition_expr_version(); + // @@protoc_insertion_point(field_mutable:greptime.v1.region.BulkInsertRequest.partition_expr_version) return _msg; } -inline void BulkInsertRequest::set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version) { +inline void BulkInsertRequest::set_allocated_partition_expr_version(::greptime::v1::PartitionExprVersion* partition_expr_version) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_rule_version_); + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_expr_version_); } - if (partition_rule_version) { + if (partition_expr_version) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(partition_rule_version)); + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(partition_expr_version)); if (message_arena != submessage_arena) { - partition_rule_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, partition_rule_version, submessage_arena); + partition_expr_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, partition_expr_version, submessage_arena); } } else { } - _impl_.partition_rule_version_ = partition_rule_version; - // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.BulkInsertRequest.partition_rule_version) + _impl_.partition_expr_version_ = partition_expr_version; + // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.BulkInsertRequest.partition_expr_version) } inline bool BulkInsertRequest::has_body() const { diff --git a/go/greptime/v1/common.pb.go b/go/greptime/v1/common.pb.go index 3233706..10ac573 100644 --- a/go/greptime/v1/common.pb.go +++ b/go/greptime/v1/common.pb.go @@ -2116,7 +2116,7 @@ func (x *ArrowIpc) GetPayload() []byte { return nil } -type PartitionRuleVersion struct { +type PartitionExprVersion struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -2124,8 +2124,8 @@ type PartitionRuleVersion struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` } -func (x *PartitionRuleVersion) Reset() { - *x = PartitionRuleVersion{} +func (x *PartitionExprVersion) Reset() { + *x = PartitionExprVersion{} if protoimpl.UnsafeEnabled { mi := &file_greptime_v1_common_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2133,13 +2133,13 @@ func (x *PartitionRuleVersion) Reset() { } } -func (x *PartitionRuleVersion) String() string { +func (x *PartitionExprVersion) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PartitionRuleVersion) ProtoMessage() {} +func (*PartitionExprVersion) ProtoMessage() {} -func (x *PartitionRuleVersion) ProtoReflect() protoreflect.Message { +func (x *PartitionExprVersion) ProtoReflect() protoreflect.Message { mi := &file_greptime_v1_common_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2151,12 +2151,12 @@ func (x *PartitionRuleVersion) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PartitionRuleVersion.ProtoReflect.Descriptor instead. -func (*PartitionRuleVersion) Descriptor() ([]byte, []int) { +// Deprecated: Use PartitionExprVersion.ProtoReflect.Descriptor instead. +func (*PartitionExprVersion) Descriptor() ([]byte, []int) { return file_greptime_v1_common_proto_rawDescGZIP(), []int{29} } -func (x *PartitionRuleVersion) GetValue() uint64 { +func (x *PartitionExprVersion) GetValue() uint64 { if x != nil { return x.Value } @@ -2421,7 +2421,7 @@ var file_greptime_v1_common_proto_rawDesc = []byte{ 0x64, 0x61, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x2c, 0x0a, 0x14, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, + 0x6e, 0x45, 0x78, 0x70, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2a, 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, @@ -2523,7 +2523,7 @@ var file_greptime_v1_common_proto_goTypes = []interface{}{ (*DictionaryTypeExtension)(nil), // 30: greptime.v1.DictionaryTypeExtension (*ColumnOptions)(nil), // 31: greptime.v1.ColumnOptions (*ArrowIpc)(nil), // 32: greptime.v1.ArrowIpc - (*PartitionRuleVersion)(nil), // 33: greptime.v1.PartitionRuleVersion + (*PartitionExprVersion)(nil), // 33: greptime.v1.PartitionExprVersion nil, // 34: greptime.v1.QueryContext.ExtensionsEntry nil, // 35: greptime.v1.SnapshotSequences.SstMinSequencesEntry nil, // 36: greptime.v1.SnapshotSequences.SnapshotSeqsEntry @@ -2926,7 +2926,7 @@ func file_greptime_v1_common_proto_init() { } } file_greptime_v1_common_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PartitionRuleVersion); i { + switch v := v.(*PartitionExprVersion); i { case 0: return &v.state case 1: diff --git a/go/greptime/v1/flow/server.pb.go b/go/greptime/v1/flow/server.pb.go index 17daf25..2f8938b 100644 --- a/go/greptime/v1/flow/server.pb.go +++ b/go/greptime/v1/flow/server.pb.go @@ -253,7 +253,7 @@ type InsertRequest struct { RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` Rows *v1.Rows `protobuf:"bytes,2,opt,name=rows,proto3" json:"rows,omitempty"` - PartitionRuleVersion *v1.PartitionRuleVersion `protobuf:"bytes,3,opt,name=partition_rule_version,json=partitionRuleVersion,proto3" json:"partition_rule_version,omitempty"` + PartitionExprVersion *v1.PartitionExprVersion `protobuf:"bytes,3,opt,name=partition_expr_version,json=partitionExprVersion,proto3" json:"partition_expr_version,omitempty"` } func (x *InsertRequest) Reset() { @@ -302,9 +302,9 @@ func (x *InsertRequest) GetRows() *v1.Rows { return nil } -func (x *InsertRequest) GetPartitionRuleVersion() *v1.PartitionRuleVersion { +func (x *InsertRequest) GetPartitionExprVersion() *v1.PartitionExprVersion { if x != nil { - return x.PartitionRuleVersion + return x.PartitionExprVersion } return nil } @@ -751,11 +751,11 @@ var file_greptime_v1_flow_server_proto_rawDesc = []byte{ 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x57, 0x0a, 0x16, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x5f, 0x65, 0x78, 0x70, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x56, + 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xf7, 0x01, 0x0a, + 0x6e, 0x45, 0x78, 0x70, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xf7, 0x01, 0x0a, 0x0b, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x40, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e, @@ -890,7 +890,7 @@ var file_greptime_v1_flow_server_proto_goTypes = []interface{}{ nil, // 12: greptime.v1.flow.CreateRequest.FlowOptionsEntry (*v1.QueryContext)(nil), // 13: greptime.v1.QueryContext (*v1.Rows)(nil), // 14: greptime.v1.Rows - (*v1.PartitionRuleVersion)(nil), // 15: greptime.v1.PartitionRuleVersion + (*v1.PartitionExprVersion)(nil), // 15: greptime.v1.PartitionExprVersion (*v1.ResponseHeader)(nil), // 16: greptime.v1.ResponseHeader (*v1.FlowId)(nil), // 17: greptime.v1.FlowId (*v1.TableId)(nil), // 18: greptime.v1.TableId @@ -904,7 +904,7 @@ var file_greptime_v1_flow_server_proto_depIdxs = []int32{ 13, // 2: greptime.v1.flow.FlowRequestHeader.query_context:type_name -> greptime.v1.QueryContext 4, // 3: greptime.v1.flow.InsertRequests.requests:type_name -> greptime.v1.flow.InsertRequest 14, // 4: greptime.v1.flow.InsertRequest.rows:type_name -> greptime.v1.Rows - 15, // 5: greptime.v1.flow.InsertRequest.partition_rule_version:type_name -> greptime.v1.PartitionRuleVersion + 15, // 5: greptime.v1.flow.InsertRequest.partition_expr_version:type_name -> greptime.v1.PartitionExprVersion 2, // 6: greptime.v1.flow.FlowRequest.header:type_name -> greptime.v1.flow.FlowRequestHeader 7, // 7: greptime.v1.flow.FlowRequest.create:type_name -> greptime.v1.flow.CreateRequest 8, // 8: greptime.v1.flow.FlowRequest.drop:type_name -> greptime.v1.flow.DropRequest diff --git a/go/greptime/v1/region/server.pb.go b/go/greptime/v1/region/server.pb.go index cad2b40..00fbebb 100644 --- a/go/greptime/v1/region/server.pb.go +++ b/go/greptime/v1/region/server.pb.go @@ -594,7 +594,7 @@ type InsertRequest struct { RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` Rows *v1.Rows `protobuf:"bytes,2,opt,name=rows,proto3" json:"rows,omitempty"` - PartitionRuleVersion *v1.PartitionRuleVersion `protobuf:"bytes,3,opt,name=partition_rule_version,json=partitionRuleVersion,proto3" json:"partition_rule_version,omitempty"` + PartitionExprVersion *v1.PartitionExprVersion `protobuf:"bytes,3,opt,name=partition_expr_version,json=partitionExprVersion,proto3" json:"partition_expr_version,omitempty"` } func (x *InsertRequest) Reset() { @@ -643,9 +643,9 @@ func (x *InsertRequest) GetRows() *v1.Rows { return nil } -func (x *InsertRequest) GetPartitionRuleVersion() *v1.PartitionRuleVersion { +func (x *InsertRequest) GetPartitionExprVersion() *v1.PartitionExprVersion { if x != nil { - return x.PartitionRuleVersion + return x.PartitionExprVersion } return nil } @@ -657,7 +657,7 @@ type DeleteRequest struct { RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` Rows *v1.Rows `protobuf:"bytes,2,opt,name=rows,proto3" json:"rows,omitempty"` - PartitionRuleVersion *v1.PartitionRuleVersion `protobuf:"bytes,3,opt,name=partition_rule_version,json=partitionRuleVersion,proto3" json:"partition_rule_version,omitempty"` + PartitionExprVersion *v1.PartitionExprVersion `protobuf:"bytes,3,opt,name=partition_expr_version,json=partitionExprVersion,proto3" json:"partition_expr_version,omitempty"` } func (x *DeleteRequest) Reset() { @@ -706,9 +706,9 @@ func (x *DeleteRequest) GetRows() *v1.Rows { return nil } -func (x *DeleteRequest) GetPartitionRuleVersion() *v1.PartitionRuleVersion { +func (x *DeleteRequest) GetPartitionExprVersion() *v1.PartitionExprVersion { if x != nil { - return x.PartitionRuleVersion + return x.PartitionExprVersion } return nil } @@ -2133,7 +2133,7 @@ type BulkInsertRequest struct { // // *BulkInsertRequest_ArrowIpc Body isBulkInsertRequest_Body `protobuf_oneof:"body"` - PartitionRuleVersion *v1.PartitionRuleVersion `protobuf:"bytes,3,opt,name=partition_rule_version,json=partitionRuleVersion,proto3" json:"partition_rule_version,omitempty"` + PartitionExprVersion *v1.PartitionExprVersion `protobuf:"bytes,3,opt,name=partition_expr_version,json=partitionExprVersion,proto3" json:"partition_expr_version,omitempty"` } func (x *BulkInsertRequest) Reset() { @@ -2189,9 +2189,9 @@ func (x *BulkInsertRequest) GetArrowIpc() *v1.ArrowIpc { return nil } -func (x *BulkInsertRequest) GetPartitionRuleVersion() *v1.PartitionRuleVersion { +func (x *BulkInsertRequest) GetPartitionExprVersion() *v1.PartitionExprVersion { if x != nil { - return x.PartitionRuleVersion + return x.PartitionExprVersion } return nil } @@ -2763,22 +2763,22 @@ var file_greptime_v1_region_server_proto_rawDesc = []byte{ 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x57, 0x0a, 0x16, 0x70, 0x61, - 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x76, 0x65, 0x72, + 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x70, - 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, + 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x70, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xac, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x57, 0x0a, 0x16, 0x70, 0x61, 0x72, - 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, + 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x70, 0x61, - 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6e, 0x45, 0x78, 0x70, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x70, 0x61, + 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x80, 0x01, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, @@ -2979,11 +2979,11 @@ var file_greptime_v1_region_server_proto_rawDesc = []byte{ 0x70, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x72, 0x6f, 0x77, 0x49, 0x70, 0x63, 0x48, 0x00, 0x52, 0x08, 0x61, 0x72, 0x72, 0x6f, 0x77, 0x49, 0x70, 0x63, 0x12, 0x57, 0x0a, 0x16, 0x70, - 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x76, 0x65, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x14, - 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, + 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x14, + 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x46, 0x0a, 0x10, 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, @@ -3104,7 +3104,7 @@ var file_greptime_v1_region_server_proto_goTypes = []interface{}{ (*v1.QueryContext)(nil), // 40: greptime.v1.QueryContext (*v1.ResponseHeader)(nil), // 41: greptime.v1.ResponseHeader (*v1.Rows)(nil), // 42: greptime.v1.Rows - (*v1.PartitionRuleVersion)(nil), // 43: greptime.v1.PartitionRuleVersion + (*v1.PartitionExprVersion)(nil), // 43: greptime.v1.PartitionExprVersion (*meta.Partition)(nil), // 44: greptime.v1.meta.Partition (*v1.ModifyColumnTypes)(nil), // 45: greptime.v1.ModifyColumnTypes (*v1.SetTableOptions)(nil), // 46: greptime.v1.SetTableOptions @@ -3147,9 +3147,9 @@ var file_greptime_v1_region_server_proto_depIdxs = []int32{ 5, // 23: greptime.v1.region.InsertRequests.requests:type_name -> greptime.v1.region.InsertRequest 6, // 24: greptime.v1.region.DeleteRequests.requests:type_name -> greptime.v1.region.DeleteRequest 42, // 25: greptime.v1.region.InsertRequest.rows:type_name -> greptime.v1.Rows - 43, // 26: greptime.v1.region.InsertRequest.partition_rule_version:type_name -> greptime.v1.PartitionRuleVersion + 43, // 26: greptime.v1.region.InsertRequest.partition_expr_version:type_name -> greptime.v1.PartitionExprVersion 42, // 27: greptime.v1.region.DeleteRequest.rows:type_name -> greptime.v1.Rows - 43, // 28: greptime.v1.region.DeleteRequest.partition_rule_version:type_name -> greptime.v1.PartitionRuleVersion + 43, // 28: greptime.v1.region.DeleteRequest.partition_expr_version:type_name -> greptime.v1.PartitionExprVersion 0, // 29: greptime.v1.region.QueryRequest.header:type_name -> greptime.v1.region.RegionRequestHeader 9, // 30: greptime.v1.region.CreateRequests.requests:type_name -> greptime.v1.region.CreateRequest 27, // 31: greptime.v1.region.CreateRequest.column_defs:type_name -> greptime.v1.region.RegionColumnDef @@ -3181,7 +3181,7 @@ var file_greptime_v1_region_server_proto_depIdxs = []int32{ 55, // 57: greptime.v1.region.TruncateRequest.time_ranges:type_name -> greptime.v1.TimeRanges 56, // 58: greptime.v1.region.RegionColumnDef.column_def:type_name -> greptime.v1.ColumnDef 57, // 59: greptime.v1.region.BulkInsertRequest.arrow_ipc:type_name -> greptime.v1.ArrowIpc - 43, // 60: greptime.v1.region.BulkInsertRequest.partition_rule_version:type_name -> greptime.v1.PartitionRuleVersion + 43, // 60: greptime.v1.region.BulkInsertRequest.partition_expr_version:type_name -> greptime.v1.PartitionExprVersion 29, // 61: greptime.v1.region.SyncRequest.mito_manifest_info:type_name -> greptime.v1.region.MitoManifestInfo 30, // 62: greptime.v1.region.SyncRequest.metric_manifest_info:type_name -> greptime.v1.region.MetricManifestInfo 1, // 63: greptime.v1.region.Region.Handle:input_type -> greptime.v1.region.RegionRequest diff --git a/java/src/main/java/io/greptime/v1/Common.java b/java/src/main/java/io/greptime/v1/Common.java index bbefee8..f54edf2 100644 --- a/java/src/main/java/io/greptime/v1/Common.java +++ b/java/src/main/java/io/greptime/v1/Common.java @@ -24936,8 +24936,8 @@ java.lang.String defaultValue); } - public interface PartitionRuleVersionOrBuilder extends - // @@protoc_insertion_point(interface_extends:greptime.v1.PartitionRuleVersion) + public interface PartitionExprVersionOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.PartitionExprVersion) com.google.protobuf.MessageOrBuilder { /** @@ -24947,25 +24947,25 @@ java.lang.String defaultValue); long getValue(); } /** - * Protobuf type {@code greptime.v1.PartitionRuleVersion} + * Protobuf type {@code greptime.v1.PartitionExprVersion} */ - public static final class PartitionRuleVersion extends + public static final class PartitionExprVersion extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:greptime.v1.PartitionRuleVersion) - PartitionRuleVersionOrBuilder { + // @@protoc_insertion_point(message_implements:greptime.v1.PartitionExprVersion) + PartitionExprVersionOrBuilder { private static final long serialVersionUID = 0L; - // Use PartitionRuleVersion.newBuilder() to construct. - private PartitionRuleVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use PartitionExprVersion.newBuilder() to construct. + private PartitionExprVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PartitionRuleVersion() { + private PartitionExprVersion() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new PartitionRuleVersion(); + return new PartitionExprVersion(); } @java.lang.Override @@ -24973,7 +24973,7 @@ java.lang.String defaultValue); getUnknownFields() { return this.unknownFields; } - private PartitionRuleVersion( + private PartitionExprVersion( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -25019,15 +25019,15 @@ java.lang.String defaultValue); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.greptime.v1.Common.internal_static_greptime_v1_PartitionRuleVersion_descriptor; + return io.greptime.v1.Common.internal_static_greptime_v1_PartitionExprVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.greptime.v1.Common.internal_static_greptime_v1_PartitionRuleVersion_fieldAccessorTable + return io.greptime.v1.Common.internal_static_greptime_v1_PartitionExprVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.greptime.v1.Common.PartitionRuleVersion.class, io.greptime.v1.Common.PartitionRuleVersion.Builder.class); + io.greptime.v1.Common.PartitionExprVersion.class, io.greptime.v1.Common.PartitionExprVersion.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; @@ -25081,10 +25081,10 @@ java.lang.String defaultValue); if (obj == this) { return true; } - if (!(obj instanceof io.greptime.v1.Common.PartitionRuleVersion)) { + if (!(obj instanceof io.greptime.v1.Common.PartitionExprVersion)) { return super.equals(obj); } - io.greptime.v1.Common.PartitionRuleVersion other = (io.greptime.v1.Common.PartitionRuleVersion) obj; + io.greptime.v1.Common.PartitionExprVersion other = (io.greptime.v1.Common.PartitionExprVersion) obj; if (getValue() != other.getValue()) return false; @@ -25107,69 +25107,69 @@ java.lang.String defaultValue); return hash; } - public static io.greptime.v1.Common.PartitionRuleVersion parseFrom( + public static io.greptime.v1.Common.PartitionExprVersion parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.greptime.v1.Common.PartitionRuleVersion parseFrom( + public static io.greptime.v1.Common.PartitionExprVersion parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.greptime.v1.Common.PartitionRuleVersion parseFrom( + public static io.greptime.v1.Common.PartitionExprVersion parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.greptime.v1.Common.PartitionRuleVersion parseFrom( + public static io.greptime.v1.Common.PartitionExprVersion parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.greptime.v1.Common.PartitionRuleVersion parseFrom(byte[] data) + public static io.greptime.v1.Common.PartitionExprVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.greptime.v1.Common.PartitionRuleVersion parseFrom( + public static io.greptime.v1.Common.PartitionExprVersion parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.greptime.v1.Common.PartitionRuleVersion parseFrom(java.io.InputStream input) + public static io.greptime.v1.Common.PartitionExprVersion parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.greptime.v1.Common.PartitionRuleVersion parseFrom( + public static io.greptime.v1.Common.PartitionExprVersion parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.greptime.v1.Common.PartitionRuleVersion parseDelimitedFrom(java.io.InputStream input) + public static io.greptime.v1.Common.PartitionExprVersion parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.greptime.v1.Common.PartitionRuleVersion parseDelimitedFrom( + public static io.greptime.v1.Common.PartitionExprVersion parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.greptime.v1.Common.PartitionRuleVersion parseFrom( + public static io.greptime.v1.Common.PartitionExprVersion parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.greptime.v1.Common.PartitionRuleVersion parseFrom( + public static io.greptime.v1.Common.PartitionExprVersion parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -25182,7 +25182,7 @@ java.lang.String defaultValue); public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.greptime.v1.Common.PartitionRuleVersion prototype) { + public static Builder newBuilder(io.greptime.v1.Common.PartitionExprVersion prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -25198,26 +25198,26 @@ java.lang.String defaultValue); return builder; } /** - * Protobuf type {@code greptime.v1.PartitionRuleVersion} + * Protobuf type {@code greptime.v1.PartitionExprVersion} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:greptime.v1.PartitionRuleVersion) - io.greptime.v1.Common.PartitionRuleVersionOrBuilder { + // @@protoc_insertion_point(builder_implements:greptime.v1.PartitionExprVersion) + io.greptime.v1.Common.PartitionExprVersionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.greptime.v1.Common.internal_static_greptime_v1_PartitionRuleVersion_descriptor; + return io.greptime.v1.Common.internal_static_greptime_v1_PartitionExprVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.greptime.v1.Common.internal_static_greptime_v1_PartitionRuleVersion_fieldAccessorTable + return io.greptime.v1.Common.internal_static_greptime_v1_PartitionExprVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.greptime.v1.Common.PartitionRuleVersion.class, io.greptime.v1.Common.PartitionRuleVersion.Builder.class); + io.greptime.v1.Common.PartitionExprVersion.class, io.greptime.v1.Common.PartitionExprVersion.Builder.class); } - // Construct using io.greptime.v1.Common.PartitionRuleVersion.newBuilder() + // Construct using io.greptime.v1.Common.PartitionExprVersion.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -25243,17 +25243,17 @@ java.lang.String defaultValue); @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.greptime.v1.Common.internal_static_greptime_v1_PartitionRuleVersion_descriptor; + return io.greptime.v1.Common.internal_static_greptime_v1_PartitionExprVersion_descriptor; } @java.lang.Override - public io.greptime.v1.Common.PartitionRuleVersion getDefaultInstanceForType() { - return io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance(); + public io.greptime.v1.Common.PartitionExprVersion getDefaultInstanceForType() { + return io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance(); } @java.lang.Override - public io.greptime.v1.Common.PartitionRuleVersion build() { - io.greptime.v1.Common.PartitionRuleVersion result = buildPartial(); + public io.greptime.v1.Common.PartitionExprVersion build() { + io.greptime.v1.Common.PartitionExprVersion result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -25261,8 +25261,8 @@ java.lang.String defaultValue); } @java.lang.Override - public io.greptime.v1.Common.PartitionRuleVersion buildPartial() { - io.greptime.v1.Common.PartitionRuleVersion result = new io.greptime.v1.Common.PartitionRuleVersion(this); + public io.greptime.v1.Common.PartitionExprVersion buildPartial() { + io.greptime.v1.Common.PartitionExprVersion result = new io.greptime.v1.Common.PartitionExprVersion(this); result.value_ = value_; onBuilt(); return result; @@ -25302,16 +25302,16 @@ java.lang.String defaultValue); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.greptime.v1.Common.PartitionRuleVersion) { - return mergeFrom((io.greptime.v1.Common.PartitionRuleVersion)other); + if (other instanceof io.greptime.v1.Common.PartitionExprVersion) { + return mergeFrom((io.greptime.v1.Common.PartitionExprVersion)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.greptime.v1.Common.PartitionRuleVersion other) { - if (other == io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance()) return this; + public Builder mergeFrom(io.greptime.v1.Common.PartitionExprVersion other) { + if (other == io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance()) return this; if (other.getValue() != 0L) { setValue(other.getValue()); } @@ -25330,11 +25330,11 @@ java.lang.String defaultValue); com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.greptime.v1.Common.PartitionRuleVersion parsedMessage = null; + io.greptime.v1.Common.PartitionExprVersion parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.greptime.v1.Common.PartitionRuleVersion) e.getUnfinishedMessage(); + parsedMessage = (io.greptime.v1.Common.PartitionExprVersion) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -25387,41 +25387,41 @@ java.lang.String defaultValue); } - // @@protoc_insertion_point(builder_scope:greptime.v1.PartitionRuleVersion) + // @@protoc_insertion_point(builder_scope:greptime.v1.PartitionExprVersion) } - // @@protoc_insertion_point(class_scope:greptime.v1.PartitionRuleVersion) - private static final io.greptime.v1.Common.PartitionRuleVersion DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:greptime.v1.PartitionExprVersion) + private static final io.greptime.v1.Common.PartitionExprVersion DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.greptime.v1.Common.PartitionRuleVersion(); + DEFAULT_INSTANCE = new io.greptime.v1.Common.PartitionExprVersion(); } - public static io.greptime.v1.Common.PartitionRuleVersion getDefaultInstance() { + public static io.greptime.v1.Common.PartitionExprVersion getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public PartitionRuleVersion parsePartialFrom( + public PartitionExprVersion parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PartitionRuleVersion(input, extensionRegistry); + return new PartitionExprVersion(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.greptime.v1.Common.PartitionRuleVersion getDefaultInstanceForType() { + public io.greptime.v1.Common.PartitionExprVersion getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -25598,10 +25598,10 @@ java.lang.String defaultValue); com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_greptime_v1_ArrowIpc_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_PartitionRuleVersion_descriptor; + internal_static_greptime_v1_PartitionExprVersion_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_PartitionRuleVersion_fieldAccessorTable; + internal_static_greptime_v1_PartitionExprVersion_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -25692,7 +25692,7 @@ java.lang.String defaultValue); ".ColumnOptions.OptionsEntry\032.\n\014OptionsEn" + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"@\n\010A" + "rrowIpc\022\016\n\006schema\030\001 \001(\014\022\023\n\013data_header\030\002" + - " \001(\014\022\017\n\007payload\030\003 \001(\014\"%\n\024PartitionRuleVe" + + " \001(\014\022\017\n\007payload\030\003 \001(\014\"%\n\024PartitionExprVe" + "rsion\022\r\n\005value\030\001 \001(\004*1\n\014SemanticType\022\007\n\003" + "TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMESTAMP\020\002*\222\004\n\016Colu" + "mnDataType\022\013\n\007BOOLEAN\020\000\022\010\n\004INT8\020\001\022\t\n\005INT" + @@ -25923,11 +25923,11 @@ java.lang.String defaultValue); com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_ArrowIpc_descriptor, new java.lang.String[] { "Schema", "DataHeader", "Payload", }); - internal_static_greptime_v1_PartitionRuleVersion_descriptor = + internal_static_greptime_v1_PartitionExprVersion_descriptor = getDescriptor().getMessageTypes().get(29); - internal_static_greptime_v1_PartitionRuleVersion_fieldAccessorTable = new + internal_static_greptime_v1_PartitionExprVersion_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_greptime_v1_PartitionRuleVersion_descriptor, + internal_static_greptime_v1_PartitionExprVersion_descriptor, new java.lang.String[] { "Value", }); } diff --git a/java/src/main/java/io/greptime/v1/flow/Server.java b/java/src/main/java/io/greptime/v1/flow/Server.java index 3f41496..0ca941a 100644 --- a/java/src/main/java/io/greptime/v1/flow/Server.java +++ b/java/src/main/java/io/greptime/v1/flow/Server.java @@ -3610,19 +3610,19 @@ java.lang.String defaultValue); io.greptime.v1.RowData.RowsOrBuilder getRowsOrBuilder(); /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return Whether the partitionRuleVersion field is set. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return Whether the partitionExprVersion field is set. */ - boolean hasPartitionRuleVersion(); + boolean hasPartitionExprVersion(); /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return The partitionRuleVersion. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return The partitionExprVersion. */ - io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion(); + io.greptime.v1.Common.PartitionExprVersion getPartitionExprVersion(); /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder(); + io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder(); } /** * Protobuf type {@code greptime.v1.flow.InsertRequest} @@ -3688,14 +3688,14 @@ java.lang.String defaultValue); break; } case 26: { - io.greptime.v1.Common.PartitionRuleVersion.Builder subBuilder = null; - if (partitionRuleVersion_ != null) { - subBuilder = partitionRuleVersion_.toBuilder(); + io.greptime.v1.Common.PartitionExprVersion.Builder subBuilder = null; + if (partitionExprVersion_ != null) { + subBuilder = partitionExprVersion_.toBuilder(); } - partitionRuleVersion_ = input.readMessage(io.greptime.v1.Common.PartitionRuleVersion.parser(), extensionRegistry); + partitionExprVersion_ = input.readMessage(io.greptime.v1.Common.PartitionExprVersion.parser(), extensionRegistry); if (subBuilder != null) { - subBuilder.mergeFrom(partitionRuleVersion_); - partitionRuleVersion_ = subBuilder.buildPartial(); + subBuilder.mergeFrom(partitionExprVersion_); + partitionExprVersion_ = subBuilder.buildPartial(); } break; @@ -3771,30 +3771,30 @@ java.lang.String defaultValue); return getRows(); } - public static final int PARTITION_RULE_VERSION_FIELD_NUMBER = 3; - private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_; + public static final int PARTITION_EXPR_VERSION_FIELD_NUMBER = 3; + private io.greptime.v1.Common.PartitionExprVersion partitionExprVersion_; /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return Whether the partitionRuleVersion field is set. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return Whether the partitionExprVersion field is set. */ @java.lang.Override - public boolean hasPartitionRuleVersion() { - return partitionRuleVersion_ != null; + public boolean hasPartitionExprVersion() { + return partitionExprVersion_ != null; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return The partitionRuleVersion. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return The partitionExprVersion. */ @java.lang.Override - public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() { - return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + public io.greptime.v1.Common.PartitionExprVersion getPartitionExprVersion() { + return partitionExprVersion_ == null ? io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance() : partitionExprVersion_; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ @java.lang.Override - public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() { - return getPartitionRuleVersion(); + public io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder() { + return getPartitionExprVersion(); } private byte memoizedIsInitialized = -1; @@ -3817,8 +3817,8 @@ java.lang.String defaultValue); if (rows_ != null) { output.writeMessage(2, getRows()); } - if (partitionRuleVersion_ != null) { - output.writeMessage(3, getPartitionRuleVersion()); + if (partitionExprVersion_ != null) { + output.writeMessage(3, getPartitionExprVersion()); } unknownFields.writeTo(output); } @@ -3837,9 +3837,9 @@ java.lang.String defaultValue); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getRows()); } - if (partitionRuleVersion_ != null) { + if (partitionExprVersion_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPartitionRuleVersion()); + .computeMessageSize(3, getPartitionExprVersion()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3863,10 +3863,10 @@ java.lang.String defaultValue); if (!getRows() .equals(other.getRows())) return false; } - if (hasPartitionRuleVersion() != other.hasPartitionRuleVersion()) return false; - if (hasPartitionRuleVersion()) { - if (!getPartitionRuleVersion() - .equals(other.getPartitionRuleVersion())) return false; + if (hasPartitionExprVersion() != other.hasPartitionExprVersion()) return false; + if (hasPartitionExprVersion()) { + if (!getPartitionExprVersion() + .equals(other.getPartitionExprVersion())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3886,9 +3886,9 @@ java.lang.String defaultValue); hash = (37 * hash) + ROWS_FIELD_NUMBER; hash = (53 * hash) + getRows().hashCode(); } - if (hasPartitionRuleVersion()) { - hash = (37 * hash) + PARTITION_RULE_VERSION_FIELD_NUMBER; - hash = (53 * hash) + getPartitionRuleVersion().hashCode(); + if (hasPartitionExprVersion()) { + hash = (37 * hash) + PARTITION_EXPR_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getPartitionExprVersion().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; @@ -4031,11 +4031,11 @@ java.lang.String defaultValue); rows_ = null; rowsBuilder_ = null; } - if (partitionRuleVersionBuilder_ == null) { - partitionRuleVersion_ = null; + if (partitionExprVersionBuilder_ == null) { + partitionExprVersion_ = null; } else { - partitionRuleVersion_ = null; - partitionRuleVersionBuilder_ = null; + partitionExprVersion_ = null; + partitionExprVersionBuilder_ = null; } return this; } @@ -4069,10 +4069,10 @@ java.lang.String defaultValue); } else { result.rows_ = rowsBuilder_.build(); } - if (partitionRuleVersionBuilder_ == null) { - result.partitionRuleVersion_ = partitionRuleVersion_; + if (partitionExprVersionBuilder_ == null) { + result.partitionExprVersion_ = partitionExprVersion_; } else { - result.partitionRuleVersion_ = partitionRuleVersionBuilder_.build(); + result.partitionExprVersion_ = partitionExprVersionBuilder_.build(); } onBuilt(); return result; @@ -4128,8 +4128,8 @@ java.lang.String defaultValue); if (other.hasRows()) { mergeRows(other.getRows()); } - if (other.hasPartitionRuleVersion()) { - mergePartitionRuleVersion(other.getPartitionRuleVersion()); + if (other.hasPartitionExprVersion()) { + mergePartitionExprVersion(other.getPartitionExprVersion()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -4310,123 +4310,123 @@ java.lang.String defaultValue); return rowsBuilder_; } - private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_; + private io.greptime.v1.Common.PartitionExprVersion partitionExprVersion_; private com.google.protobuf.SingleFieldBuilderV3< - io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder> partitionRuleVersionBuilder_; + io.greptime.v1.Common.PartitionExprVersion, io.greptime.v1.Common.PartitionExprVersion.Builder, io.greptime.v1.Common.PartitionExprVersionOrBuilder> partitionExprVersionBuilder_; /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return Whether the partitionRuleVersion field is set. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return Whether the partitionExprVersion field is set. */ - public boolean hasPartitionRuleVersion() { - return partitionRuleVersionBuilder_ != null || partitionRuleVersion_ != null; + public boolean hasPartitionExprVersion() { + return partitionExprVersionBuilder_ != null || partitionExprVersion_ != null; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return The partitionRuleVersion. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return The partitionExprVersion. */ - public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() { - if (partitionRuleVersionBuilder_ == null) { - return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + public io.greptime.v1.Common.PartitionExprVersion getPartitionExprVersion() { + if (partitionExprVersionBuilder_ == null) { + return partitionExprVersion_ == null ? io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance() : partitionExprVersion_; } else { - return partitionRuleVersionBuilder_.getMessage(); + return partitionExprVersionBuilder_.getMessage(); } } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public Builder setPartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) { - if (partitionRuleVersionBuilder_ == null) { + public Builder setPartitionExprVersion(io.greptime.v1.Common.PartitionExprVersion value) { + if (partitionExprVersionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - partitionRuleVersion_ = value; + partitionExprVersion_ = value; onChanged(); } else { - partitionRuleVersionBuilder_.setMessage(value); + partitionExprVersionBuilder_.setMessage(value); } return this; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public Builder setPartitionRuleVersion( - io.greptime.v1.Common.PartitionRuleVersion.Builder builderForValue) { - if (partitionRuleVersionBuilder_ == null) { - partitionRuleVersion_ = builderForValue.build(); + public Builder setPartitionExprVersion( + io.greptime.v1.Common.PartitionExprVersion.Builder builderForValue) { + if (partitionExprVersionBuilder_ == null) { + partitionExprVersion_ = builderForValue.build(); onChanged(); } else { - partitionRuleVersionBuilder_.setMessage(builderForValue.build()); + partitionExprVersionBuilder_.setMessage(builderForValue.build()); } return this; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public Builder mergePartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) { - if (partitionRuleVersionBuilder_ == null) { - if (partitionRuleVersion_ != null) { - partitionRuleVersion_ = - io.greptime.v1.Common.PartitionRuleVersion.newBuilder(partitionRuleVersion_).mergeFrom(value).buildPartial(); + public Builder mergePartitionExprVersion(io.greptime.v1.Common.PartitionExprVersion value) { + if (partitionExprVersionBuilder_ == null) { + if (partitionExprVersion_ != null) { + partitionExprVersion_ = + io.greptime.v1.Common.PartitionExprVersion.newBuilder(partitionExprVersion_).mergeFrom(value).buildPartial(); } else { - partitionRuleVersion_ = value; + partitionExprVersion_ = value; } onChanged(); } else { - partitionRuleVersionBuilder_.mergeFrom(value); + partitionExprVersionBuilder_.mergeFrom(value); } return this; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public Builder clearPartitionRuleVersion() { - if (partitionRuleVersionBuilder_ == null) { - partitionRuleVersion_ = null; + public Builder clearPartitionExprVersion() { + if (partitionExprVersionBuilder_ == null) { + partitionExprVersion_ = null; onChanged(); } else { - partitionRuleVersion_ = null; - partitionRuleVersionBuilder_ = null; + partitionExprVersion_ = null; + partitionExprVersionBuilder_ = null; } return this; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public io.greptime.v1.Common.PartitionRuleVersion.Builder getPartitionRuleVersionBuilder() { + public io.greptime.v1.Common.PartitionExprVersion.Builder getPartitionExprVersionBuilder() { onChanged(); - return getPartitionRuleVersionFieldBuilder().getBuilder(); + return getPartitionExprVersionFieldBuilder().getBuilder(); } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() { - if (partitionRuleVersionBuilder_ != null) { - return partitionRuleVersionBuilder_.getMessageOrBuilder(); + public io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder() { + if (partitionExprVersionBuilder_ != null) { + return partitionExprVersionBuilder_.getMessageOrBuilder(); } else { - return partitionRuleVersion_ == null ? - io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + return partitionExprVersion_ == null ? + io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance() : partitionExprVersion_; } } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder> - getPartitionRuleVersionFieldBuilder() { - if (partitionRuleVersionBuilder_ == null) { - partitionRuleVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder>( - getPartitionRuleVersion(), + io.greptime.v1.Common.PartitionExprVersion, io.greptime.v1.Common.PartitionExprVersion.Builder, io.greptime.v1.Common.PartitionExprVersionOrBuilder> + getPartitionExprVersionFieldBuilder() { + if (partitionExprVersionBuilder_ == null) { + partitionExprVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Common.PartitionExprVersion, io.greptime.v1.Common.PartitionExprVersion.Builder, io.greptime.v1.Common.PartitionExprVersionOrBuilder>( + getPartitionExprVersion(), getParentForChildren(), isClean()); - partitionRuleVersion_ = null; + partitionExprVersion_ = null; } - return partitionRuleVersionBuilder_; + return partitionExprVersionBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -11166,8 +11166,8 @@ java.lang.String defaultValue); "equests\0221\n\010requests\030\001 \003(\0132\037.greptime.v1." + "flow.InsertRequest\"\206\001\n\rInsertRequest\022\021\n\t" + "region_id\030\001 \001(\004\022\037\n\004rows\030\002 \001(\0132\021.greptime" + - ".v1.Rows\022A\n\026partition_rule_version\030\003 \001(\013" + - "2!.greptime.v1.PartitionRuleVersion\"\332\001\n\013" + + ".v1.Rows\022A\n\026partition_expr_version\030\003 \001(\013" + + "2!.greptime.v1.PartitionExprVersion\"\332\001\n\013" + "FlowRequest\0223\n\006header\030@ \001(\0132#.greptime.v" + "1.flow.FlowRequestHeader\0221\n\006create\030\001 \001(\013" + "2\037.greptime.v1.flow.CreateRequestH\000\022-\n\004d" + @@ -11247,7 +11247,7 @@ java.lang.String defaultValue); internal_static_greptime_v1_flow_InsertRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_flow_InsertRequest_descriptor, - new java.lang.String[] { "RegionId", "Rows", "PartitionRuleVersion", }); + new java.lang.String[] { "RegionId", "Rows", "PartitionExprVersion", }); internal_static_greptime_v1_flow_FlowRequest_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_greptime_v1_flow_FlowRequest_fieldAccessorTable = new diff --git a/java/src/main/java/io/greptime/v1/region/Server.java b/java/src/main/java/io/greptime/v1/region/Server.java index b8e9912..53df1c7 100644 --- a/java/src/main/java/io/greptime/v1/region/Server.java +++ b/java/src/main/java/io/greptime/v1/region/Server.java @@ -8866,19 +8866,19 @@ com.google.protobuf.ByteString defaultValue); io.greptime.v1.RowData.RowsOrBuilder getRowsOrBuilder(); /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return Whether the partitionRuleVersion field is set. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return Whether the partitionExprVersion field is set. */ - boolean hasPartitionRuleVersion(); + boolean hasPartitionExprVersion(); /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return The partitionRuleVersion. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return The partitionExprVersion. */ - io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion(); + io.greptime.v1.Common.PartitionExprVersion getPartitionExprVersion(); /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder(); + io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder(); } /** * Protobuf type {@code greptime.v1.region.InsertRequest} @@ -8944,14 +8944,14 @@ com.google.protobuf.ByteString defaultValue); break; } case 26: { - io.greptime.v1.Common.PartitionRuleVersion.Builder subBuilder = null; - if (partitionRuleVersion_ != null) { - subBuilder = partitionRuleVersion_.toBuilder(); + io.greptime.v1.Common.PartitionExprVersion.Builder subBuilder = null; + if (partitionExprVersion_ != null) { + subBuilder = partitionExprVersion_.toBuilder(); } - partitionRuleVersion_ = input.readMessage(io.greptime.v1.Common.PartitionRuleVersion.parser(), extensionRegistry); + partitionExprVersion_ = input.readMessage(io.greptime.v1.Common.PartitionExprVersion.parser(), extensionRegistry); if (subBuilder != null) { - subBuilder.mergeFrom(partitionRuleVersion_); - partitionRuleVersion_ = subBuilder.buildPartial(); + subBuilder.mergeFrom(partitionExprVersion_); + partitionExprVersion_ = subBuilder.buildPartial(); } break; @@ -9027,30 +9027,30 @@ com.google.protobuf.ByteString defaultValue); return getRows(); } - public static final int PARTITION_RULE_VERSION_FIELD_NUMBER = 3; - private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_; + public static final int PARTITION_EXPR_VERSION_FIELD_NUMBER = 3; + private io.greptime.v1.Common.PartitionExprVersion partitionExprVersion_; /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return Whether the partitionRuleVersion field is set. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return Whether the partitionExprVersion field is set. */ @java.lang.Override - public boolean hasPartitionRuleVersion() { - return partitionRuleVersion_ != null; + public boolean hasPartitionExprVersion() { + return partitionExprVersion_ != null; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return The partitionRuleVersion. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return The partitionExprVersion. */ @java.lang.Override - public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() { - return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + public io.greptime.v1.Common.PartitionExprVersion getPartitionExprVersion() { + return partitionExprVersion_ == null ? io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance() : partitionExprVersion_; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ @java.lang.Override - public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() { - return getPartitionRuleVersion(); + public io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder() { + return getPartitionExprVersion(); } private byte memoizedIsInitialized = -1; @@ -9073,8 +9073,8 @@ com.google.protobuf.ByteString defaultValue); if (rows_ != null) { output.writeMessage(2, getRows()); } - if (partitionRuleVersion_ != null) { - output.writeMessage(3, getPartitionRuleVersion()); + if (partitionExprVersion_ != null) { + output.writeMessage(3, getPartitionExprVersion()); } unknownFields.writeTo(output); } @@ -9093,9 +9093,9 @@ com.google.protobuf.ByteString defaultValue); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getRows()); } - if (partitionRuleVersion_ != null) { + if (partitionExprVersion_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPartitionRuleVersion()); + .computeMessageSize(3, getPartitionExprVersion()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -9119,10 +9119,10 @@ com.google.protobuf.ByteString defaultValue); if (!getRows() .equals(other.getRows())) return false; } - if (hasPartitionRuleVersion() != other.hasPartitionRuleVersion()) return false; - if (hasPartitionRuleVersion()) { - if (!getPartitionRuleVersion() - .equals(other.getPartitionRuleVersion())) return false; + if (hasPartitionExprVersion() != other.hasPartitionExprVersion()) return false; + if (hasPartitionExprVersion()) { + if (!getPartitionExprVersion() + .equals(other.getPartitionExprVersion())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -9142,9 +9142,9 @@ com.google.protobuf.ByteString defaultValue); hash = (37 * hash) + ROWS_FIELD_NUMBER; hash = (53 * hash) + getRows().hashCode(); } - if (hasPartitionRuleVersion()) { - hash = (37 * hash) + PARTITION_RULE_VERSION_FIELD_NUMBER; - hash = (53 * hash) + getPartitionRuleVersion().hashCode(); + if (hasPartitionExprVersion()) { + hash = (37 * hash) + PARTITION_EXPR_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getPartitionExprVersion().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; @@ -9287,11 +9287,11 @@ com.google.protobuf.ByteString defaultValue); rows_ = null; rowsBuilder_ = null; } - if (partitionRuleVersionBuilder_ == null) { - partitionRuleVersion_ = null; + if (partitionExprVersionBuilder_ == null) { + partitionExprVersion_ = null; } else { - partitionRuleVersion_ = null; - partitionRuleVersionBuilder_ = null; + partitionExprVersion_ = null; + partitionExprVersionBuilder_ = null; } return this; } @@ -9325,10 +9325,10 @@ com.google.protobuf.ByteString defaultValue); } else { result.rows_ = rowsBuilder_.build(); } - if (partitionRuleVersionBuilder_ == null) { - result.partitionRuleVersion_ = partitionRuleVersion_; + if (partitionExprVersionBuilder_ == null) { + result.partitionExprVersion_ = partitionExprVersion_; } else { - result.partitionRuleVersion_ = partitionRuleVersionBuilder_.build(); + result.partitionExprVersion_ = partitionExprVersionBuilder_.build(); } onBuilt(); return result; @@ -9384,8 +9384,8 @@ com.google.protobuf.ByteString defaultValue); if (other.hasRows()) { mergeRows(other.getRows()); } - if (other.hasPartitionRuleVersion()) { - mergePartitionRuleVersion(other.getPartitionRuleVersion()); + if (other.hasPartitionExprVersion()) { + mergePartitionExprVersion(other.getPartitionExprVersion()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -9566,123 +9566,123 @@ com.google.protobuf.ByteString defaultValue); return rowsBuilder_; } - private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_; + private io.greptime.v1.Common.PartitionExprVersion partitionExprVersion_; private com.google.protobuf.SingleFieldBuilderV3< - io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder> partitionRuleVersionBuilder_; + io.greptime.v1.Common.PartitionExprVersion, io.greptime.v1.Common.PartitionExprVersion.Builder, io.greptime.v1.Common.PartitionExprVersionOrBuilder> partitionExprVersionBuilder_; /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return Whether the partitionRuleVersion field is set. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return Whether the partitionExprVersion field is set. */ - public boolean hasPartitionRuleVersion() { - return partitionRuleVersionBuilder_ != null || partitionRuleVersion_ != null; + public boolean hasPartitionExprVersion() { + return partitionExprVersionBuilder_ != null || partitionExprVersion_ != null; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return The partitionRuleVersion. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return The partitionExprVersion. */ - public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() { - if (partitionRuleVersionBuilder_ == null) { - return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + public io.greptime.v1.Common.PartitionExprVersion getPartitionExprVersion() { + if (partitionExprVersionBuilder_ == null) { + return partitionExprVersion_ == null ? io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance() : partitionExprVersion_; } else { - return partitionRuleVersionBuilder_.getMessage(); + return partitionExprVersionBuilder_.getMessage(); } } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public Builder setPartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) { - if (partitionRuleVersionBuilder_ == null) { + public Builder setPartitionExprVersion(io.greptime.v1.Common.PartitionExprVersion value) { + if (partitionExprVersionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - partitionRuleVersion_ = value; + partitionExprVersion_ = value; onChanged(); } else { - partitionRuleVersionBuilder_.setMessage(value); + partitionExprVersionBuilder_.setMessage(value); } return this; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public Builder setPartitionRuleVersion( - io.greptime.v1.Common.PartitionRuleVersion.Builder builderForValue) { - if (partitionRuleVersionBuilder_ == null) { - partitionRuleVersion_ = builderForValue.build(); + public Builder setPartitionExprVersion( + io.greptime.v1.Common.PartitionExprVersion.Builder builderForValue) { + if (partitionExprVersionBuilder_ == null) { + partitionExprVersion_ = builderForValue.build(); onChanged(); } else { - partitionRuleVersionBuilder_.setMessage(builderForValue.build()); + partitionExprVersionBuilder_.setMessage(builderForValue.build()); } return this; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public Builder mergePartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) { - if (partitionRuleVersionBuilder_ == null) { - if (partitionRuleVersion_ != null) { - partitionRuleVersion_ = - io.greptime.v1.Common.PartitionRuleVersion.newBuilder(partitionRuleVersion_).mergeFrom(value).buildPartial(); + public Builder mergePartitionExprVersion(io.greptime.v1.Common.PartitionExprVersion value) { + if (partitionExprVersionBuilder_ == null) { + if (partitionExprVersion_ != null) { + partitionExprVersion_ = + io.greptime.v1.Common.PartitionExprVersion.newBuilder(partitionExprVersion_).mergeFrom(value).buildPartial(); } else { - partitionRuleVersion_ = value; + partitionExprVersion_ = value; } onChanged(); } else { - partitionRuleVersionBuilder_.mergeFrom(value); + partitionExprVersionBuilder_.mergeFrom(value); } return this; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public Builder clearPartitionRuleVersion() { - if (partitionRuleVersionBuilder_ == null) { - partitionRuleVersion_ = null; + public Builder clearPartitionExprVersion() { + if (partitionExprVersionBuilder_ == null) { + partitionExprVersion_ = null; onChanged(); } else { - partitionRuleVersion_ = null; - partitionRuleVersionBuilder_ = null; + partitionExprVersion_ = null; + partitionExprVersionBuilder_ = null; } return this; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public io.greptime.v1.Common.PartitionRuleVersion.Builder getPartitionRuleVersionBuilder() { + public io.greptime.v1.Common.PartitionExprVersion.Builder getPartitionExprVersionBuilder() { onChanged(); - return getPartitionRuleVersionFieldBuilder().getBuilder(); + return getPartitionExprVersionFieldBuilder().getBuilder(); } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() { - if (partitionRuleVersionBuilder_ != null) { - return partitionRuleVersionBuilder_.getMessageOrBuilder(); + public io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder() { + if (partitionExprVersionBuilder_ != null) { + return partitionExprVersionBuilder_.getMessageOrBuilder(); } else { - return partitionRuleVersion_ == null ? - io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + return partitionExprVersion_ == null ? + io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance() : partitionExprVersion_; } } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder> - getPartitionRuleVersionFieldBuilder() { - if (partitionRuleVersionBuilder_ == null) { - partitionRuleVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder>( - getPartitionRuleVersion(), + io.greptime.v1.Common.PartitionExprVersion, io.greptime.v1.Common.PartitionExprVersion.Builder, io.greptime.v1.Common.PartitionExprVersionOrBuilder> + getPartitionExprVersionFieldBuilder() { + if (partitionExprVersionBuilder_ == null) { + partitionExprVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Common.PartitionExprVersion, io.greptime.v1.Common.PartitionExprVersion.Builder, io.greptime.v1.Common.PartitionExprVersionOrBuilder>( + getPartitionExprVersion(), getParentForChildren(), isClean()); - partitionRuleVersion_ = null; + partitionExprVersion_ = null; } - return partitionRuleVersionBuilder_; + return partitionExprVersionBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -9763,19 +9763,19 @@ com.google.protobuf.ByteString defaultValue); io.greptime.v1.RowData.RowsOrBuilder getRowsOrBuilder(); /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return Whether the partitionRuleVersion field is set. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return Whether the partitionExprVersion field is set. */ - boolean hasPartitionRuleVersion(); + boolean hasPartitionExprVersion(); /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return The partitionRuleVersion. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return The partitionExprVersion. */ - io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion(); + io.greptime.v1.Common.PartitionExprVersion getPartitionExprVersion(); /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder(); + io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder(); } /** * Protobuf type {@code greptime.v1.region.DeleteRequest} @@ -9841,14 +9841,14 @@ com.google.protobuf.ByteString defaultValue); break; } case 26: { - io.greptime.v1.Common.PartitionRuleVersion.Builder subBuilder = null; - if (partitionRuleVersion_ != null) { - subBuilder = partitionRuleVersion_.toBuilder(); + io.greptime.v1.Common.PartitionExprVersion.Builder subBuilder = null; + if (partitionExprVersion_ != null) { + subBuilder = partitionExprVersion_.toBuilder(); } - partitionRuleVersion_ = input.readMessage(io.greptime.v1.Common.PartitionRuleVersion.parser(), extensionRegistry); + partitionExprVersion_ = input.readMessage(io.greptime.v1.Common.PartitionExprVersion.parser(), extensionRegistry); if (subBuilder != null) { - subBuilder.mergeFrom(partitionRuleVersion_); - partitionRuleVersion_ = subBuilder.buildPartial(); + subBuilder.mergeFrom(partitionExprVersion_); + partitionExprVersion_ = subBuilder.buildPartial(); } break; @@ -9924,30 +9924,30 @@ com.google.protobuf.ByteString defaultValue); return getRows(); } - public static final int PARTITION_RULE_VERSION_FIELD_NUMBER = 3; - private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_; + public static final int PARTITION_EXPR_VERSION_FIELD_NUMBER = 3; + private io.greptime.v1.Common.PartitionExprVersion partitionExprVersion_; /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return Whether the partitionRuleVersion field is set. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return Whether the partitionExprVersion field is set. */ @java.lang.Override - public boolean hasPartitionRuleVersion() { - return partitionRuleVersion_ != null; + public boolean hasPartitionExprVersion() { + return partitionExprVersion_ != null; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return The partitionRuleVersion. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return The partitionExprVersion. */ @java.lang.Override - public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() { - return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + public io.greptime.v1.Common.PartitionExprVersion getPartitionExprVersion() { + return partitionExprVersion_ == null ? io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance() : partitionExprVersion_; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ @java.lang.Override - public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() { - return getPartitionRuleVersion(); + public io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder() { + return getPartitionExprVersion(); } private byte memoizedIsInitialized = -1; @@ -9970,8 +9970,8 @@ com.google.protobuf.ByteString defaultValue); if (rows_ != null) { output.writeMessage(2, getRows()); } - if (partitionRuleVersion_ != null) { - output.writeMessage(3, getPartitionRuleVersion()); + if (partitionExprVersion_ != null) { + output.writeMessage(3, getPartitionExprVersion()); } unknownFields.writeTo(output); } @@ -9990,9 +9990,9 @@ com.google.protobuf.ByteString defaultValue); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getRows()); } - if (partitionRuleVersion_ != null) { + if (partitionExprVersion_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPartitionRuleVersion()); + .computeMessageSize(3, getPartitionExprVersion()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -10016,10 +10016,10 @@ com.google.protobuf.ByteString defaultValue); if (!getRows() .equals(other.getRows())) return false; } - if (hasPartitionRuleVersion() != other.hasPartitionRuleVersion()) return false; - if (hasPartitionRuleVersion()) { - if (!getPartitionRuleVersion() - .equals(other.getPartitionRuleVersion())) return false; + if (hasPartitionExprVersion() != other.hasPartitionExprVersion()) return false; + if (hasPartitionExprVersion()) { + if (!getPartitionExprVersion() + .equals(other.getPartitionExprVersion())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -10039,9 +10039,9 @@ com.google.protobuf.ByteString defaultValue); hash = (37 * hash) + ROWS_FIELD_NUMBER; hash = (53 * hash) + getRows().hashCode(); } - if (hasPartitionRuleVersion()) { - hash = (37 * hash) + PARTITION_RULE_VERSION_FIELD_NUMBER; - hash = (53 * hash) + getPartitionRuleVersion().hashCode(); + if (hasPartitionExprVersion()) { + hash = (37 * hash) + PARTITION_EXPR_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getPartitionExprVersion().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; @@ -10184,11 +10184,11 @@ com.google.protobuf.ByteString defaultValue); rows_ = null; rowsBuilder_ = null; } - if (partitionRuleVersionBuilder_ == null) { - partitionRuleVersion_ = null; + if (partitionExprVersionBuilder_ == null) { + partitionExprVersion_ = null; } else { - partitionRuleVersion_ = null; - partitionRuleVersionBuilder_ = null; + partitionExprVersion_ = null; + partitionExprVersionBuilder_ = null; } return this; } @@ -10222,10 +10222,10 @@ com.google.protobuf.ByteString defaultValue); } else { result.rows_ = rowsBuilder_.build(); } - if (partitionRuleVersionBuilder_ == null) { - result.partitionRuleVersion_ = partitionRuleVersion_; + if (partitionExprVersionBuilder_ == null) { + result.partitionExprVersion_ = partitionExprVersion_; } else { - result.partitionRuleVersion_ = partitionRuleVersionBuilder_.build(); + result.partitionExprVersion_ = partitionExprVersionBuilder_.build(); } onBuilt(); return result; @@ -10281,8 +10281,8 @@ com.google.protobuf.ByteString defaultValue); if (other.hasRows()) { mergeRows(other.getRows()); } - if (other.hasPartitionRuleVersion()) { - mergePartitionRuleVersion(other.getPartitionRuleVersion()); + if (other.hasPartitionExprVersion()) { + mergePartitionExprVersion(other.getPartitionExprVersion()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -10463,123 +10463,123 @@ com.google.protobuf.ByteString defaultValue); return rowsBuilder_; } - private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_; + private io.greptime.v1.Common.PartitionExprVersion partitionExprVersion_; private com.google.protobuf.SingleFieldBuilderV3< - io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder> partitionRuleVersionBuilder_; + io.greptime.v1.Common.PartitionExprVersion, io.greptime.v1.Common.PartitionExprVersion.Builder, io.greptime.v1.Common.PartitionExprVersionOrBuilder> partitionExprVersionBuilder_; /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return Whether the partitionRuleVersion field is set. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return Whether the partitionExprVersion field is set. */ - public boolean hasPartitionRuleVersion() { - return partitionRuleVersionBuilder_ != null || partitionRuleVersion_ != null; + public boolean hasPartitionExprVersion() { + return partitionExprVersionBuilder_ != null || partitionExprVersion_ != null; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return The partitionRuleVersion. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return The partitionExprVersion. */ - public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() { - if (partitionRuleVersionBuilder_ == null) { - return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + public io.greptime.v1.Common.PartitionExprVersion getPartitionExprVersion() { + if (partitionExprVersionBuilder_ == null) { + return partitionExprVersion_ == null ? io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance() : partitionExprVersion_; } else { - return partitionRuleVersionBuilder_.getMessage(); + return partitionExprVersionBuilder_.getMessage(); } } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public Builder setPartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) { - if (partitionRuleVersionBuilder_ == null) { + public Builder setPartitionExprVersion(io.greptime.v1.Common.PartitionExprVersion value) { + if (partitionExprVersionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - partitionRuleVersion_ = value; + partitionExprVersion_ = value; onChanged(); } else { - partitionRuleVersionBuilder_.setMessage(value); + partitionExprVersionBuilder_.setMessage(value); } return this; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public Builder setPartitionRuleVersion( - io.greptime.v1.Common.PartitionRuleVersion.Builder builderForValue) { - if (partitionRuleVersionBuilder_ == null) { - partitionRuleVersion_ = builderForValue.build(); + public Builder setPartitionExprVersion( + io.greptime.v1.Common.PartitionExprVersion.Builder builderForValue) { + if (partitionExprVersionBuilder_ == null) { + partitionExprVersion_ = builderForValue.build(); onChanged(); } else { - partitionRuleVersionBuilder_.setMessage(builderForValue.build()); + partitionExprVersionBuilder_.setMessage(builderForValue.build()); } return this; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public Builder mergePartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) { - if (partitionRuleVersionBuilder_ == null) { - if (partitionRuleVersion_ != null) { - partitionRuleVersion_ = - io.greptime.v1.Common.PartitionRuleVersion.newBuilder(partitionRuleVersion_).mergeFrom(value).buildPartial(); + public Builder mergePartitionExprVersion(io.greptime.v1.Common.PartitionExprVersion value) { + if (partitionExprVersionBuilder_ == null) { + if (partitionExprVersion_ != null) { + partitionExprVersion_ = + io.greptime.v1.Common.PartitionExprVersion.newBuilder(partitionExprVersion_).mergeFrom(value).buildPartial(); } else { - partitionRuleVersion_ = value; + partitionExprVersion_ = value; } onChanged(); } else { - partitionRuleVersionBuilder_.mergeFrom(value); + partitionExprVersionBuilder_.mergeFrom(value); } return this; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public Builder clearPartitionRuleVersion() { - if (partitionRuleVersionBuilder_ == null) { - partitionRuleVersion_ = null; + public Builder clearPartitionExprVersion() { + if (partitionExprVersionBuilder_ == null) { + partitionExprVersion_ = null; onChanged(); } else { - partitionRuleVersion_ = null; - partitionRuleVersionBuilder_ = null; + partitionExprVersion_ = null; + partitionExprVersionBuilder_ = null; } return this; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public io.greptime.v1.Common.PartitionRuleVersion.Builder getPartitionRuleVersionBuilder() { + public io.greptime.v1.Common.PartitionExprVersion.Builder getPartitionExprVersionBuilder() { onChanged(); - return getPartitionRuleVersionFieldBuilder().getBuilder(); + return getPartitionExprVersionFieldBuilder().getBuilder(); } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() { - if (partitionRuleVersionBuilder_ != null) { - return partitionRuleVersionBuilder_.getMessageOrBuilder(); + public io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder() { + if (partitionExprVersionBuilder_ != null) { + return partitionExprVersionBuilder_.getMessageOrBuilder(); } else { - return partitionRuleVersion_ == null ? - io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + return partitionExprVersion_ == null ? + io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance() : partitionExprVersion_; } } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder> - getPartitionRuleVersionFieldBuilder() { - if (partitionRuleVersionBuilder_ == null) { - partitionRuleVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder>( - getPartitionRuleVersion(), + io.greptime.v1.Common.PartitionExprVersion, io.greptime.v1.Common.PartitionExprVersion.Builder, io.greptime.v1.Common.PartitionExprVersionOrBuilder> + getPartitionExprVersionFieldBuilder() { + if (partitionExprVersionBuilder_ == null) { + partitionExprVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Common.PartitionExprVersion, io.greptime.v1.Common.PartitionExprVersion.Builder, io.greptime.v1.Common.PartitionExprVersionOrBuilder>( + getPartitionExprVersion(), getParentForChildren(), isClean()); - partitionRuleVersion_ = null; + partitionExprVersion_ = null; } - return partitionRuleVersionBuilder_; + return partitionExprVersionBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -30601,19 +30601,19 @@ java.lang.String defaultValue); io.greptime.v1.Common.ArrowIpcOrBuilder getArrowIpcOrBuilder(); /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return Whether the partitionRuleVersion field is set. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return Whether the partitionExprVersion field is set. */ - boolean hasPartitionRuleVersion(); + boolean hasPartitionExprVersion(); /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return The partitionRuleVersion. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return The partitionExprVersion. */ - io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion(); + io.greptime.v1.Common.PartitionExprVersion getPartitionExprVersion(); /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder(); + io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder(); public io.greptime.v1.region.Server.BulkInsertRequest.BodyCase getBodyCase(); } @@ -30686,14 +30686,14 @@ java.lang.String defaultValue); break; } case 26: { - io.greptime.v1.Common.PartitionRuleVersion.Builder subBuilder = null; - if (partitionRuleVersion_ != null) { - subBuilder = partitionRuleVersion_.toBuilder(); + io.greptime.v1.Common.PartitionExprVersion.Builder subBuilder = null; + if (partitionExprVersion_ != null) { + subBuilder = partitionExprVersion_.toBuilder(); } - partitionRuleVersion_ = input.readMessage(io.greptime.v1.Common.PartitionRuleVersion.parser(), extensionRegistry); + partitionExprVersion_ = input.readMessage(io.greptime.v1.Common.PartitionExprVersion.parser(), extensionRegistry); if (subBuilder != null) { - subBuilder.mergeFrom(partitionRuleVersion_); - partitionRuleVersion_ = subBuilder.buildPartial(); + subBuilder.mergeFrom(partitionExprVersion_); + partitionExprVersion_ = subBuilder.buildPartial(); } break; @@ -30813,30 +30813,30 @@ java.lang.String defaultValue); return io.greptime.v1.Common.ArrowIpc.getDefaultInstance(); } - public static final int PARTITION_RULE_VERSION_FIELD_NUMBER = 3; - private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_; + public static final int PARTITION_EXPR_VERSION_FIELD_NUMBER = 3; + private io.greptime.v1.Common.PartitionExprVersion partitionExprVersion_; /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return Whether the partitionRuleVersion field is set. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return Whether the partitionExprVersion field is set. */ @java.lang.Override - public boolean hasPartitionRuleVersion() { - return partitionRuleVersion_ != null; + public boolean hasPartitionExprVersion() { + return partitionExprVersion_ != null; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return The partitionRuleVersion. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return The partitionExprVersion. */ @java.lang.Override - public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() { - return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + public io.greptime.v1.Common.PartitionExprVersion getPartitionExprVersion() { + return partitionExprVersion_ == null ? io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance() : partitionExprVersion_; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ @java.lang.Override - public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() { - return getPartitionRuleVersion(); + public io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder() { + return getPartitionExprVersion(); } private byte memoizedIsInitialized = -1; @@ -30859,8 +30859,8 @@ java.lang.String defaultValue); if (bodyCase_ == 2) { output.writeMessage(2, (io.greptime.v1.Common.ArrowIpc) body_); } - if (partitionRuleVersion_ != null) { - output.writeMessage(3, getPartitionRuleVersion()); + if (partitionExprVersion_ != null) { + output.writeMessage(3, getPartitionExprVersion()); } unknownFields.writeTo(output); } @@ -30879,9 +30879,9 @@ java.lang.String defaultValue); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (io.greptime.v1.Common.ArrowIpc) body_); } - if (partitionRuleVersion_ != null) { + if (partitionExprVersion_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPartitionRuleVersion()); + .computeMessageSize(3, getPartitionExprVersion()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -30900,10 +30900,10 @@ java.lang.String defaultValue); if (getRegionId() != other.getRegionId()) return false; - if (hasPartitionRuleVersion() != other.hasPartitionRuleVersion()) return false; - if (hasPartitionRuleVersion()) { - if (!getPartitionRuleVersion() - .equals(other.getPartitionRuleVersion())) return false; + if (hasPartitionExprVersion() != other.hasPartitionExprVersion()) return false; + if (hasPartitionExprVersion()) { + if (!getPartitionExprVersion() + .equals(other.getPartitionExprVersion())) return false; } if (!getBodyCase().equals(other.getBodyCase())) return false; switch (bodyCase_) { @@ -30928,9 +30928,9 @@ java.lang.String defaultValue); hash = (37 * hash) + REGION_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRegionId()); - if (hasPartitionRuleVersion()) { - hash = (37 * hash) + PARTITION_RULE_VERSION_FIELD_NUMBER; - hash = (53 * hash) + getPartitionRuleVersion().hashCode(); + if (hasPartitionExprVersion()) { + hash = (37 * hash) + PARTITION_EXPR_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getPartitionExprVersion().hashCode(); } switch (bodyCase_) { case 2: @@ -31079,11 +31079,11 @@ java.lang.String defaultValue); super.clear(); regionId_ = 0L; - if (partitionRuleVersionBuilder_ == null) { - partitionRuleVersion_ = null; + if (partitionExprVersionBuilder_ == null) { + partitionExprVersion_ = null; } else { - partitionRuleVersion_ = null; - partitionRuleVersionBuilder_ = null; + partitionExprVersion_ = null; + partitionExprVersionBuilder_ = null; } bodyCase_ = 0; body_ = null; @@ -31121,10 +31121,10 @@ java.lang.String defaultValue); result.body_ = arrowIpcBuilder_.build(); } } - if (partitionRuleVersionBuilder_ == null) { - result.partitionRuleVersion_ = partitionRuleVersion_; + if (partitionExprVersionBuilder_ == null) { + result.partitionExprVersion_ = partitionExprVersion_; } else { - result.partitionRuleVersion_ = partitionRuleVersionBuilder_.build(); + result.partitionExprVersion_ = partitionExprVersionBuilder_.build(); } result.bodyCase_ = bodyCase_; onBuilt(); @@ -31178,8 +31178,8 @@ java.lang.String defaultValue); if (other.getRegionId() != 0L) { setRegionId(other.getRegionId()); } - if (other.hasPartitionRuleVersion()) { - mergePartitionRuleVersion(other.getPartitionRuleVersion()); + if (other.hasPartitionExprVersion()) { + mergePartitionExprVersion(other.getPartitionExprVersion()); } switch (other.getBodyCase()) { case ARROW_IPC: { @@ -31407,123 +31407,123 @@ java.lang.String defaultValue); return arrowIpcBuilder_; } - private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_; + private io.greptime.v1.Common.PartitionExprVersion partitionExprVersion_; private com.google.protobuf.SingleFieldBuilderV3< - io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder> partitionRuleVersionBuilder_; + io.greptime.v1.Common.PartitionExprVersion, io.greptime.v1.Common.PartitionExprVersion.Builder, io.greptime.v1.Common.PartitionExprVersionOrBuilder> partitionExprVersionBuilder_; /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return Whether the partitionRuleVersion field is set. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return Whether the partitionExprVersion field is set. */ - public boolean hasPartitionRuleVersion() { - return partitionRuleVersionBuilder_ != null || partitionRuleVersion_ != null; + public boolean hasPartitionExprVersion() { + return partitionExprVersionBuilder_ != null || partitionExprVersion_ != null; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; - * @return The partitionRuleVersion. + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; + * @return The partitionExprVersion. */ - public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() { - if (partitionRuleVersionBuilder_ == null) { - return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + public io.greptime.v1.Common.PartitionExprVersion getPartitionExprVersion() { + if (partitionExprVersionBuilder_ == null) { + return partitionExprVersion_ == null ? io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance() : partitionExprVersion_; } else { - return partitionRuleVersionBuilder_.getMessage(); + return partitionExprVersionBuilder_.getMessage(); } } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public Builder setPartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) { - if (partitionRuleVersionBuilder_ == null) { + public Builder setPartitionExprVersion(io.greptime.v1.Common.PartitionExprVersion value) { + if (partitionExprVersionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - partitionRuleVersion_ = value; + partitionExprVersion_ = value; onChanged(); } else { - partitionRuleVersionBuilder_.setMessage(value); + partitionExprVersionBuilder_.setMessage(value); } return this; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public Builder setPartitionRuleVersion( - io.greptime.v1.Common.PartitionRuleVersion.Builder builderForValue) { - if (partitionRuleVersionBuilder_ == null) { - partitionRuleVersion_ = builderForValue.build(); + public Builder setPartitionExprVersion( + io.greptime.v1.Common.PartitionExprVersion.Builder builderForValue) { + if (partitionExprVersionBuilder_ == null) { + partitionExprVersion_ = builderForValue.build(); onChanged(); } else { - partitionRuleVersionBuilder_.setMessage(builderForValue.build()); + partitionExprVersionBuilder_.setMessage(builderForValue.build()); } return this; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public Builder mergePartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) { - if (partitionRuleVersionBuilder_ == null) { - if (partitionRuleVersion_ != null) { - partitionRuleVersion_ = - io.greptime.v1.Common.PartitionRuleVersion.newBuilder(partitionRuleVersion_).mergeFrom(value).buildPartial(); + public Builder mergePartitionExprVersion(io.greptime.v1.Common.PartitionExprVersion value) { + if (partitionExprVersionBuilder_ == null) { + if (partitionExprVersion_ != null) { + partitionExprVersion_ = + io.greptime.v1.Common.PartitionExprVersion.newBuilder(partitionExprVersion_).mergeFrom(value).buildPartial(); } else { - partitionRuleVersion_ = value; + partitionExprVersion_ = value; } onChanged(); } else { - partitionRuleVersionBuilder_.mergeFrom(value); + partitionExprVersionBuilder_.mergeFrom(value); } return this; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public Builder clearPartitionRuleVersion() { - if (partitionRuleVersionBuilder_ == null) { - partitionRuleVersion_ = null; + public Builder clearPartitionExprVersion() { + if (partitionExprVersionBuilder_ == null) { + partitionExprVersion_ = null; onChanged(); } else { - partitionRuleVersion_ = null; - partitionRuleVersionBuilder_ = null; + partitionExprVersion_ = null; + partitionExprVersionBuilder_ = null; } return this; } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public io.greptime.v1.Common.PartitionRuleVersion.Builder getPartitionRuleVersionBuilder() { + public io.greptime.v1.Common.PartitionExprVersion.Builder getPartitionExprVersionBuilder() { onChanged(); - return getPartitionRuleVersionFieldBuilder().getBuilder(); + return getPartitionExprVersionFieldBuilder().getBuilder(); } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ - public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() { - if (partitionRuleVersionBuilder_ != null) { - return partitionRuleVersionBuilder_.getMessageOrBuilder(); + public io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder() { + if (partitionExprVersionBuilder_ != null) { + return partitionExprVersionBuilder_.getMessageOrBuilder(); } else { - return partitionRuleVersion_ == null ? - io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + return partitionExprVersion_ == null ? + io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance() : partitionExprVersion_; } } /** - * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * .greptime.v1.PartitionExprVersion partition_expr_version = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder> - getPartitionRuleVersionFieldBuilder() { - if (partitionRuleVersionBuilder_ == null) { - partitionRuleVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder>( - getPartitionRuleVersion(), + io.greptime.v1.Common.PartitionExprVersion, io.greptime.v1.Common.PartitionExprVersion.Builder, io.greptime.v1.Common.PartitionExprVersionOrBuilder> + getPartitionExprVersionFieldBuilder() { + if (partitionExprVersionBuilder_ == null) { + partitionExprVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Common.PartitionExprVersion, io.greptime.v1.Common.PartitionExprVersion.Builder, io.greptime.v1.Common.PartitionExprVersionOrBuilder>( + getPartitionExprVersion(), getParentForChildren(), isClean()); - partitionRuleVersion_ = null; + partitionExprVersion_ = null; } - return partitionRuleVersionBuilder_; + return partitionExprVersionBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -36536,11 +36536,11 @@ java.lang.String defaultValue); "uests\030\001 \003(\0132!.greptime.v1.region.DeleteR" + "equest\"\206\001\n\rInsertRequest\022\021\n\tregion_id\030\001 " + "\001(\004\022\037\n\004rows\030\002 \001(\0132\021.greptime.v1.Rows\022A\n\026" + - "partition_rule_version\030\003 \001(\0132!.greptime." + - "v1.PartitionRuleVersion\"\206\001\n\rDeleteReques" + + "partition_expr_version\030\003 \001(\0132!.greptime." + + "v1.PartitionExprVersion\"\206\001\n\rDeleteReques" + "t\022\021\n\tregion_id\030\001 \001(\004\022\037\n\004rows\030\002 \001(\0132\021.gre" + - "ptime.v1.Rows\022A\n\026partition_rule_version\030" + - "\003 \001(\0132!.greptime.v1.PartitionRuleVersion" + + "ptime.v1.Rows\022A\n\026partition_expr_version\030" + + "\003 \001(\0132!.greptime.v1.PartitionExprVersion" + "\"h\n\014QueryRequest\0227\n\006header\030\001 \001(\0132\'.grept" + "ime.v1.region.RegionRequestHeader\022\021\n\treg" + "ion_id\030\002 \001(\004\022\014\n\004plan\030\003 \001(\014\"E\n\016CreateRequ" + @@ -36605,8 +36605,8 @@ java.lang.String defaultValue); "greptime.v1.ColumnDef\022\021\n\tcolumn_id\030\002 \001(\r" + "\"\235\001\n\021BulkInsertRequest\022\021\n\tregion_id\030\001 \001(" + "\004\022*\n\tarrow_ipc\030\002 \001(\0132\025.greptime.v1.Arrow" + - "IpcH\000\022A\n\026partition_rule_version\030\003 \001(\0132!." + - "greptime.v1.PartitionRuleVersionB\006\n\004body" + + "IpcH\000\022A\n\026partition_expr_version\030\003 \001(\0132!." + + "greptime.v1.PartitionExprVersionB\006\n\004body" + "\"1\n\020MitoManifestInfo\022\035\n\025data_manifest_ve" + "rsion\030\001 \001(\004\"V\n\022MetricManifestInfo\022\035\n\025dat" + "a_manifest_version\030\001 \001(\004\022!\n\031metadata_man" + @@ -36682,13 +36682,13 @@ java.lang.String defaultValue); internal_static_greptime_v1_region_InsertRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_region_InsertRequest_descriptor, - new java.lang.String[] { "RegionId", "Rows", "PartitionRuleVersion", }); + new java.lang.String[] { "RegionId", "Rows", "PartitionExprVersion", }); internal_static_greptime_v1_region_DeleteRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_greptime_v1_region_DeleteRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_region_DeleteRequest_descriptor, - new java.lang.String[] { "RegionId", "Rows", "PartitionRuleVersion", }); + new java.lang.String[] { "RegionId", "Rows", "PartitionExprVersion", }); internal_static_greptime_v1_region_QueryRequest_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_greptime_v1_region_QueryRequest_fieldAccessorTable = new @@ -36832,7 +36832,7 @@ java.lang.String defaultValue); internal_static_greptime_v1_region_BulkInsertRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_region_BulkInsertRequest_descriptor, - new java.lang.String[] { "RegionId", "ArrowIpc", "PartitionRuleVersion", "Body", }); + new java.lang.String[] { "RegionId", "ArrowIpc", "PartitionExprVersion", "Body", }); internal_static_greptime_v1_region_MitoManifestInfo_descriptor = getDescriptor().getMessageTypes().get(29); internal_static_greptime_v1_region_MitoManifestInfo_fieldAccessorTable = new diff --git a/proto/greptime/v1/common.proto b/proto/greptime/v1/common.proto index 92393e7..ac89c47 100644 --- a/proto/greptime/v1/common.proto +++ b/proto/greptime/v1/common.proto @@ -275,6 +275,6 @@ message ArrowIpc { bytes payload = 3; } -message PartitionRuleVersion { +message PartitionExprVersion { uint64 value = 1; } diff --git a/proto/greptime/v1/flow/server.proto b/proto/greptime/v1/flow/server.proto index 9dc78c2..9cfec58 100644 --- a/proto/greptime/v1/flow/server.proto +++ b/proto/greptime/v1/flow/server.proto @@ -63,7 +63,7 @@ message InsertRequests { message InsertRequest { uint64 region_id = 1; Rows rows = 2; - PartitionRuleVersion partition_rule_version = 3; + PartitionExprVersion partition_expr_version = 3; } message FlowRequest { diff --git a/proto/greptime/v1/region/server.proto b/proto/greptime/v1/region/server.proto index 0c74e27..84e22fe 100644 --- a/proto/greptime/v1/region/server.proto +++ b/proto/greptime/v1/region/server.proto @@ -86,13 +86,13 @@ message DeleteRequests { message InsertRequest { uint64 region_id = 1; Rows rows = 2; - PartitionRuleVersion partition_rule_version = 3; + PartitionExprVersion partition_expr_version = 3; } message DeleteRequest { uint64 region_id = 1; Rows rows = 2; - PartitionRuleVersion partition_rule_version = 3; + PartitionExprVersion partition_expr_version = 3; } message QueryRequest { @@ -251,7 +251,7 @@ message BulkInsertRequest { oneof body { ArrowIpc arrow_ipc = 2; } - PartitionRuleVersion partition_rule_version = 3; + PartitionExprVersion partition_expr_version = 3; } // Manifest info for mito engine.