refactor: rename PartitionExprVersion (#309)

Signed-off-by: WenyXu <wenymedia@gmail.com>
This commit is contained in:
Weny Xu
2026-02-10 17:16:46 +08:00
committed by GitHub
parent b9452e3411
commit 030f1e48ab
15 changed files with 972 additions and 972 deletions
+45 -45
View File
@@ -488,19 +488,19 @@ struct ArrowIpcDefaultTypeInternal {
}; };
}; };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArrowIpcDefaultTypeInternal _ArrowIpc_default_instance_; 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_{ ::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.value_)*/uint64_t{0u} /*decltype(_impl_.value_)*/uint64_t{0u}
, /*decltype(_impl_._cached_size_)*/{}} {} , /*decltype(_impl_._cached_size_)*/{}} {}
struct PartitionRuleVersionDefaultTypeInternal { struct PartitionExprVersionDefaultTypeInternal {
PROTOBUF_CONSTEXPR PartitionRuleVersionDefaultTypeInternal() PROTOBUF_CONSTEXPR PartitionExprVersionDefaultTypeInternal()
: _instance(::_pbi::ConstantInitialized{}) {} : _instance(::_pbi::ConstantInitialized{}) {}
~PartitionRuleVersionDefaultTypeInternal() {} ~PartitionExprVersionDefaultTypeInternal() {}
union { 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 v1
} // namespace greptime } // namespace greptime
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fcommon_2eproto[35]; 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_.data_header_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::ArrowIpc, _impl_.payload_), PROTOBUF_FIELD_OFFSET(::greptime::v1::ArrowIpc, _impl_.payload_),
~0u, // no _has_bits_ ~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 _extensions_
~0u, // no _oneof_case_ ~0u, // no _oneof_case_
~0u, // no _weak_field_map_ ~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_ ~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) = { static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
{ 0, 8, -1, sizeof(::greptime::v1::QueryContext_ExtensionsEntry_DoNotUse)}, { 0, 8, -1, sizeof(::greptime::v1::QueryContext_ExtensionsEntry_DoNotUse)},
@@ -845,7 +845,7 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
{ 268, 276, -1, sizeof(::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse)}, { 268, 276, -1, sizeof(::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse)},
{ 278, -1, -1, sizeof(::greptime::v1::ColumnOptions)}, { 278, -1, -1, sizeof(::greptime::v1::ColumnOptions)},
{ 285, -1, -1, sizeof(::greptime::v1::ArrowIpc)}, { 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[] = { 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_OptionsEntry_DoNotUse_default_instance_._instance,
&::greptime::v1::_ColumnOptions_default_instance_._instance, &::greptime::v1::_ColumnOptions_default_instance_._instance,
&::greptime::v1::_ArrowIpc_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) = 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" ".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" "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" "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" "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" "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" "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: public:
}; };
PartitionRuleVersion::PartitionRuleVersion(::PROTOBUF_NAMESPACE_ID::Arena* arena, PartitionExprVersion::PartitionExprVersion(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned) bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
SharedCtor(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() { : ::PROTOBUF_NAMESPACE_ID::Message() {
PartitionRuleVersion* const _this = this; (void)_this; PartitionExprVersion* const _this = this; (void)_this;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.value_){} decltype(_impl_.value_){}
, /*decltype(_impl_._cached_size_)*/{}}; , /*decltype(_impl_._cached_size_)*/{}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
_this->_impl_.value_ = from._impl_.value_; _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) { ::_pb::Arena* arena, bool is_message_owned) {
(void)arena; (void)arena;
(void)is_message_owned; (void)is_message_owned;
@@ -8595,8 +8595,8 @@ inline void PartitionRuleVersion::SharedCtor(
}; };
} }
PartitionRuleVersion::~PartitionRuleVersion() { PartitionExprVersion::~PartitionExprVersion() {
// @@protoc_insertion_point(destructor:greptime.v1.PartitionRuleVersion) // @@protoc_insertion_point(destructor:greptime.v1.PartitionExprVersion)
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
(void)arena; (void)arena;
return; return;
@@ -8604,16 +8604,16 @@ PartitionRuleVersion::~PartitionRuleVersion() {
SharedDtor(); SharedDtor();
} }
inline void PartitionRuleVersion::SharedDtor() { inline void PartitionExprVersion::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
} }
void PartitionRuleVersion::SetCachedSize(int size) const { void PartitionExprVersion::SetCachedSize(int size) const {
_impl_._cached_size_.Set(size); _impl_._cached_size_.Set(size);
} }
void PartitionRuleVersion::Clear() { void PartitionExprVersion::Clear() {
// @@protoc_insertion_point(message_clear_start:greptime.v1.PartitionRuleVersion) // @@protoc_insertion_point(message_clear_start:greptime.v1.PartitionExprVersion)
uint32_t cached_has_bits = 0; uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits; (void) cached_has_bits;
@@ -8622,7 +8622,7 @@ void PartitionRuleVersion::Clear() {
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); _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 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) { while (!ctx->Done(&ptr)) {
uint32_t tag; uint32_t tag;
@@ -8659,9 +8659,9 @@ failure:
#undef CHK_ #undef CHK_
} }
uint8_t* PartitionRuleVersion::_InternalSerialize( uint8_t* PartitionExprVersion::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { 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; uint32_t cached_has_bits = 0;
(void) cached_has_bits; (void) cached_has_bits;
@@ -8675,12 +8675,12 @@ uint8_t* PartitionRuleVersion::_InternalSerialize(
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
} }
// @@protoc_insertion_point(serialize_to_array_end:greptime.v1.PartitionRuleVersion) // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.PartitionExprVersion)
return target; return target;
} }
size_t PartitionRuleVersion::ByteSizeLong() const { size_t PartitionExprVersion::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.PartitionRuleVersion) // @@protoc_insertion_point(message_byte_size_start:greptime.v1.PartitionExprVersion)
size_t total_size = 0; size_t total_size = 0;
uint32_t cached_has_bits = 0; uint32_t cached_has_bits = 0;
@@ -8695,17 +8695,17 @@ size_t PartitionRuleVersion::ByteSizeLong() const {
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); 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, ::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) { void PartitionExprVersion::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
auto* const _this = static_cast<PartitionRuleVersion*>(&to_msg); auto* const _this = static_cast<PartitionExprVersion*>(&to_msg);
auto& from = static_cast<const PartitionRuleVersion&>(from_msg); auto& from = static_cast<const PartitionExprVersion&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.PartitionRuleVersion) // @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.PartitionExprVersion)
GOOGLE_DCHECK_NE(&from, _this); GOOGLE_DCHECK_NE(&from, _this);
uint32_t cached_has_bits = 0; uint32_t cached_has_bits = 0;
(void) cached_has_bits; (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_); _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
} }
void PartitionRuleVersion::CopyFrom(const PartitionRuleVersion& from) { void PartitionExprVersion::CopyFrom(const PartitionExprVersion& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.PartitionRuleVersion) // @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.PartitionExprVersion)
if (&from == this) return; if (&from == this) return;
Clear(); Clear();
MergeFrom(from); MergeFrom(from);
} }
bool PartitionRuleVersion::IsInitialized() const { bool PartitionExprVersion::IsInitialized() const {
return true; return true;
} }
void PartitionRuleVersion::InternalSwap(PartitionRuleVersion* other) { void PartitionExprVersion::InternalSwap(PartitionExprVersion* other) {
using std::swap; using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_); _internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.value_, other->_impl_.value_); swap(_impl_.value_, other->_impl_.value_);
} }
::PROTOBUF_NAMESPACE_ID::Metadata PartitionRuleVersion::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata PartitionExprVersion::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, &descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
file_level_metadata_greptime_2fv1_2fcommon_2eproto[34]); 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) { Arena::CreateMaybeMessage< ::greptime::v1::ArrowIpc >(Arena* arena) {
return Arena::CreateMessageInternal< ::greptime::v1::ArrowIpc >(arena); return Arena::CreateMessageInternal< ::greptime::v1::ArrowIpc >(arena);
} }
template<> PROTOBUF_NOINLINE ::greptime::v1::PartitionRuleVersion* template<> PROTOBUF_NOINLINE ::greptime::v1::PartitionExprVersion*
Arena::CreateMaybeMessage< ::greptime::v1::PartitionRuleVersion >(Arena* arena) { Arena::CreateMaybeMessage< ::greptime::v1::PartitionExprVersion >(Arena* arena) {
return Arena::CreateMessageInternal< ::greptime::v1::PartitionRuleVersion >(arena); return Arena::CreateMessageInternal< ::greptime::v1::PartitionExprVersion >(arena);
} }
PROTOBUF_NAMESPACE_CLOSE PROTOBUF_NAMESPACE_CLOSE
+38 -38
View File
@@ -104,9 +104,9 @@ extern ListTypeExtensionDefaultTypeInternal _ListTypeExtension_default_instance_
class Metrics; class Metrics;
struct MetricsDefaultTypeInternal; struct MetricsDefaultTypeInternal;
extern MetricsDefaultTypeInternal _Metrics_default_instance_; extern MetricsDefaultTypeInternal _Metrics_default_instance_;
class PartitionRuleVersion; class PartitionExprVersion;
struct PartitionRuleVersionDefaultTypeInternal; struct PartitionExprVersionDefaultTypeInternal;
extern PartitionRuleVersionDefaultTypeInternal _PartitionRuleVersion_default_instance_; extern PartitionExprVersionDefaultTypeInternal _PartitionExprVersion_default_instance_;
class QueryContext; class QueryContext;
struct QueryContextDefaultTypeInternal; struct QueryContextDefaultTypeInternal;
extern QueryContextDefaultTypeInternal _QueryContext_default_instance_; 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::JsonNativeTypeExtension* Arena::CreateMaybeMessage<::greptime::v1::JsonNativeTypeExtension>(Arena*);
template<> ::greptime::v1::ListTypeExtension* Arena::CreateMaybeMessage<::greptime::v1::ListTypeExtension>(Arena*); template<> ::greptime::v1::ListTypeExtension* Arena::CreateMaybeMessage<::greptime::v1::ListTypeExtension>(Arena*);
template<> ::greptime::v1::Metrics* Arena::CreateMaybeMessage<::greptime::v1::Metrics>(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* Arena::CreateMaybeMessage<::greptime::v1::QueryContext>(Arena*);
template<> ::greptime::v1::QueryContext_ExtensionsEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::QueryContext_ExtensionsEntry_DoNotUse>(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*); template<> ::greptime::v1::RequestHeader* Arena::CreateMaybeMessage<::greptime::v1::RequestHeader>(Arena*);
@@ -5592,24 +5592,24 @@ class ArrowIpc final :
}; };
// ------------------------------------------------------------------- // -------------------------------------------------------------------
class PartitionRuleVersion final : class PartitionExprVersion final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.PartitionRuleVersion) */ { public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.PartitionExprVersion) */ {
public: public:
inline PartitionRuleVersion() : PartitionRuleVersion(nullptr) {} inline PartitionExprVersion() : PartitionExprVersion(nullptr) {}
~PartitionRuleVersion() override; ~PartitionExprVersion() override;
explicit PROTOBUF_CONSTEXPR PartitionRuleVersion(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); explicit PROTOBUF_CONSTEXPR PartitionExprVersion(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
PartitionRuleVersion(const PartitionRuleVersion& from); PartitionExprVersion(const PartitionExprVersion& from);
PartitionRuleVersion(PartitionRuleVersion&& from) noexcept PartitionExprVersion(PartitionExprVersion&& from) noexcept
: PartitionRuleVersion() { : PartitionExprVersion() {
*this = ::std::move(from); *this = ::std::move(from);
} }
inline PartitionRuleVersion& operator=(const PartitionRuleVersion& from) { inline PartitionExprVersion& operator=(const PartitionExprVersion& from) {
CopyFrom(from); CopyFrom(from);
return *this; return *this;
} }
inline PartitionRuleVersion& operator=(PartitionRuleVersion&& from) noexcept { inline PartitionExprVersion& operator=(PartitionExprVersion&& from) noexcept {
if (this == &from) return *this; if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena() if (GetOwningArena() == from.GetOwningArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
@@ -5632,20 +5632,20 @@ class PartitionRuleVersion final :
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection; return default_instance().GetMetadata().reflection;
} }
static const PartitionRuleVersion& default_instance() { static const PartitionExprVersion& default_instance() {
return *internal_default_instance(); return *internal_default_instance();
} }
static inline const PartitionRuleVersion* internal_default_instance() { static inline const PartitionExprVersion* internal_default_instance() {
return reinterpret_cast<const PartitionRuleVersion*>( return reinterpret_cast<const PartitionExprVersion*>(
&_PartitionRuleVersion_default_instance_); &_PartitionExprVersion_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
34; 34;
friend void swap(PartitionRuleVersion& a, PartitionRuleVersion& b) { friend void swap(PartitionExprVersion& a, PartitionExprVersion& b) {
a.Swap(&b); a.Swap(&b);
} }
inline void Swap(PartitionRuleVersion* other) { inline void Swap(PartitionExprVersion* other) {
if (other == this) return; if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() != nullptr && if (GetOwningArena() != nullptr &&
@@ -5658,7 +5658,7 @@ class PartitionRuleVersion final :
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
} }
} }
void UnsafeArenaSwap(PartitionRuleVersion* other) { void UnsafeArenaSwap(PartitionExprVersion* other) {
if (other == this) return; if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other); InternalSwap(other);
@@ -5666,14 +5666,14 @@ class PartitionRuleVersion final :
// implements Message ---------------------------------------------- // implements Message ----------------------------------------------
PartitionRuleVersion* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { PartitionExprVersion* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<PartitionRuleVersion>(arena); return CreateMaybeMessage<PartitionExprVersion>(arena);
} }
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const PartitionRuleVersion& from); void CopyFrom(const PartitionExprVersion& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom( const PartitionRuleVersion& from) { void MergeFrom( const PartitionExprVersion& from) {
PartitionRuleVersion::MergeImpl(*this, from); PartitionExprVersion::MergeImpl(*this, from);
} }
private: private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); 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 SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor(); void SharedDtor();
void SetCachedSize(int size) const final; void SetCachedSize(int size) const final;
void InternalSwap(PartitionRuleVersion* other); void InternalSwap(PartitionExprVersion* other);
private: private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "greptime.v1.PartitionRuleVersion"; return "greptime.v1.PartitionExprVersion";
} }
protected: protected:
explicit PartitionRuleVersion(::PROTOBUF_NAMESPACE_ID::Arena* arena, explicit PartitionExprVersion(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false); bool is_message_owned = false);
public: public:
@@ -5724,7 +5724,7 @@ class PartitionRuleVersion final :
void _internal_set_value(uint64_t value); void _internal_set_value(uint64_t value);
public: public:
// @@protoc_insertion_point(class_scope:greptime.v1.PartitionRuleVersion) // @@protoc_insertion_point(class_scope:greptime.v1.PartitionExprVersion)
private: private:
class _Internal; class _Internal;
@@ -9126,26 +9126,26 @@ inline void ArrowIpc::set_allocated_payload(std::string* payload) {
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// PartitionRuleVersion // PartitionExprVersion
// uint64 value = 1; // uint64 value = 1;
inline void PartitionRuleVersion::clear_value() { inline void PartitionExprVersion::clear_value() {
_impl_.value_ = uint64_t{0u}; _impl_.value_ = uint64_t{0u};
} }
inline uint64_t PartitionRuleVersion::_internal_value() const { inline uint64_t PartitionExprVersion::_internal_value() const {
return _impl_.value_; return _impl_.value_;
} }
inline uint64_t PartitionRuleVersion::value() const { inline uint64_t PartitionExprVersion::value() const {
// @@protoc_insertion_point(field_get:greptime.v1.PartitionRuleVersion.value) // @@protoc_insertion_point(field_get:greptime.v1.PartitionExprVersion.value)
return _internal_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; _impl_.value_ = value;
} }
inline void PartitionRuleVersion::set_value(uint64_t value) { inline void PartitionExprVersion::set_value(uint64_t value) {
_internal_set_value(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__ #ifdef __GNUC__
+32 -32
View File
@@ -92,7 +92,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT
PROTOBUF_CONSTEXPR InsertRequest::InsertRequest( PROTOBUF_CONSTEXPR InsertRequest::InsertRequest(
::_pbi::ConstantInitialized): _impl_{ ::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.rows_)*/nullptr /*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_.region_id_)*/uint64_t{0u}
, /*decltype(_impl_._cached_size_)*/{}} {} , /*decltype(_impl_._cached_size_)*/{}} {}
struct InsertRequestDefaultTypeInternal { struct InsertRequestDefaultTypeInternal {
@@ -261,7 +261,7 @@ const uint32_t TableStruct_greptime_2fv1_2fflow_2fserver_2eproto::offsets[] PROT
~0u, // no _inlined_string_donated_ ~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::InsertRequest, _impl_.region_id_), 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_.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_ ~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::FlowRequest, _internal_metadata_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::FlowRequest, _internal_metadata_),
~0u, // no _extensions_ ~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." "equests\0221\n\010requests\030\001 \003(\0132\037.greptime.v1."
"flow.InsertRequest\"\206\001\n\rInsertRequest\022\021\n\t" "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" "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" ".v1.Rows\022A\n\026partition_expr_version\030\003 \001(\013"
"2!.greptime.v1.PartitionRuleVersion\"\332\001\n\013" "2!.greptime.v1.PartitionExprVersion\"\332\001\n\013"
"FlowRequest\0223\n\006header\030@ \001(\0132#.greptime.v" "FlowRequest\0223\n\006header\030@ \001(\0132#.greptime.v"
"1.flow.FlowRequestHeader\0221\n\006create\030\001 \001(\013" "1.flow.FlowRequestHeader\0221\n\006create\030\001 \001(\013"
"2\037.greptime.v1.flow.CreateRequestH\000\022-\n\004d" "2\037.greptime.v1.flow.CreateRequestH\000\022-\n\004d"
@@ -1321,16 +1321,16 @@ void InsertRequests::InternalSwap(InsertRequests* other) {
class InsertRequest::_Internal { class InsertRequest::_Internal {
public: public:
static const ::greptime::v1::Rows& rows(const InsertRequest* msg); 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& const ::greptime::v1::Rows&
InsertRequest::_Internal::rows(const InsertRequest* msg) { InsertRequest::_Internal::rows(const InsertRequest* msg) {
return *msg->_impl_.rows_; return *msg->_impl_.rows_;
} }
const ::greptime::v1::PartitionRuleVersion& const ::greptime::v1::PartitionExprVersion&
InsertRequest::_Internal::partition_rule_version(const InsertRequest* msg) { InsertRequest::_Internal::partition_expr_version(const InsertRequest* msg) {
return *msg->_impl_.partition_rule_version_; return *msg->_impl_.partition_expr_version_;
} }
void InsertRequest::clear_rows() { void InsertRequest::clear_rows() {
if (GetArenaForAllocation() == nullptr && _impl_.rows_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.rows_ != nullptr) {
@@ -1338,11 +1338,11 @@ void InsertRequest::clear_rows() {
} }
_impl_.rows_ = nullptr; _impl_.rows_ = nullptr;
} }
void InsertRequest::clear_partition_rule_version() { void InsertRequest::clear_partition_expr_version() {
if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.partition_expr_version_ != nullptr) {
delete _impl_.partition_rule_version_; delete _impl_.partition_expr_version_;
} }
_impl_.partition_rule_version_ = nullptr; _impl_.partition_expr_version_ = nullptr;
} }
InsertRequest::InsertRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, InsertRequest::InsertRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned) bool is_message_owned)
@@ -1355,7 +1355,7 @@ InsertRequest::InsertRequest(const InsertRequest& from)
InsertRequest* const _this = this; (void)_this; InsertRequest* const _this = this; (void)_this;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.rows_){nullptr} decltype(_impl_.rows_){nullptr}
, decltype(_impl_.partition_rule_version_){nullptr} , decltype(_impl_.partition_expr_version_){nullptr}
, decltype(_impl_.region_id_){} , decltype(_impl_.region_id_){}
, /*decltype(_impl_._cached_size_)*/{}}; , /*decltype(_impl_._cached_size_)*/{}};
@@ -1363,8 +1363,8 @@ InsertRequest::InsertRequest(const InsertRequest& from)
if (from._internal_has_rows()) { if (from._internal_has_rows()) {
_this->_impl_.rows_ = new ::greptime::v1::Rows(*from._impl_.rows_); _this->_impl_.rows_ = new ::greptime::v1::Rows(*from._impl_.rows_);
} }
if (from._internal_has_partition_rule_version()) { if (from._internal_has_partition_expr_version()) {
_this->_impl_.partition_rule_version_ = new ::greptime::v1::PartitionRuleVersion(*from._impl_.partition_rule_version_); _this->_impl_.partition_expr_version_ = new ::greptime::v1::PartitionExprVersion(*from._impl_.partition_expr_version_);
} }
_this->_impl_.region_id_ = from._impl_.region_id_; _this->_impl_.region_id_ = from._impl_.region_id_;
// @@protoc_insertion_point(copy_constructor:greptime.v1.flow.InsertRequest) // @@protoc_insertion_point(copy_constructor:greptime.v1.flow.InsertRequest)
@@ -1376,7 +1376,7 @@ inline void InsertRequest::SharedCtor(
(void)is_message_owned; (void)is_message_owned;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.rows_){nullptr} 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_.region_id_){uint64_t{0u}}
, /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._cached_size_)*/{}
}; };
@@ -1394,7 +1394,7 @@ InsertRequest::~InsertRequest() {
inline void InsertRequest::SharedDtor() { inline void InsertRequest::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
if (this != internal_default_instance()) delete _impl_.rows_; 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 { void InsertRequest::SetCachedSize(int size) const {
@@ -1411,10 +1411,10 @@ void InsertRequest::Clear() {
delete _impl_.rows_; delete _impl_.rows_;
} }
_impl_.rows_ = nullptr; _impl_.rows_ = nullptr;
if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.partition_expr_version_ != nullptr) {
delete _impl_.partition_rule_version_; delete _impl_.partition_expr_version_;
} }
_impl_.partition_rule_version_ = nullptr; _impl_.partition_expr_version_ = nullptr;
_impl_.region_id_ = uint64_t{0u}; _impl_.region_id_ = uint64_t{0u};
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
} }
@@ -1441,10 +1441,10 @@ const char* InsertRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext*
} else } else
goto handle_unusual; goto handle_unusual;
continue; continue;
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
case 3: case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ctx->ParseMessage(_internal_mutable_partition_rule_version(), ptr); ptr = ctx->ParseMessage(_internal_mutable_partition_expr_version(), ptr);
CHK_(ptr); CHK_(ptr);
} else } else
goto handle_unusual; goto handle_unusual;
@@ -1491,11 +1491,11 @@ uint8_t* InsertRequest::_InternalSerialize(
_Internal::rows(this).GetCachedSize(), target, stream); _Internal::rows(this).GetCachedSize(), target, stream);
} }
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
if (this->_internal_has_partition_rule_version()) { if (this->_internal_has_partition_expr_version()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(3, _Internal::partition_rule_version(this), InternalWriteMessage(3, _Internal::partition_expr_version(this),
_Internal::partition_rule_version(this).GetCachedSize(), target, stream); _Internal::partition_expr_version(this).GetCachedSize(), target, stream);
} }
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@@ -1521,11 +1521,11 @@ size_t InsertRequest::ByteSizeLong() const {
*_impl_.rows_); *_impl_.rows_);
} }
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
if (this->_internal_has_partition_rule_version()) { if (this->_internal_has_partition_expr_version()) {
total_size += 1 + total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
*_impl_.partition_rule_version_); *_impl_.partition_expr_version_);
} }
// uint64 region_id = 1; // 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( _this->_internal_mutable_rows()->::greptime::v1::Rows::MergeFrom(
from._internal_rows()); from._internal_rows());
} }
if (from._internal_has_partition_rule_version()) { if (from._internal_has_partition_expr_version()) {
_this->_internal_mutable_partition_rule_version()->::greptime::v1::PartitionRuleVersion::MergeFrom( _this->_internal_mutable_partition_expr_version()->::greptime::v1::PartitionExprVersion::MergeFrom(
from._internal_partition_rule_version()); from._internal_partition_expr_version());
} }
if (from._internal_region_id() != 0) { if (from._internal_region_id() != 0) {
_this->_internal_set_region_id(from._internal_region_id()); _this->_internal_set_region_id(from._internal_region_id());
+56 -56
View File
@@ -936,7 +936,7 @@ class InsertRequest final :
enum : int { enum : int {
kRowsFieldNumber = 2, kRowsFieldNumber = 2,
kPartitionRuleVersionFieldNumber = 3, kPartitionExprVersionFieldNumber = 3,
kRegionIdFieldNumber = 1, kRegionIdFieldNumber = 1,
}; };
// .greptime.v1.Rows rows = 2; // .greptime.v1.Rows rows = 2;
@@ -957,23 +957,23 @@ class InsertRequest final :
::greptime::v1::Rows* rows); ::greptime::v1::Rows* rows);
::greptime::v1::Rows* unsafe_arena_release_rows(); ::greptime::v1::Rows* unsafe_arena_release_rows();
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
bool has_partition_rule_version() const; bool has_partition_expr_version() const;
private: private:
bool _internal_has_partition_rule_version() const; bool _internal_has_partition_expr_version() const;
public: public:
void clear_partition_rule_version(); void clear_partition_expr_version();
const ::greptime::v1::PartitionRuleVersion& partition_rule_version() const; const ::greptime::v1::PartitionExprVersion& partition_expr_version() const;
PROTOBUF_NODISCARD ::greptime::v1::PartitionRuleVersion* release_partition_rule_version(); PROTOBUF_NODISCARD ::greptime::v1::PartitionExprVersion* release_partition_expr_version();
::greptime::v1::PartitionRuleVersion* mutable_partition_rule_version(); ::greptime::v1::PartitionExprVersion* mutable_partition_expr_version();
void set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version); void set_allocated_partition_expr_version(::greptime::v1::PartitionExprVersion* partition_expr_version);
private: private:
const ::greptime::v1::PartitionRuleVersion& _internal_partition_rule_version() const; const ::greptime::v1::PartitionExprVersion& _internal_partition_expr_version() const;
::greptime::v1::PartitionRuleVersion* _internal_mutable_partition_rule_version(); ::greptime::v1::PartitionExprVersion* _internal_mutable_partition_expr_version();
public: public:
void unsafe_arena_set_allocated_partition_rule_version( void unsafe_arena_set_allocated_partition_expr_version(
::greptime::v1::PartitionRuleVersion* partition_rule_version); ::greptime::v1::PartitionExprVersion* partition_expr_version);
::greptime::v1::PartitionRuleVersion* unsafe_arena_release_partition_rule_version(); ::greptime::v1::PartitionExprVersion* unsafe_arena_release_partition_expr_version();
// uint64 region_id = 1; // uint64 region_id = 1;
void clear_region_id(); void clear_region_id();
@@ -993,7 +993,7 @@ class InsertRequest final :
typedef void DestructorSkippable_; typedef void DestructorSkippable_;
struct Impl_ { struct Impl_ {
::greptime::v1::Rows* rows_; ::greptime::v1::Rows* rows_;
::greptime::v1::PartitionRuleVersion* partition_rule_version_; ::greptime::v1::PartitionExprVersion* partition_expr_version_;
uint64_t region_id_; uint64_t region_id_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; 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) // @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.InsertRequest.rows)
} }
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
inline bool InsertRequest::_internal_has_partition_rule_version() const { inline bool InsertRequest::_internal_has_partition_expr_version() const {
return this != internal_default_instance() && _impl_.partition_rule_version_ != nullptr; return this != internal_default_instance() && _impl_.partition_expr_version_ != nullptr;
} }
inline bool InsertRequest::has_partition_rule_version() const { inline bool InsertRequest::has_partition_expr_version() const {
return _internal_has_partition_rule_version(); return _internal_has_partition_expr_version();
} }
inline const ::greptime::v1::PartitionRuleVersion& InsertRequest::_internal_partition_rule_version() const { inline const ::greptime::v1::PartitionExprVersion& InsertRequest::_internal_partition_expr_version() const {
const ::greptime::v1::PartitionRuleVersion* p = _impl_.partition_rule_version_; const ::greptime::v1::PartitionExprVersion* p = _impl_.partition_expr_version_;
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::PartitionRuleVersion&>( return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::PartitionExprVersion&>(
::greptime::v1::_PartitionRuleVersion_default_instance_); ::greptime::v1::_PartitionExprVersion_default_instance_);
} }
inline const ::greptime::v1::PartitionRuleVersion& InsertRequest::partition_rule_version() const { inline const ::greptime::v1::PartitionExprVersion& InsertRequest::partition_expr_version() const {
// @@protoc_insertion_point(field_get:greptime.v1.flow.InsertRequest.partition_rule_version) // @@protoc_insertion_point(field_get:greptime.v1.flow.InsertRequest.partition_expr_version)
return _internal_partition_rule_version(); return _internal_partition_expr_version();
} }
inline void InsertRequest::unsafe_arena_set_allocated_partition_rule_version( inline void InsertRequest::unsafe_arena_set_allocated_partition_expr_version(
::greptime::v1::PartitionRuleVersion* partition_rule_version) { ::greptime::v1::PartitionExprVersion* partition_expr_version) {
if (GetArenaForAllocation() == nullptr) { 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; _impl_.partition_expr_version_ = partition_expr_version;
if (partition_rule_version) { if (partition_expr_version) {
} else { } 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_; ::greptime::v1::PartitionExprVersion* temp = _impl_.partition_expr_version_;
_impl_.partition_rule_version_ = nullptr; _impl_.partition_expr_version_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(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 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp; return temp;
} }
inline ::greptime::v1::PartitionRuleVersion* InsertRequest::unsafe_arena_release_partition_rule_version() { inline ::greptime::v1::PartitionExprVersion* InsertRequest::unsafe_arena_release_partition_expr_version() {
// @@protoc_insertion_point(field_release:greptime.v1.flow.InsertRequest.partition_rule_version) // @@protoc_insertion_point(field_release:greptime.v1.flow.InsertRequest.partition_expr_version)
::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; ::greptime::v1::PartitionExprVersion* temp = _impl_.partition_expr_version_;
_impl_.partition_rule_version_ = nullptr; _impl_.partition_expr_version_ = nullptr;
return temp; 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) { if (_impl_.partition_expr_version_ == nullptr) {
auto* p = CreateMaybeMessage<::greptime::v1::PartitionRuleVersion>(GetArenaForAllocation()); auto* p = CreateMaybeMessage<::greptime::v1::PartitionExprVersion>(GetArenaForAllocation());
_impl_.partition_rule_version_ = p; _impl_.partition_expr_version_ = p;
} }
return _impl_.partition_rule_version_; return _impl_.partition_expr_version_;
} }
inline ::greptime::v1::PartitionRuleVersion* InsertRequest::mutable_partition_rule_version() { inline ::greptime::v1::PartitionExprVersion* InsertRequest::mutable_partition_expr_version() {
::greptime::v1::PartitionRuleVersion* _msg = _internal_mutable_partition_rule_version(); ::greptime::v1::PartitionExprVersion* _msg = _internal_mutable_partition_expr_version();
// @@protoc_insertion_point(field_mutable:greptime.v1.flow.InsertRequest.partition_rule_version) // @@protoc_insertion_point(field_mutable:greptime.v1.flow.InsertRequest.partition_expr_version)
return _msg; 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(); ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) { 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* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( ::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) { if (message_arena != submessage_arena) {
partition_rule_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( partition_expr_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, partition_rule_version, submessage_arena); message_arena, partition_expr_version, submessage_arena);
} }
} else { } else {
} }
_impl_.partition_rule_version_ = partition_rule_version; _impl_.partition_expr_version_ = partition_expr_version;
// @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.InsertRequest.partition_rule_version) // @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.InsertRequest.partition_expr_version)
} }
// ------------------------------------------------------------------- // -------------------------------------------------------------------
+99 -99
View File
@@ -120,7 +120,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT
PROTOBUF_CONSTEXPR InsertRequest::InsertRequest( PROTOBUF_CONSTEXPR InsertRequest::InsertRequest(
::_pbi::ConstantInitialized): _impl_{ ::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.rows_)*/nullptr /*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_.region_id_)*/uint64_t{0u}
, /*decltype(_impl_._cached_size_)*/{}} {} , /*decltype(_impl_._cached_size_)*/{}} {}
struct InsertRequestDefaultTypeInternal { struct InsertRequestDefaultTypeInternal {
@@ -135,7 +135,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT
PROTOBUF_CONSTEXPR DeleteRequest::DeleteRequest( PROTOBUF_CONSTEXPR DeleteRequest::DeleteRequest(
::_pbi::ConstantInitialized): _impl_{ ::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.rows_)*/nullptr /*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_.region_id_)*/uint64_t{0u}
, /*decltype(_impl_._cached_size_)*/{}} {} , /*decltype(_impl_._cached_size_)*/{}} {}
struct DeleteRequestDefaultTypeInternal { struct DeleteRequestDefaultTypeInternal {
@@ -465,7 +465,7 @@ struct RegionColumnDefDefaultTypeInternal {
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RegionColumnDefDefaultTypeInternal _RegionColumnDef_default_instance_; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RegionColumnDefDefaultTypeInternal _RegionColumnDef_default_instance_;
PROTOBUF_CONSTEXPR BulkInsertRequest::BulkInsertRequest( PROTOBUF_CONSTEXPR BulkInsertRequest::BulkInsertRequest(
::_pbi::ConstantInitialized): _impl_{ ::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.partition_rule_version_)*/nullptr /*decltype(_impl_.partition_expr_version_)*/nullptr
, /*decltype(_impl_.region_id_)*/uint64_t{0u} , /*decltype(_impl_.region_id_)*/uint64_t{0u}
, /*decltype(_impl_.body_)*/{} , /*decltype(_impl_.body_)*/{}
, /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._cached_size_)*/{}
@@ -672,7 +672,7 @@ const uint32_t TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets[] PR
~0u, // no _inlined_string_donated_ ~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::InsertRequest, _impl_.region_id_), 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_.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_ ~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::DeleteRequest, _internal_metadata_), PROTOBUF_FIELD_OFFSET(::greptime::v1::region::DeleteRequest, _internal_metadata_),
~0u, // no _extensions_ ~0u, // no _extensions_
@@ -681,7 +681,7 @@ const uint32_t TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets[] PR
~0u, // no _inlined_string_donated_ ~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::DeleteRequest, _impl_.region_id_), 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_.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_ ~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::QueryRequest, _internal_metadata_), PROTOBUF_FIELD_OFFSET(::greptime::v1::region::QueryRequest, _internal_metadata_),
~0u, // no _extensions_ ~0u, // no _extensions_
@@ -892,7 +892,7 @@ const uint32_t TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets[] PR
~0u, // no _inlined_string_donated_ ~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.region_id_), PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.region_id_),
::_pbi::kInvalidFieldOffsetTag, ::_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_), PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.body_),
~0u, // no _has_bits_ ~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::MitoManifestInfo, _internal_metadata_), 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" "uests\030\001 \003(\0132!.greptime.v1.region.DeleteR"
"equest\"\206\001\n\rInsertRequest\022\021\n\tregion_id\030\001 " "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" "\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." "partition_expr_version\030\003 \001(\0132!.greptime."
"v1.PartitionRuleVersion\"\206\001\n\rDeleteReques" "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" "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" "ptime.v1.Rows\022A\n\026partition_expr_version\030"
"\003 \001(\0132!.greptime.v1.PartitionRuleVersion" "\003 \001(\0132!.greptime.v1.PartitionExprVersion"
"\"h\n\014QueryRequest\0227\n\006header\030\001 \001(\0132\'.grept" "\"h\n\014QueryRequest\0227\n\006header\030\001 \001(\0132\'.grept"
"ime.v1.region.RegionRequestHeader\022\021\n\treg" "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" "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" "greptime.v1.ColumnDef\022\021\n\tcolumn_id\030\002 \001(\r"
"\"\235\001\n\021BulkInsertRequest\022\021\n\tregion_id\030\001 \001(" "\"\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" "\004\022*\n\tarrow_ipc\030\002 \001(\0132\025.greptime.v1.Arrow"
"IpcH\000\022A\n\026partition_rule_version\030\003 \001(\0132!." "IpcH\000\022A\n\026partition_expr_version\030\003 \001(\0132!."
"greptime.v1.PartitionRuleVersionB\006\n\004body" "greptime.v1.PartitionExprVersionB\006\n\004body"
"\"1\n\020MitoManifestInfo\022\035\n\025data_manifest_ve" "\"1\n\020MitoManifestInfo\022\035\n\025data_manifest_ve"
"rsion\030\001 \001(\004\"V\n\022MetricManifestInfo\022\035\n\025dat" "rsion\030\001 \001(\004\"V\n\022MetricManifestInfo\022\035\n\025dat"
"a_manifest_version\030\001 \001(\004\022!\n\031metadata_man" "a_manifest_version\030\001 \001(\004\022!\n\031metadata_man"
@@ -3540,16 +3540,16 @@ void DeleteRequests::InternalSwap(DeleteRequests* other) {
class InsertRequest::_Internal { class InsertRequest::_Internal {
public: public:
static const ::greptime::v1::Rows& rows(const InsertRequest* msg); 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& const ::greptime::v1::Rows&
InsertRequest::_Internal::rows(const InsertRequest* msg) { InsertRequest::_Internal::rows(const InsertRequest* msg) {
return *msg->_impl_.rows_; return *msg->_impl_.rows_;
} }
const ::greptime::v1::PartitionRuleVersion& const ::greptime::v1::PartitionExprVersion&
InsertRequest::_Internal::partition_rule_version(const InsertRequest* msg) { InsertRequest::_Internal::partition_expr_version(const InsertRequest* msg) {
return *msg->_impl_.partition_rule_version_; return *msg->_impl_.partition_expr_version_;
} }
void InsertRequest::clear_rows() { void InsertRequest::clear_rows() {
if (GetArenaForAllocation() == nullptr && _impl_.rows_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.rows_ != nullptr) {
@@ -3557,11 +3557,11 @@ void InsertRequest::clear_rows() {
} }
_impl_.rows_ = nullptr; _impl_.rows_ = nullptr;
} }
void InsertRequest::clear_partition_rule_version() { void InsertRequest::clear_partition_expr_version() {
if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.partition_expr_version_ != nullptr) {
delete _impl_.partition_rule_version_; delete _impl_.partition_expr_version_;
} }
_impl_.partition_rule_version_ = nullptr; _impl_.partition_expr_version_ = nullptr;
} }
InsertRequest::InsertRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, InsertRequest::InsertRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned) bool is_message_owned)
@@ -3574,7 +3574,7 @@ InsertRequest::InsertRequest(const InsertRequest& from)
InsertRequest* const _this = this; (void)_this; InsertRequest* const _this = this; (void)_this;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.rows_){nullptr} decltype(_impl_.rows_){nullptr}
, decltype(_impl_.partition_rule_version_){nullptr} , decltype(_impl_.partition_expr_version_){nullptr}
, decltype(_impl_.region_id_){} , decltype(_impl_.region_id_){}
, /*decltype(_impl_._cached_size_)*/{}}; , /*decltype(_impl_._cached_size_)*/{}};
@@ -3582,8 +3582,8 @@ InsertRequest::InsertRequest(const InsertRequest& from)
if (from._internal_has_rows()) { if (from._internal_has_rows()) {
_this->_impl_.rows_ = new ::greptime::v1::Rows(*from._impl_.rows_); _this->_impl_.rows_ = new ::greptime::v1::Rows(*from._impl_.rows_);
} }
if (from._internal_has_partition_rule_version()) { if (from._internal_has_partition_expr_version()) {
_this->_impl_.partition_rule_version_ = new ::greptime::v1::PartitionRuleVersion(*from._impl_.partition_rule_version_); _this->_impl_.partition_expr_version_ = new ::greptime::v1::PartitionExprVersion(*from._impl_.partition_expr_version_);
} }
_this->_impl_.region_id_ = from._impl_.region_id_; _this->_impl_.region_id_ = from._impl_.region_id_;
// @@protoc_insertion_point(copy_constructor:greptime.v1.region.InsertRequest) // @@protoc_insertion_point(copy_constructor:greptime.v1.region.InsertRequest)
@@ -3595,7 +3595,7 @@ inline void InsertRequest::SharedCtor(
(void)is_message_owned; (void)is_message_owned;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.rows_){nullptr} 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_.region_id_){uint64_t{0u}}
, /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._cached_size_)*/{}
}; };
@@ -3613,7 +3613,7 @@ InsertRequest::~InsertRequest() {
inline void InsertRequest::SharedDtor() { inline void InsertRequest::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
if (this != internal_default_instance()) delete _impl_.rows_; 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 { void InsertRequest::SetCachedSize(int size) const {
@@ -3630,10 +3630,10 @@ void InsertRequest::Clear() {
delete _impl_.rows_; delete _impl_.rows_;
} }
_impl_.rows_ = nullptr; _impl_.rows_ = nullptr;
if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.partition_expr_version_ != nullptr) {
delete _impl_.partition_rule_version_; delete _impl_.partition_expr_version_;
} }
_impl_.partition_rule_version_ = nullptr; _impl_.partition_expr_version_ = nullptr;
_impl_.region_id_ = uint64_t{0u}; _impl_.region_id_ = uint64_t{0u};
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
} }
@@ -3660,10 +3660,10 @@ const char* InsertRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext*
} else } else
goto handle_unusual; goto handle_unusual;
continue; continue;
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
case 3: case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ctx->ParseMessage(_internal_mutable_partition_rule_version(), ptr); ptr = ctx->ParseMessage(_internal_mutable_partition_expr_version(), ptr);
CHK_(ptr); CHK_(ptr);
} else } else
goto handle_unusual; goto handle_unusual;
@@ -3710,11 +3710,11 @@ uint8_t* InsertRequest::_InternalSerialize(
_Internal::rows(this).GetCachedSize(), target, stream); _Internal::rows(this).GetCachedSize(), target, stream);
} }
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
if (this->_internal_has_partition_rule_version()) { if (this->_internal_has_partition_expr_version()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(3, _Internal::partition_rule_version(this), InternalWriteMessage(3, _Internal::partition_expr_version(this),
_Internal::partition_rule_version(this).GetCachedSize(), target, stream); _Internal::partition_expr_version(this).GetCachedSize(), target, stream);
} }
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@@ -3740,11 +3740,11 @@ size_t InsertRequest::ByteSizeLong() const {
*_impl_.rows_); *_impl_.rows_);
} }
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
if (this->_internal_has_partition_rule_version()) { if (this->_internal_has_partition_expr_version()) {
total_size += 1 + total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
*_impl_.partition_rule_version_); *_impl_.partition_expr_version_);
} }
// uint64 region_id = 1; // 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( _this->_internal_mutable_rows()->::greptime::v1::Rows::MergeFrom(
from._internal_rows()); from._internal_rows());
} }
if (from._internal_has_partition_rule_version()) { if (from._internal_has_partition_expr_version()) {
_this->_internal_mutable_partition_rule_version()->::greptime::v1::PartitionRuleVersion::MergeFrom( _this->_internal_mutable_partition_expr_version()->::greptime::v1::PartitionExprVersion::MergeFrom(
from._internal_partition_rule_version()); from._internal_partition_expr_version());
} }
if (from._internal_region_id() != 0) { if (from._internal_region_id() != 0) {
_this->_internal_set_region_id(from._internal_region_id()); _this->_internal_set_region_id(from._internal_region_id());
@@ -3817,16 +3817,16 @@ void InsertRequest::InternalSwap(InsertRequest* other) {
class DeleteRequest::_Internal { class DeleteRequest::_Internal {
public: public:
static const ::greptime::v1::Rows& rows(const DeleteRequest* msg); 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& const ::greptime::v1::Rows&
DeleteRequest::_Internal::rows(const DeleteRequest* msg) { DeleteRequest::_Internal::rows(const DeleteRequest* msg) {
return *msg->_impl_.rows_; return *msg->_impl_.rows_;
} }
const ::greptime::v1::PartitionRuleVersion& const ::greptime::v1::PartitionExprVersion&
DeleteRequest::_Internal::partition_rule_version(const DeleteRequest* msg) { DeleteRequest::_Internal::partition_expr_version(const DeleteRequest* msg) {
return *msg->_impl_.partition_rule_version_; return *msg->_impl_.partition_expr_version_;
} }
void DeleteRequest::clear_rows() { void DeleteRequest::clear_rows() {
if (GetArenaForAllocation() == nullptr && _impl_.rows_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.rows_ != nullptr) {
@@ -3834,11 +3834,11 @@ void DeleteRequest::clear_rows() {
} }
_impl_.rows_ = nullptr; _impl_.rows_ = nullptr;
} }
void DeleteRequest::clear_partition_rule_version() { void DeleteRequest::clear_partition_expr_version() {
if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.partition_expr_version_ != nullptr) {
delete _impl_.partition_rule_version_; delete _impl_.partition_expr_version_;
} }
_impl_.partition_rule_version_ = nullptr; _impl_.partition_expr_version_ = nullptr;
} }
DeleteRequest::DeleteRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, DeleteRequest::DeleteRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned) bool is_message_owned)
@@ -3851,7 +3851,7 @@ DeleteRequest::DeleteRequest(const DeleteRequest& from)
DeleteRequest* const _this = this; (void)_this; DeleteRequest* const _this = this; (void)_this;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.rows_){nullptr} decltype(_impl_.rows_){nullptr}
, decltype(_impl_.partition_rule_version_){nullptr} , decltype(_impl_.partition_expr_version_){nullptr}
, decltype(_impl_.region_id_){} , decltype(_impl_.region_id_){}
, /*decltype(_impl_._cached_size_)*/{}}; , /*decltype(_impl_._cached_size_)*/{}};
@@ -3859,8 +3859,8 @@ DeleteRequest::DeleteRequest(const DeleteRequest& from)
if (from._internal_has_rows()) { if (from._internal_has_rows()) {
_this->_impl_.rows_ = new ::greptime::v1::Rows(*from._impl_.rows_); _this->_impl_.rows_ = new ::greptime::v1::Rows(*from._impl_.rows_);
} }
if (from._internal_has_partition_rule_version()) { if (from._internal_has_partition_expr_version()) {
_this->_impl_.partition_rule_version_ = new ::greptime::v1::PartitionRuleVersion(*from._impl_.partition_rule_version_); _this->_impl_.partition_expr_version_ = new ::greptime::v1::PartitionExprVersion(*from._impl_.partition_expr_version_);
} }
_this->_impl_.region_id_ = from._impl_.region_id_; _this->_impl_.region_id_ = from._impl_.region_id_;
// @@protoc_insertion_point(copy_constructor:greptime.v1.region.DeleteRequest) // @@protoc_insertion_point(copy_constructor:greptime.v1.region.DeleteRequest)
@@ -3872,7 +3872,7 @@ inline void DeleteRequest::SharedCtor(
(void)is_message_owned; (void)is_message_owned;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.rows_){nullptr} 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_.region_id_){uint64_t{0u}}
, /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._cached_size_)*/{}
}; };
@@ -3890,7 +3890,7 @@ DeleteRequest::~DeleteRequest() {
inline void DeleteRequest::SharedDtor() { inline void DeleteRequest::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
if (this != internal_default_instance()) delete _impl_.rows_; 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 { void DeleteRequest::SetCachedSize(int size) const {
@@ -3907,10 +3907,10 @@ void DeleteRequest::Clear() {
delete _impl_.rows_; delete _impl_.rows_;
} }
_impl_.rows_ = nullptr; _impl_.rows_ = nullptr;
if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.partition_expr_version_ != nullptr) {
delete _impl_.partition_rule_version_; delete _impl_.partition_expr_version_;
} }
_impl_.partition_rule_version_ = nullptr; _impl_.partition_expr_version_ = nullptr;
_impl_.region_id_ = uint64_t{0u}; _impl_.region_id_ = uint64_t{0u};
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
} }
@@ -3937,10 +3937,10 @@ const char* DeleteRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext*
} else } else
goto handle_unusual; goto handle_unusual;
continue; continue;
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
case 3: case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ctx->ParseMessage(_internal_mutable_partition_rule_version(), ptr); ptr = ctx->ParseMessage(_internal_mutable_partition_expr_version(), ptr);
CHK_(ptr); CHK_(ptr);
} else } else
goto handle_unusual; goto handle_unusual;
@@ -3987,11 +3987,11 @@ uint8_t* DeleteRequest::_InternalSerialize(
_Internal::rows(this).GetCachedSize(), target, stream); _Internal::rows(this).GetCachedSize(), target, stream);
} }
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
if (this->_internal_has_partition_rule_version()) { if (this->_internal_has_partition_expr_version()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(3, _Internal::partition_rule_version(this), InternalWriteMessage(3, _Internal::partition_expr_version(this),
_Internal::partition_rule_version(this).GetCachedSize(), target, stream); _Internal::partition_expr_version(this).GetCachedSize(), target, stream);
} }
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@@ -4017,11 +4017,11 @@ size_t DeleteRequest::ByteSizeLong() const {
*_impl_.rows_); *_impl_.rows_);
} }
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
if (this->_internal_has_partition_rule_version()) { if (this->_internal_has_partition_expr_version()) {
total_size += 1 + total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
*_impl_.partition_rule_version_); *_impl_.partition_expr_version_);
} }
// uint64 region_id = 1; // 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( _this->_internal_mutable_rows()->::greptime::v1::Rows::MergeFrom(
from._internal_rows()); from._internal_rows());
} }
if (from._internal_has_partition_rule_version()) { if (from._internal_has_partition_expr_version()) {
_this->_internal_mutable_partition_rule_version()->::greptime::v1::PartitionRuleVersion::MergeFrom( _this->_internal_mutable_partition_expr_version()->::greptime::v1::PartitionExprVersion::MergeFrom(
from._internal_partition_rule_version()); from._internal_partition_expr_version());
} }
if (from._internal_region_id() != 0) { if (from._internal_region_id() != 0) {
_this->_internal_set_region_id(from._internal_region_id()); _this->_internal_set_region_id(from._internal_region_id());
@@ -9610,16 +9610,16 @@ void RegionColumnDef::InternalSwap(RegionColumnDef* other) {
class BulkInsertRequest::_Internal { class BulkInsertRequest::_Internal {
public: public:
static const ::greptime::v1::ArrowIpc& arrow_ipc(const BulkInsertRequest* msg); 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& const ::greptime::v1::ArrowIpc&
BulkInsertRequest::_Internal::arrow_ipc(const BulkInsertRequest* msg) { BulkInsertRequest::_Internal::arrow_ipc(const BulkInsertRequest* msg) {
return *msg->_impl_.body_.arrow_ipc_; return *msg->_impl_.body_.arrow_ipc_;
} }
const ::greptime::v1::PartitionRuleVersion& const ::greptime::v1::PartitionExprVersion&
BulkInsertRequest::_Internal::partition_rule_version(const BulkInsertRequest* msg) { BulkInsertRequest::_Internal::partition_expr_version(const BulkInsertRequest* msg) {
return *msg->_impl_.partition_rule_version_; return *msg->_impl_.partition_expr_version_;
} }
void BulkInsertRequest::set_allocated_arrow_ipc(::greptime::v1::ArrowIpc* arrow_ipc) { void BulkInsertRequest::set_allocated_arrow_ipc(::greptime::v1::ArrowIpc* arrow_ipc) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
@@ -9645,11 +9645,11 @@ void BulkInsertRequest::clear_arrow_ipc() {
clear_has_body(); clear_has_body();
} }
} }
void BulkInsertRequest::clear_partition_rule_version() { void BulkInsertRequest::clear_partition_expr_version() {
if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.partition_expr_version_ != nullptr) {
delete _impl_.partition_rule_version_; delete _impl_.partition_expr_version_;
} }
_impl_.partition_rule_version_ = nullptr; _impl_.partition_expr_version_ = nullptr;
} }
BulkInsertRequest::BulkInsertRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, BulkInsertRequest::BulkInsertRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned) bool is_message_owned)
@@ -9661,15 +9661,15 @@ BulkInsertRequest::BulkInsertRequest(const BulkInsertRequest& from)
: ::PROTOBUF_NAMESPACE_ID::Message() { : ::PROTOBUF_NAMESPACE_ID::Message() {
BulkInsertRequest* const _this = this; (void)_this; BulkInsertRequest* const _this = this; (void)_this;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.partition_rule_version_){nullptr} decltype(_impl_.partition_expr_version_){nullptr}
, decltype(_impl_.region_id_){} , decltype(_impl_.region_id_){}
, decltype(_impl_.body_){} , decltype(_impl_.body_){}
, /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._cached_size_)*/{}
, /*decltype(_impl_._oneof_case_)*/{}}; , /*decltype(_impl_._oneof_case_)*/{}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
if (from._internal_has_partition_rule_version()) { if (from._internal_has_partition_expr_version()) {
_this->_impl_.partition_rule_version_ = new ::greptime::v1::PartitionRuleVersion(*from._impl_.partition_rule_version_); _this->_impl_.partition_expr_version_ = new ::greptime::v1::PartitionExprVersion(*from._impl_.partition_expr_version_);
} }
_this->_impl_.region_id_ = from._impl_.region_id_; _this->_impl_.region_id_ = from._impl_.region_id_;
clear_has_body(); clear_has_body();
@@ -9691,7 +9691,7 @@ inline void BulkInsertRequest::SharedCtor(
(void)arena; (void)arena;
(void)is_message_owned; (void)is_message_owned;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.partition_rule_version_){nullptr} decltype(_impl_.partition_expr_version_){nullptr}
, decltype(_impl_.region_id_){uint64_t{0u}} , decltype(_impl_.region_id_){uint64_t{0u}}
, decltype(_impl_.body_){} , decltype(_impl_.body_){}
, /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._cached_size_)*/{}
@@ -9711,7 +9711,7 @@ BulkInsertRequest::~BulkInsertRequest() {
inline void BulkInsertRequest::SharedDtor() { inline void BulkInsertRequest::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); 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()) { if (has_body()) {
clear_body(); clear_body();
} }
@@ -9744,10 +9744,10 @@ void BulkInsertRequest::Clear() {
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits; (void) cached_has_bits;
if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.partition_expr_version_ != nullptr) {
delete _impl_.partition_rule_version_; delete _impl_.partition_expr_version_;
} }
_impl_.partition_rule_version_ = nullptr; _impl_.partition_expr_version_ = nullptr;
_impl_.region_id_ = uint64_t{0u}; _impl_.region_id_ = uint64_t{0u};
clear_body(); clear_body();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
@@ -9775,10 +9775,10 @@ const char* BulkInsertRequest::_InternalParse(const char* ptr, ::_pbi::ParseCont
} else } else
goto handle_unusual; goto handle_unusual;
continue; continue;
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
case 3: case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) { if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
ptr = ctx->ParseMessage(_internal_mutable_partition_rule_version(), ptr); ptr = ctx->ParseMessage(_internal_mutable_partition_expr_version(), ptr);
CHK_(ptr); CHK_(ptr);
} else } else
goto handle_unusual; goto handle_unusual;
@@ -9825,11 +9825,11 @@ uint8_t* BulkInsertRequest::_InternalSerialize(
_Internal::arrow_ipc(this).GetCachedSize(), target, stream); _Internal::arrow_ipc(this).GetCachedSize(), target, stream);
} }
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
if (this->_internal_has_partition_rule_version()) { if (this->_internal_has_partition_expr_version()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(3, _Internal::partition_rule_version(this), InternalWriteMessage(3, _Internal::partition_expr_version(this),
_Internal::partition_rule_version(this).GetCachedSize(), target, stream); _Internal::partition_expr_version(this).GetCachedSize(), target, stream);
} }
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { 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 // Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits; (void) cached_has_bits;
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
if (this->_internal_has_partition_rule_version()) { if (this->_internal_has_partition_expr_version()) {
total_size += 1 + total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
*_impl_.partition_rule_version_); *_impl_.partition_expr_version_);
} }
// uint64 region_id = 1; // uint64 region_id = 1;
@@ -9890,9 +9890,9 @@ void BulkInsertRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, cons
uint32_t cached_has_bits = 0; uint32_t cached_has_bits = 0;
(void) cached_has_bits; (void) cached_has_bits;
if (from._internal_has_partition_rule_version()) { if (from._internal_has_partition_expr_version()) {
_this->_internal_mutable_partition_rule_version()->::greptime::v1::PartitionRuleVersion::MergeFrom( _this->_internal_mutable_partition_expr_version()->::greptime::v1::PartitionExprVersion::MergeFrom(
from._internal_partition_rule_version()); from._internal_partition_expr_version());
} }
if (from._internal_region_id() != 0) { if (from._internal_region_id() != 0) {
_this->_internal_set_region_id(from._internal_region_id()); _this->_internal_set_region_id(from._internal_region_id());
@@ -9927,9 +9927,9 @@ void BulkInsertRequest::InternalSwap(BulkInsertRequest* other) {
::PROTOBUF_NAMESPACE_ID::internal::memswap< ::PROTOBUF_NAMESPACE_ID::internal::memswap<
PROTOBUF_FIELD_OFFSET(BulkInsertRequest, _impl_.region_id_) PROTOBUF_FIELD_OFFSET(BulkInsertRequest, _impl_.region_id_)
+ sizeof(BulkInsertRequest::_impl_.region_id_) + sizeof(BulkInsertRequest::_impl_.region_id_)
- PROTOBUF_FIELD_OFFSET(BulkInsertRequest, _impl_.partition_rule_version_)>( - PROTOBUF_FIELD_OFFSET(BulkInsertRequest, _impl_.partition_expr_version_)>(
reinterpret_cast<char*>(&_impl_.partition_rule_version_), reinterpret_cast<char*>(&_impl_.partition_expr_version_),
reinterpret_cast<char*>(&other->_impl_.partition_rule_version_)); reinterpret_cast<char*>(&other->_impl_.partition_expr_version_));
swap(_impl_.body_, other->_impl_.body_); swap(_impl_.body_, other->_impl_.body_);
swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
} }
+168 -168
View File
@@ -1693,7 +1693,7 @@ class InsertRequest final :
enum : int { enum : int {
kRowsFieldNumber = 2, kRowsFieldNumber = 2,
kPartitionRuleVersionFieldNumber = 3, kPartitionExprVersionFieldNumber = 3,
kRegionIdFieldNumber = 1, kRegionIdFieldNumber = 1,
}; };
// .greptime.v1.Rows rows = 2; // .greptime.v1.Rows rows = 2;
@@ -1714,23 +1714,23 @@ class InsertRequest final :
::greptime::v1::Rows* rows); ::greptime::v1::Rows* rows);
::greptime::v1::Rows* unsafe_arena_release_rows(); ::greptime::v1::Rows* unsafe_arena_release_rows();
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
bool has_partition_rule_version() const; bool has_partition_expr_version() const;
private: private:
bool _internal_has_partition_rule_version() const; bool _internal_has_partition_expr_version() const;
public: public:
void clear_partition_rule_version(); void clear_partition_expr_version();
const ::greptime::v1::PartitionRuleVersion& partition_rule_version() const; const ::greptime::v1::PartitionExprVersion& partition_expr_version() const;
PROTOBUF_NODISCARD ::greptime::v1::PartitionRuleVersion* release_partition_rule_version(); PROTOBUF_NODISCARD ::greptime::v1::PartitionExprVersion* release_partition_expr_version();
::greptime::v1::PartitionRuleVersion* mutable_partition_rule_version(); ::greptime::v1::PartitionExprVersion* mutable_partition_expr_version();
void set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version); void set_allocated_partition_expr_version(::greptime::v1::PartitionExprVersion* partition_expr_version);
private: private:
const ::greptime::v1::PartitionRuleVersion& _internal_partition_rule_version() const; const ::greptime::v1::PartitionExprVersion& _internal_partition_expr_version() const;
::greptime::v1::PartitionRuleVersion* _internal_mutable_partition_rule_version(); ::greptime::v1::PartitionExprVersion* _internal_mutable_partition_expr_version();
public: public:
void unsafe_arena_set_allocated_partition_rule_version( void unsafe_arena_set_allocated_partition_expr_version(
::greptime::v1::PartitionRuleVersion* partition_rule_version); ::greptime::v1::PartitionExprVersion* partition_expr_version);
::greptime::v1::PartitionRuleVersion* unsafe_arena_release_partition_rule_version(); ::greptime::v1::PartitionExprVersion* unsafe_arena_release_partition_expr_version();
// uint64 region_id = 1; // uint64 region_id = 1;
void clear_region_id(); void clear_region_id();
@@ -1750,7 +1750,7 @@ class InsertRequest final :
typedef void DestructorSkippable_; typedef void DestructorSkippable_;
struct Impl_ { struct Impl_ {
::greptime::v1::Rows* rows_; ::greptime::v1::Rows* rows_;
::greptime::v1::PartitionRuleVersion* partition_rule_version_; ::greptime::v1::PartitionExprVersion* partition_expr_version_;
uint64_t region_id_; uint64_t region_id_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
}; };
@@ -1881,7 +1881,7 @@ class DeleteRequest final :
enum : int { enum : int {
kRowsFieldNumber = 2, kRowsFieldNumber = 2,
kPartitionRuleVersionFieldNumber = 3, kPartitionExprVersionFieldNumber = 3,
kRegionIdFieldNumber = 1, kRegionIdFieldNumber = 1,
}; };
// .greptime.v1.Rows rows = 2; // .greptime.v1.Rows rows = 2;
@@ -1902,23 +1902,23 @@ class DeleteRequest final :
::greptime::v1::Rows* rows); ::greptime::v1::Rows* rows);
::greptime::v1::Rows* unsafe_arena_release_rows(); ::greptime::v1::Rows* unsafe_arena_release_rows();
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
bool has_partition_rule_version() const; bool has_partition_expr_version() const;
private: private:
bool _internal_has_partition_rule_version() const; bool _internal_has_partition_expr_version() const;
public: public:
void clear_partition_rule_version(); void clear_partition_expr_version();
const ::greptime::v1::PartitionRuleVersion& partition_rule_version() const; const ::greptime::v1::PartitionExprVersion& partition_expr_version() const;
PROTOBUF_NODISCARD ::greptime::v1::PartitionRuleVersion* release_partition_rule_version(); PROTOBUF_NODISCARD ::greptime::v1::PartitionExprVersion* release_partition_expr_version();
::greptime::v1::PartitionRuleVersion* mutable_partition_rule_version(); ::greptime::v1::PartitionExprVersion* mutable_partition_expr_version();
void set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version); void set_allocated_partition_expr_version(::greptime::v1::PartitionExprVersion* partition_expr_version);
private: private:
const ::greptime::v1::PartitionRuleVersion& _internal_partition_rule_version() const; const ::greptime::v1::PartitionExprVersion& _internal_partition_expr_version() const;
::greptime::v1::PartitionRuleVersion* _internal_mutable_partition_rule_version(); ::greptime::v1::PartitionExprVersion* _internal_mutable_partition_expr_version();
public: public:
void unsafe_arena_set_allocated_partition_rule_version( void unsafe_arena_set_allocated_partition_expr_version(
::greptime::v1::PartitionRuleVersion* partition_rule_version); ::greptime::v1::PartitionExprVersion* partition_expr_version);
::greptime::v1::PartitionRuleVersion* unsafe_arena_release_partition_rule_version(); ::greptime::v1::PartitionExprVersion* unsafe_arena_release_partition_expr_version();
// uint64 region_id = 1; // uint64 region_id = 1;
void clear_region_id(); void clear_region_id();
@@ -1938,7 +1938,7 @@ class DeleteRequest final :
typedef void DestructorSkippable_; typedef void DestructorSkippable_;
struct Impl_ { struct Impl_ {
::greptime::v1::Rows* rows_; ::greptime::v1::Rows* rows_;
::greptime::v1::PartitionRuleVersion* partition_rule_version_; ::greptime::v1::PartitionExprVersion* partition_expr_version_;
uint64_t region_id_; uint64_t region_id_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
}; };
@@ -5954,27 +5954,27 @@ class BulkInsertRequest final :
// accessors ------------------------------------------------------- // accessors -------------------------------------------------------
enum : int { enum : int {
kPartitionRuleVersionFieldNumber = 3, kPartitionExprVersionFieldNumber = 3,
kRegionIdFieldNumber = 1, kRegionIdFieldNumber = 1,
kArrowIpcFieldNumber = 2, kArrowIpcFieldNumber = 2,
}; };
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
bool has_partition_rule_version() const; bool has_partition_expr_version() const;
private: private:
bool _internal_has_partition_rule_version() const; bool _internal_has_partition_expr_version() const;
public: public:
void clear_partition_rule_version(); void clear_partition_expr_version();
const ::greptime::v1::PartitionRuleVersion& partition_rule_version() const; const ::greptime::v1::PartitionExprVersion& partition_expr_version() const;
PROTOBUF_NODISCARD ::greptime::v1::PartitionRuleVersion* release_partition_rule_version(); PROTOBUF_NODISCARD ::greptime::v1::PartitionExprVersion* release_partition_expr_version();
::greptime::v1::PartitionRuleVersion* mutable_partition_rule_version(); ::greptime::v1::PartitionExprVersion* mutable_partition_expr_version();
void set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version); void set_allocated_partition_expr_version(::greptime::v1::PartitionExprVersion* partition_expr_version);
private: private:
const ::greptime::v1::PartitionRuleVersion& _internal_partition_rule_version() const; const ::greptime::v1::PartitionExprVersion& _internal_partition_expr_version() const;
::greptime::v1::PartitionRuleVersion* _internal_mutable_partition_rule_version(); ::greptime::v1::PartitionExprVersion* _internal_mutable_partition_expr_version();
public: public:
void unsafe_arena_set_allocated_partition_rule_version( void unsafe_arena_set_allocated_partition_expr_version(
::greptime::v1::PartitionRuleVersion* partition_rule_version); ::greptime::v1::PartitionExprVersion* partition_expr_version);
::greptime::v1::PartitionRuleVersion* unsafe_arena_release_partition_rule_version(); ::greptime::v1::PartitionExprVersion* unsafe_arena_release_partition_expr_version();
// uint64 region_id = 1; // uint64 region_id = 1;
void clear_region_id(); void clear_region_id();
@@ -6017,7 +6017,7 @@ class BulkInsertRequest final :
typedef void InternalArenaConstructable_; typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_; typedef void DestructorSkippable_;
struct Impl_ { struct Impl_ {
::greptime::v1::PartitionRuleVersion* partition_rule_version_; ::greptime::v1::PartitionExprVersion* partition_expr_version_;
uint64_t region_id_; uint64_t region_id_;
union BodyUnion { union BodyUnion {
constexpr BodyUnion() : _constinit_{} {} 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) // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.InsertRequest.rows)
} }
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
inline bool InsertRequest::_internal_has_partition_rule_version() const { inline bool InsertRequest::_internal_has_partition_expr_version() const {
return this != internal_default_instance() && _impl_.partition_rule_version_ != nullptr; return this != internal_default_instance() && _impl_.partition_expr_version_ != nullptr;
} }
inline bool InsertRequest::has_partition_rule_version() const { inline bool InsertRequest::has_partition_expr_version() const {
return _internal_has_partition_rule_version(); return _internal_has_partition_expr_version();
} }
inline const ::greptime::v1::PartitionRuleVersion& InsertRequest::_internal_partition_rule_version() const { inline const ::greptime::v1::PartitionExprVersion& InsertRequest::_internal_partition_expr_version() const {
const ::greptime::v1::PartitionRuleVersion* p = _impl_.partition_rule_version_; const ::greptime::v1::PartitionExprVersion* p = _impl_.partition_expr_version_;
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::PartitionRuleVersion&>( return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::PartitionExprVersion&>(
::greptime::v1::_PartitionRuleVersion_default_instance_); ::greptime::v1::_PartitionExprVersion_default_instance_);
} }
inline const ::greptime::v1::PartitionRuleVersion& InsertRequest::partition_rule_version() const { inline const ::greptime::v1::PartitionExprVersion& InsertRequest::partition_expr_version() const {
// @@protoc_insertion_point(field_get:greptime.v1.region.InsertRequest.partition_rule_version) // @@protoc_insertion_point(field_get:greptime.v1.region.InsertRequest.partition_expr_version)
return _internal_partition_rule_version(); return _internal_partition_expr_version();
} }
inline void InsertRequest::unsafe_arena_set_allocated_partition_rule_version( inline void InsertRequest::unsafe_arena_set_allocated_partition_expr_version(
::greptime::v1::PartitionRuleVersion* partition_rule_version) { ::greptime::v1::PartitionExprVersion* partition_expr_version) {
if (GetArenaForAllocation() == nullptr) { 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; _impl_.partition_expr_version_ = partition_expr_version;
if (partition_rule_version) { if (partition_expr_version) {
} else { } 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_; ::greptime::v1::PartitionExprVersion* temp = _impl_.partition_expr_version_;
_impl_.partition_rule_version_ = nullptr; _impl_.partition_expr_version_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(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 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp; return temp;
} }
inline ::greptime::v1::PartitionRuleVersion* InsertRequest::unsafe_arena_release_partition_rule_version() { inline ::greptime::v1::PartitionExprVersion* InsertRequest::unsafe_arena_release_partition_expr_version() {
// @@protoc_insertion_point(field_release:greptime.v1.region.InsertRequest.partition_rule_version) // @@protoc_insertion_point(field_release:greptime.v1.region.InsertRequest.partition_expr_version)
::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; ::greptime::v1::PartitionExprVersion* temp = _impl_.partition_expr_version_;
_impl_.partition_rule_version_ = nullptr; _impl_.partition_expr_version_ = nullptr;
return temp; 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) { if (_impl_.partition_expr_version_ == nullptr) {
auto* p = CreateMaybeMessage<::greptime::v1::PartitionRuleVersion>(GetArenaForAllocation()); auto* p = CreateMaybeMessage<::greptime::v1::PartitionExprVersion>(GetArenaForAllocation());
_impl_.partition_rule_version_ = p; _impl_.partition_expr_version_ = p;
} }
return _impl_.partition_rule_version_; return _impl_.partition_expr_version_;
} }
inline ::greptime::v1::PartitionRuleVersion* InsertRequest::mutable_partition_rule_version() { inline ::greptime::v1::PartitionExprVersion* InsertRequest::mutable_partition_expr_version() {
::greptime::v1::PartitionRuleVersion* _msg = _internal_mutable_partition_rule_version(); ::greptime::v1::PartitionExprVersion* _msg = _internal_mutable_partition_expr_version();
// @@protoc_insertion_point(field_mutable:greptime.v1.region.InsertRequest.partition_rule_version) // @@protoc_insertion_point(field_mutable:greptime.v1.region.InsertRequest.partition_expr_version)
return _msg; 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(); ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) { 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* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( ::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) { if (message_arena != submessage_arena) {
partition_rule_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( partition_expr_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, partition_rule_version, submessage_arena); message_arena, partition_expr_version, submessage_arena);
} }
} else { } else {
} }
_impl_.partition_rule_version_ = partition_rule_version; _impl_.partition_expr_version_ = partition_expr_version;
// @@protoc_insertion_point(field_set_allocated:greptime.v1.region.InsertRequest.partition_rule_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) // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.DeleteRequest.rows)
} }
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
inline bool DeleteRequest::_internal_has_partition_rule_version() const { inline bool DeleteRequest::_internal_has_partition_expr_version() const {
return this != internal_default_instance() && _impl_.partition_rule_version_ != nullptr; return this != internal_default_instance() && _impl_.partition_expr_version_ != nullptr;
} }
inline bool DeleteRequest::has_partition_rule_version() const { inline bool DeleteRequest::has_partition_expr_version() const {
return _internal_has_partition_rule_version(); return _internal_has_partition_expr_version();
} }
inline const ::greptime::v1::PartitionRuleVersion& DeleteRequest::_internal_partition_rule_version() const { inline const ::greptime::v1::PartitionExprVersion& DeleteRequest::_internal_partition_expr_version() const {
const ::greptime::v1::PartitionRuleVersion* p = _impl_.partition_rule_version_; const ::greptime::v1::PartitionExprVersion* p = _impl_.partition_expr_version_;
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::PartitionRuleVersion&>( return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::PartitionExprVersion&>(
::greptime::v1::_PartitionRuleVersion_default_instance_); ::greptime::v1::_PartitionExprVersion_default_instance_);
} }
inline const ::greptime::v1::PartitionRuleVersion& DeleteRequest::partition_rule_version() const { inline const ::greptime::v1::PartitionExprVersion& DeleteRequest::partition_expr_version() const {
// @@protoc_insertion_point(field_get:greptime.v1.region.DeleteRequest.partition_rule_version) // @@protoc_insertion_point(field_get:greptime.v1.region.DeleteRequest.partition_expr_version)
return _internal_partition_rule_version(); return _internal_partition_expr_version();
} }
inline void DeleteRequest::unsafe_arena_set_allocated_partition_rule_version( inline void DeleteRequest::unsafe_arena_set_allocated_partition_expr_version(
::greptime::v1::PartitionRuleVersion* partition_rule_version) { ::greptime::v1::PartitionExprVersion* partition_expr_version) {
if (GetArenaForAllocation() == nullptr) { 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; _impl_.partition_expr_version_ = partition_expr_version;
if (partition_rule_version) { if (partition_expr_version) {
} else { } 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_; ::greptime::v1::PartitionExprVersion* temp = _impl_.partition_expr_version_;
_impl_.partition_rule_version_ = nullptr; _impl_.partition_expr_version_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(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 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp; return temp;
} }
inline ::greptime::v1::PartitionRuleVersion* DeleteRequest::unsafe_arena_release_partition_rule_version() { inline ::greptime::v1::PartitionExprVersion* DeleteRequest::unsafe_arena_release_partition_expr_version() {
// @@protoc_insertion_point(field_release:greptime.v1.region.DeleteRequest.partition_rule_version) // @@protoc_insertion_point(field_release:greptime.v1.region.DeleteRequest.partition_expr_version)
::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; ::greptime::v1::PartitionExprVersion* temp = _impl_.partition_expr_version_;
_impl_.partition_rule_version_ = nullptr; _impl_.partition_expr_version_ = nullptr;
return temp; 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) { if (_impl_.partition_expr_version_ == nullptr) {
auto* p = CreateMaybeMessage<::greptime::v1::PartitionRuleVersion>(GetArenaForAllocation()); auto* p = CreateMaybeMessage<::greptime::v1::PartitionExprVersion>(GetArenaForAllocation());
_impl_.partition_rule_version_ = p; _impl_.partition_expr_version_ = p;
} }
return _impl_.partition_rule_version_; return _impl_.partition_expr_version_;
} }
inline ::greptime::v1::PartitionRuleVersion* DeleteRequest::mutable_partition_rule_version() { inline ::greptime::v1::PartitionExprVersion* DeleteRequest::mutable_partition_expr_version() {
::greptime::v1::PartitionRuleVersion* _msg = _internal_mutable_partition_rule_version(); ::greptime::v1::PartitionExprVersion* _msg = _internal_mutable_partition_expr_version();
// @@protoc_insertion_point(field_mutable:greptime.v1.region.DeleteRequest.partition_rule_version) // @@protoc_insertion_point(field_mutable:greptime.v1.region.DeleteRequest.partition_expr_version)
return _msg; 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(); ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) { 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* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( ::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) { if (message_arena != submessage_arena) {
partition_rule_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( partition_expr_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, partition_rule_version, submessage_arena); message_arena, partition_expr_version, submessage_arena);
} }
} else { } else {
} }
_impl_.partition_rule_version_ = partition_rule_version; _impl_.partition_expr_version_ = partition_expr_version;
// @@protoc_insertion_point(field_set_allocated:greptime.v1.region.DeleteRequest.partition_rule_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; return _msg;
} }
// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; // .greptime.v1.PartitionExprVersion partition_expr_version = 3;
inline bool BulkInsertRequest::_internal_has_partition_rule_version() const { inline bool BulkInsertRequest::_internal_has_partition_expr_version() const {
return this != internal_default_instance() && _impl_.partition_rule_version_ != nullptr; return this != internal_default_instance() && _impl_.partition_expr_version_ != nullptr;
} }
inline bool BulkInsertRequest::has_partition_rule_version() const { inline bool BulkInsertRequest::has_partition_expr_version() const {
return _internal_has_partition_rule_version(); return _internal_has_partition_expr_version();
} }
inline const ::greptime::v1::PartitionRuleVersion& BulkInsertRequest::_internal_partition_rule_version() const { inline const ::greptime::v1::PartitionExprVersion& BulkInsertRequest::_internal_partition_expr_version() const {
const ::greptime::v1::PartitionRuleVersion* p = _impl_.partition_rule_version_; const ::greptime::v1::PartitionExprVersion* p = _impl_.partition_expr_version_;
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::PartitionRuleVersion&>( return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::PartitionExprVersion&>(
::greptime::v1::_PartitionRuleVersion_default_instance_); ::greptime::v1::_PartitionExprVersion_default_instance_);
} }
inline const ::greptime::v1::PartitionRuleVersion& BulkInsertRequest::partition_rule_version() const { inline const ::greptime::v1::PartitionExprVersion& BulkInsertRequest::partition_expr_version() const {
// @@protoc_insertion_point(field_get:greptime.v1.region.BulkInsertRequest.partition_rule_version) // @@protoc_insertion_point(field_get:greptime.v1.region.BulkInsertRequest.partition_expr_version)
return _internal_partition_rule_version(); return _internal_partition_expr_version();
} }
inline void BulkInsertRequest::unsafe_arena_set_allocated_partition_rule_version( inline void BulkInsertRequest::unsafe_arena_set_allocated_partition_expr_version(
::greptime::v1::PartitionRuleVersion* partition_rule_version) { ::greptime::v1::PartitionExprVersion* partition_expr_version) {
if (GetArenaForAllocation() == nullptr) { 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; _impl_.partition_expr_version_ = partition_expr_version;
if (partition_rule_version) { if (partition_expr_version) {
} else { } 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_; ::greptime::v1::PartitionExprVersion* temp = _impl_.partition_expr_version_;
_impl_.partition_rule_version_ = nullptr; _impl_.partition_expr_version_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(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 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp; return temp;
} }
inline ::greptime::v1::PartitionRuleVersion* BulkInsertRequest::unsafe_arena_release_partition_rule_version() { inline ::greptime::v1::PartitionExprVersion* BulkInsertRequest::unsafe_arena_release_partition_expr_version() {
// @@protoc_insertion_point(field_release:greptime.v1.region.BulkInsertRequest.partition_rule_version) // @@protoc_insertion_point(field_release:greptime.v1.region.BulkInsertRequest.partition_expr_version)
::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; ::greptime::v1::PartitionExprVersion* temp = _impl_.partition_expr_version_;
_impl_.partition_rule_version_ = nullptr; _impl_.partition_expr_version_ = nullptr;
return temp; 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) { if (_impl_.partition_expr_version_ == nullptr) {
auto* p = CreateMaybeMessage<::greptime::v1::PartitionRuleVersion>(GetArenaForAllocation()); auto* p = CreateMaybeMessage<::greptime::v1::PartitionExprVersion>(GetArenaForAllocation());
_impl_.partition_rule_version_ = p; _impl_.partition_expr_version_ = p;
} }
return _impl_.partition_rule_version_; return _impl_.partition_expr_version_;
} }
inline ::greptime::v1::PartitionRuleVersion* BulkInsertRequest::mutable_partition_rule_version() { inline ::greptime::v1::PartitionExprVersion* BulkInsertRequest::mutable_partition_expr_version() {
::greptime::v1::PartitionRuleVersion* _msg = _internal_mutable_partition_rule_version(); ::greptime::v1::PartitionExprVersion* _msg = _internal_mutable_partition_expr_version();
// @@protoc_insertion_point(field_mutable:greptime.v1.region.BulkInsertRequest.partition_rule_version) // @@protoc_insertion_point(field_mutable:greptime.v1.region.BulkInsertRequest.partition_expr_version)
return _msg; 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(); ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) { 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* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( ::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) { if (message_arena != submessage_arena) {
partition_rule_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( partition_expr_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, partition_rule_version, submessage_arena); message_arena, partition_expr_version, submessage_arena);
} }
} else { } else {
} }
_impl_.partition_rule_version_ = partition_rule_version; _impl_.partition_expr_version_ = partition_expr_version;
// @@protoc_insertion_point(field_set_allocated:greptime.v1.region.BulkInsertRequest.partition_rule_version) // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.BulkInsertRequest.partition_expr_version)
} }
inline bool BulkInsertRequest::has_body() const { inline bool BulkInsertRequest::has_body() const {
+12 -12
View File
@@ -2116,7 +2116,7 @@ func (x *ArrowIpc) GetPayload() []byte {
return nil return nil
} }
type PartitionRuleVersion struct { type PartitionExprVersion struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
@@ -2124,8 +2124,8 @@ type PartitionRuleVersion struct {
Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
} }
func (x *PartitionRuleVersion) Reset() { func (x *PartitionExprVersion) Reset() {
*x = PartitionRuleVersion{} *x = PartitionExprVersion{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_common_proto_msgTypes[29] mi := &file_greptime_v1_common_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 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) 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] mi := &file_greptime_v1_common_proto_msgTypes[29]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -2151,12 +2151,12 @@ func (x *PartitionRuleVersion) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x) return mi.MessageOf(x)
} }
// Deprecated: Use PartitionRuleVersion.ProtoReflect.Descriptor instead. // Deprecated: Use PartitionExprVersion.ProtoReflect.Descriptor instead.
func (*PartitionRuleVersion) Descriptor() ([]byte, []int) { func (*PartitionExprVersion) Descriptor() ([]byte, []int) {
return file_greptime_v1_common_proto_rawDescGZIP(), []int{29} return file_greptime_v1_common_proto_rawDescGZIP(), []int{29}
} }
func (x *PartitionRuleVersion) GetValue() uint64 { func (x *PartitionExprVersion) GetValue() uint64 {
if x != nil { if x != nil {
return x.Value 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, 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, 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, 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, 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, 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, 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 (*DictionaryTypeExtension)(nil), // 30: greptime.v1.DictionaryTypeExtension
(*ColumnOptions)(nil), // 31: greptime.v1.ColumnOptions (*ColumnOptions)(nil), // 31: greptime.v1.ColumnOptions
(*ArrowIpc)(nil), // 32: greptime.v1.ArrowIpc (*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, // 34: greptime.v1.QueryContext.ExtensionsEntry
nil, // 35: greptime.v1.SnapshotSequences.SstMinSequencesEntry nil, // 35: greptime.v1.SnapshotSequences.SstMinSequencesEntry
nil, // 36: greptime.v1.SnapshotSequences.SnapshotSeqsEntry 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{} { 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: case 0:
return &v.state return &v.state
case 1: case 1:
+8 -8
View File
@@ -253,7 +253,7 @@ type InsertRequest struct {
RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` 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"` 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() { func (x *InsertRequest) Reset() {
@@ -302,9 +302,9 @@ func (x *InsertRequest) GetRows() *v1.Rows {
return nil return nil
} }
func (x *InsertRequest) GetPartitionRuleVersion() *v1.PartitionRuleVersion { func (x *InsertRequest) GetPartitionExprVersion() *v1.PartitionExprVersion {
if x != nil { if x != nil {
return x.PartitionRuleVersion return x.PartitionExprVersion
} }
return nil 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, 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, 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, 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, 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, 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, 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, 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, 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 nil, // 12: greptime.v1.flow.CreateRequest.FlowOptionsEntry
(*v1.QueryContext)(nil), // 13: greptime.v1.QueryContext (*v1.QueryContext)(nil), // 13: greptime.v1.QueryContext
(*v1.Rows)(nil), // 14: greptime.v1.Rows (*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.ResponseHeader)(nil), // 16: greptime.v1.ResponseHeader
(*v1.FlowId)(nil), // 17: greptime.v1.FlowId (*v1.FlowId)(nil), // 17: greptime.v1.FlowId
(*v1.TableId)(nil), // 18: greptime.v1.TableId (*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 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 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 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 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 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 8, // 8: greptime.v1.flow.FlowRequest.drop:type_name -> greptime.v1.flow.DropRequest
+22 -22
View File
@@ -594,7 +594,7 @@ type InsertRequest struct {
RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` 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"` 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() { func (x *InsertRequest) Reset() {
@@ -643,9 +643,9 @@ func (x *InsertRequest) GetRows() *v1.Rows {
return nil return nil
} }
func (x *InsertRequest) GetPartitionRuleVersion() *v1.PartitionRuleVersion { func (x *InsertRequest) GetPartitionExprVersion() *v1.PartitionExprVersion {
if x != nil { if x != nil {
return x.PartitionRuleVersion return x.PartitionExprVersion
} }
return nil 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"` 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"` 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() { func (x *DeleteRequest) Reset() {
@@ -706,9 +706,9 @@ func (x *DeleteRequest) GetRows() *v1.Rows {
return nil return nil
} }
func (x *DeleteRequest) GetPartitionRuleVersion() *v1.PartitionRuleVersion { func (x *DeleteRequest) GetPartitionExprVersion() *v1.PartitionExprVersion {
if x != nil { if x != nil {
return x.PartitionRuleVersion return x.PartitionExprVersion
} }
return nil return nil
} }
@@ -2133,7 +2133,7 @@ type BulkInsertRequest struct {
// //
// *BulkInsertRequest_ArrowIpc // *BulkInsertRequest_ArrowIpc
Body isBulkInsertRequest_Body `protobuf_oneof:"body"` 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() { func (x *BulkInsertRequest) Reset() {
@@ -2189,9 +2189,9 @@ func (x *BulkInsertRequest) GetArrowIpc() *v1.ArrowIpc {
return nil return nil
} }
func (x *BulkInsertRequest) GetPartitionRuleVersion() *v1.PartitionRuleVersion { func (x *BulkInsertRequest) GetPartitionExprVersion() *v1.PartitionExprVersion {
if x != nil { if x != nil {
return x.PartitionRuleVersion return x.PartitionExprVersion
} }
return nil 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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.QueryContext)(nil), // 40: greptime.v1.QueryContext
(*v1.ResponseHeader)(nil), // 41: greptime.v1.ResponseHeader (*v1.ResponseHeader)(nil), // 41: greptime.v1.ResponseHeader
(*v1.Rows)(nil), // 42: greptime.v1.Rows (*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 (*meta.Partition)(nil), // 44: greptime.v1.meta.Partition
(*v1.ModifyColumnTypes)(nil), // 45: greptime.v1.ModifyColumnTypes (*v1.ModifyColumnTypes)(nil), // 45: greptime.v1.ModifyColumnTypes
(*v1.SetTableOptions)(nil), // 46: greptime.v1.SetTableOptions (*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 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 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 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 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 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 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 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 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 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 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 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 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 1, // 63: greptime.v1.region.Region.Handle:input_type -> greptime.v1.region.RegionRequest
+67 -67
View File
@@ -24936,8 +24936,8 @@ java.lang.String defaultValue);
} }
public interface PartitionRuleVersionOrBuilder extends public interface PartitionExprVersionOrBuilder extends
// @@protoc_insertion_point(interface_extends:greptime.v1.PartitionRuleVersion) // @@protoc_insertion_point(interface_extends:greptime.v1.PartitionExprVersion)
com.google.protobuf.MessageOrBuilder { com.google.protobuf.MessageOrBuilder {
/** /**
@@ -24947,25 +24947,25 @@ java.lang.String defaultValue);
long getValue(); 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 com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:greptime.v1.PartitionRuleVersion) // @@protoc_insertion_point(message_implements:greptime.v1.PartitionExprVersion)
PartitionRuleVersionOrBuilder { PartitionExprVersionOrBuilder {
private static final long serialVersionUID = 0L; private static final long serialVersionUID = 0L;
// Use PartitionRuleVersion.newBuilder() to construct. // Use PartitionExprVersion.newBuilder() to construct.
private PartitionRuleVersion(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { private PartitionExprVersion(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder); super(builder);
} }
private PartitionRuleVersion() { private PartitionExprVersion() {
} }
@java.lang.Override @java.lang.Override
@SuppressWarnings({"unused"}) @SuppressWarnings({"unused"})
protected java.lang.Object newInstance( protected java.lang.Object newInstance(
UnusedPrivateParameter unused) { UnusedPrivateParameter unused) {
return new PartitionRuleVersion(); return new PartitionExprVersion();
} }
@java.lang.Override @java.lang.Override
@@ -24973,7 +24973,7 @@ java.lang.String defaultValue);
getUnknownFields() { getUnknownFields() {
return this.unknownFields; return this.unknownFields;
} }
private PartitionRuleVersion( private PartitionExprVersion(
com.google.protobuf.CodedInputStream input, com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
@@ -25019,15 +25019,15 @@ java.lang.String defaultValue);
} }
public static final com.google.protobuf.Descriptors.Descriptor public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() { 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 @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() { internalGetFieldAccessorTable() {
return io.greptime.v1.Common.internal_static_greptime_v1_PartitionRuleVersion_fieldAccessorTable return io.greptime.v1.Common.internal_static_greptime_v1_PartitionExprVersion_fieldAccessorTable
.ensureFieldAccessorsInitialized( .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; public static final int VALUE_FIELD_NUMBER = 1;
@@ -25081,10 +25081,10 @@ java.lang.String defaultValue);
if (obj == this) { if (obj == this) {
return true; return true;
} }
if (!(obj instanceof io.greptime.v1.Common.PartitionRuleVersion)) { if (!(obj instanceof io.greptime.v1.Common.PartitionExprVersion)) {
return super.equals(obj); 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() if (getValue()
!= other.getValue()) return false; != other.getValue()) return false;
@@ -25107,69 +25107,69 @@ java.lang.String defaultValue);
return hash; return hash;
} }
public static io.greptime.v1.Common.PartitionRuleVersion parseFrom( public static io.greptime.v1.Common.PartitionExprVersion parseFrom(
java.nio.ByteBuffer data) java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); return PARSER.parseFrom(data);
} }
public static io.greptime.v1.Common.PartitionRuleVersion parseFrom( public static io.greptime.v1.Common.PartitionExprVersion parseFrom(
java.nio.ByteBuffer data, java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); 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) com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); 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.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); 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 { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); return PARSER.parseFrom(data);
} }
public static io.greptime.v1.Common.PartitionRuleVersion parseFrom( public static io.greptime.v1.Common.PartitionExprVersion parseFrom(
byte[] data, byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); 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 { throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3 return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input); .parseWithIOException(PARSER, input);
} }
public static io.greptime.v1.Common.PartitionRuleVersion parseFrom( public static io.greptime.v1.Common.PartitionExprVersion parseFrom(
java.io.InputStream input, java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3 return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry); .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 { throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3 return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input); .parseDelimitedWithIOException(PARSER, input);
} }
public static io.greptime.v1.Common.PartitionRuleVersion parseDelimitedFrom( public static io.greptime.v1.Common.PartitionExprVersion parseDelimitedFrom(
java.io.InputStream input, java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3 return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry); .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) com.google.protobuf.CodedInputStream input)
throws java.io.IOException { throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3 return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input); .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.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
@@ -25182,7 +25182,7 @@ java.lang.String defaultValue);
public static Builder newBuilder() { public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder(); 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); return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
} }
@java.lang.Override @java.lang.Override
@@ -25198,26 +25198,26 @@ java.lang.String defaultValue);
return builder; return builder;
} }
/** /**
* Protobuf type {@code greptime.v1.PartitionRuleVersion} * Protobuf type {@code greptime.v1.PartitionExprVersion}
*/ */
public static final class Builder extends public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:greptime.v1.PartitionRuleVersion) // @@protoc_insertion_point(builder_implements:greptime.v1.PartitionExprVersion)
io.greptime.v1.Common.PartitionRuleVersionOrBuilder { io.greptime.v1.Common.PartitionExprVersionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() { 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 @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() { internalGetFieldAccessorTable() {
return io.greptime.v1.Common.internal_static_greptime_v1_PartitionRuleVersion_fieldAccessorTable return io.greptime.v1.Common.internal_static_greptime_v1_PartitionExprVersion_fieldAccessorTable
.ensureFieldAccessorsInitialized( .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() { private Builder() {
maybeForceBuilderInitialization(); maybeForceBuilderInitialization();
} }
@@ -25243,17 +25243,17 @@ java.lang.String defaultValue);
@java.lang.Override @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() { 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 @java.lang.Override
public io.greptime.v1.Common.PartitionRuleVersion getDefaultInstanceForType() { public io.greptime.v1.Common.PartitionExprVersion getDefaultInstanceForType() {
return io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance(); return io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance();
} }
@java.lang.Override @java.lang.Override
public io.greptime.v1.Common.PartitionRuleVersion build() { public io.greptime.v1.Common.PartitionExprVersion build() {
io.greptime.v1.Common.PartitionRuleVersion result = buildPartial(); io.greptime.v1.Common.PartitionExprVersion result = buildPartial();
if (!result.isInitialized()) { if (!result.isInitialized()) {
throw newUninitializedMessageException(result); throw newUninitializedMessageException(result);
} }
@@ -25261,8 +25261,8 @@ java.lang.String defaultValue);
} }
@java.lang.Override @java.lang.Override
public io.greptime.v1.Common.PartitionRuleVersion buildPartial() { public io.greptime.v1.Common.PartitionExprVersion buildPartial() {
io.greptime.v1.Common.PartitionRuleVersion result = new io.greptime.v1.Common.PartitionRuleVersion(this); io.greptime.v1.Common.PartitionExprVersion result = new io.greptime.v1.Common.PartitionExprVersion(this);
result.value_ = value_; result.value_ = value_;
onBuilt(); onBuilt();
return result; return result;
@@ -25302,16 +25302,16 @@ java.lang.String defaultValue);
} }
@java.lang.Override @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.greptime.v1.Common.PartitionRuleVersion) { if (other instanceof io.greptime.v1.Common.PartitionExprVersion) {
return mergeFrom((io.greptime.v1.Common.PartitionRuleVersion)other); return mergeFrom((io.greptime.v1.Common.PartitionExprVersion)other);
} else { } else {
super.mergeFrom(other); super.mergeFrom(other);
return this; return this;
} }
} }
public Builder mergeFrom(io.greptime.v1.Common.PartitionRuleVersion other) { public Builder mergeFrom(io.greptime.v1.Common.PartitionExprVersion other) {
if (other == io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance()) return this; if (other == io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance()) return this;
if (other.getValue() != 0L) { if (other.getValue() != 0L) {
setValue(other.getValue()); setValue(other.getValue());
} }
@@ -25330,11 +25330,11 @@ java.lang.String defaultValue);
com.google.protobuf.CodedInputStream input, com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
io.greptime.v1.Common.PartitionRuleVersion parsedMessage = null; io.greptime.v1.Common.PartitionExprVersion parsedMessage = null;
try { try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) { } 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(); throw e.unwrapIOException();
} finally { } finally {
if (parsedMessage != null) { 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) // @@protoc_insertion_point(class_scope:greptime.v1.PartitionExprVersion)
private static final io.greptime.v1.Common.PartitionRuleVersion DEFAULT_INSTANCE; private static final io.greptime.v1.Common.PartitionExprVersion DEFAULT_INSTANCE;
static { 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; return DEFAULT_INSTANCE;
} }
private static final com.google.protobuf.Parser<PartitionRuleVersion> private static final com.google.protobuf.Parser<PartitionExprVersion>
PARSER = new com.google.protobuf.AbstractParser<PartitionRuleVersion>() { PARSER = new com.google.protobuf.AbstractParser<PartitionExprVersion>() {
@java.lang.Override @java.lang.Override
public PartitionRuleVersion parsePartialFrom( public PartitionExprVersion parsePartialFrom(
com.google.protobuf.CodedInputStream input, com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return new PartitionRuleVersion(input, extensionRegistry); return new PartitionExprVersion(input, extensionRegistry);
} }
}; };
public static com.google.protobuf.Parser<PartitionRuleVersion> parser() { public static com.google.protobuf.Parser<PartitionExprVersion> parser() {
return PARSER; return PARSER;
} }
@java.lang.Override @java.lang.Override
public com.google.protobuf.Parser<PartitionRuleVersion> getParserForType() { public com.google.protobuf.Parser<PartitionExprVersion> getParserForType() {
return PARSER; return PARSER;
} }
@java.lang.Override @java.lang.Override
public io.greptime.v1.Common.PartitionRuleVersion getDefaultInstanceForType() { public io.greptime.v1.Common.PartitionExprVersion getDefaultInstanceForType() {
return DEFAULT_INSTANCE; return DEFAULT_INSTANCE;
} }
@@ -25598,10 +25598,10 @@ java.lang.String defaultValue);
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_greptime_v1_ArrowIpc_fieldAccessorTable; internal_static_greptime_v1_ArrowIpc_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor private static final com.google.protobuf.Descriptors.Descriptor
internal_static_greptime_v1_PartitionRuleVersion_descriptor; internal_static_greptime_v1_PartitionExprVersion_descriptor;
private static final private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_greptime_v1_PartitionRuleVersion_fieldAccessorTable; internal_static_greptime_v1_PartitionExprVersion_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() { getDescriptor() {
@@ -25692,7 +25692,7 @@ java.lang.String defaultValue);
".ColumnOptions.OptionsEntry\032.\n\014OptionsEn" + ".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" + "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" + "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" + "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" + "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" + "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( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_ArrowIpc_descriptor, internal_static_greptime_v1_ArrowIpc_descriptor,
new java.lang.String[] { "Schema", "DataHeader", "Payload", }); new java.lang.String[] { "Schema", "DataHeader", "Payload", });
internal_static_greptime_v1_PartitionRuleVersion_descriptor = internal_static_greptime_v1_PartitionExprVersion_descriptor =
getDescriptor().getMessageTypes().get(29); getDescriptor().getMessageTypes().get(29);
internal_static_greptime_v1_PartitionRuleVersion_fieldAccessorTable = new internal_static_greptime_v1_PartitionExprVersion_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_PartitionRuleVersion_descriptor, internal_static_greptime_v1_PartitionExprVersion_descriptor,
new java.lang.String[] { "Value", }); new java.lang.String[] { "Value", });
} }
+105 -105
View File
@@ -3610,19 +3610,19 @@ java.lang.String defaultValue);
io.greptime.v1.RowData.RowsOrBuilder getRowsOrBuilder(); io.greptime.v1.RowData.RowsOrBuilder getRowsOrBuilder();
/** /**
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code> * <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
* @return Whether the partitionRuleVersion field is set. * @return Whether the partitionExprVersion field is set.
*/ */
boolean hasPartitionRuleVersion(); boolean hasPartitionExprVersion();
/** /**
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code> * <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
* @return The partitionRuleVersion. * @return The partitionExprVersion.
*/ */
io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion(); io.greptime.v1.Common.PartitionExprVersion getPartitionExprVersion();
/** /**
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code> * <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
*/ */
io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder(); io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder();
} }
/** /**
* Protobuf type {@code greptime.v1.flow.InsertRequest} * Protobuf type {@code greptime.v1.flow.InsertRequest}
@@ -3688,14 +3688,14 @@ java.lang.String defaultValue);
break; break;
} }
case 26: { case 26: {
io.greptime.v1.Common.PartitionRuleVersion.Builder subBuilder = null; io.greptime.v1.Common.PartitionExprVersion.Builder subBuilder = null;
if (partitionRuleVersion_ != null) { if (partitionExprVersion_ != null) {
subBuilder = partitionRuleVersion_.toBuilder(); 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) { if (subBuilder != null) {
subBuilder.mergeFrom(partitionRuleVersion_); subBuilder.mergeFrom(partitionExprVersion_);
partitionRuleVersion_ = subBuilder.buildPartial(); partitionExprVersion_ = subBuilder.buildPartial();
} }
break; break;
@@ -3771,30 +3771,30 @@ java.lang.String defaultValue);
return getRows(); return getRows();
} }
public static final int PARTITION_RULE_VERSION_FIELD_NUMBER = 3; public static final int PARTITION_EXPR_VERSION_FIELD_NUMBER = 3;
private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_; private io.greptime.v1.Common.PartitionExprVersion partitionExprVersion_;
/** /**
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code> * <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
* @return Whether the partitionRuleVersion field is set. * @return Whether the partitionExprVersion field is set.
*/ */
@java.lang.Override @java.lang.Override
public boolean hasPartitionRuleVersion() { public boolean hasPartitionExprVersion() {
return partitionRuleVersion_ != null; return partitionExprVersion_ != null;
} }
/** /**
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code> * <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
* @return The partitionRuleVersion. * @return The partitionExprVersion.
*/ */
@java.lang.Override @java.lang.Override
public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() { public io.greptime.v1.Common.PartitionExprVersion getPartitionExprVersion() {
return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; return partitionExprVersion_ == null ? io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance() : partitionExprVersion_;
} }
/** /**
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code> * <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
*/ */
@java.lang.Override @java.lang.Override
public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() { public io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder() {
return getPartitionRuleVersion(); return getPartitionExprVersion();
} }
private byte memoizedIsInitialized = -1; private byte memoizedIsInitialized = -1;
@@ -3817,8 +3817,8 @@ java.lang.String defaultValue);
if (rows_ != null) { if (rows_ != null) {
output.writeMessage(2, getRows()); output.writeMessage(2, getRows());
} }
if (partitionRuleVersion_ != null) { if (partitionExprVersion_ != null) {
output.writeMessage(3, getPartitionRuleVersion()); output.writeMessage(3, getPartitionExprVersion());
} }
unknownFields.writeTo(output); unknownFields.writeTo(output);
} }
@@ -3837,9 +3837,9 @@ java.lang.String defaultValue);
size += com.google.protobuf.CodedOutputStream size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getRows()); .computeMessageSize(2, getRows());
} }
if (partitionRuleVersion_ != null) { if (partitionExprVersion_ != null) {
size += com.google.protobuf.CodedOutputStream size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getPartitionRuleVersion()); .computeMessageSize(3, getPartitionExprVersion());
} }
size += unknownFields.getSerializedSize(); size += unknownFields.getSerializedSize();
memoizedSize = size; memoizedSize = size;
@@ -3863,10 +3863,10 @@ java.lang.String defaultValue);
if (!getRows() if (!getRows()
.equals(other.getRows())) return false; .equals(other.getRows())) return false;
} }
if (hasPartitionRuleVersion() != other.hasPartitionRuleVersion()) return false; if (hasPartitionExprVersion() != other.hasPartitionExprVersion()) return false;
if (hasPartitionRuleVersion()) { if (hasPartitionExprVersion()) {
if (!getPartitionRuleVersion() if (!getPartitionExprVersion()
.equals(other.getPartitionRuleVersion())) return false; .equals(other.getPartitionExprVersion())) return false;
} }
if (!unknownFields.equals(other.unknownFields)) return false; if (!unknownFields.equals(other.unknownFields)) return false;
return true; return true;
@@ -3886,9 +3886,9 @@ java.lang.String defaultValue);
hash = (37 * hash) + ROWS_FIELD_NUMBER; hash = (37 * hash) + ROWS_FIELD_NUMBER;
hash = (53 * hash) + getRows().hashCode(); hash = (53 * hash) + getRows().hashCode();
} }
if (hasPartitionRuleVersion()) { if (hasPartitionExprVersion()) {
hash = (37 * hash) + PARTITION_RULE_VERSION_FIELD_NUMBER; hash = (37 * hash) + PARTITION_EXPR_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getPartitionRuleVersion().hashCode(); hash = (53 * hash) + getPartitionExprVersion().hashCode();
} }
hash = (29 * hash) + unknownFields.hashCode(); hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash; memoizedHashCode = hash;
@@ -4031,11 +4031,11 @@ java.lang.String defaultValue);
rows_ = null; rows_ = null;
rowsBuilder_ = null; rowsBuilder_ = null;
} }
if (partitionRuleVersionBuilder_ == null) { if (partitionExprVersionBuilder_ == null) {
partitionRuleVersion_ = null; partitionExprVersion_ = null;
} else { } else {
partitionRuleVersion_ = null; partitionExprVersion_ = null;
partitionRuleVersionBuilder_ = null; partitionExprVersionBuilder_ = null;
} }
return this; return this;
} }
@@ -4069,10 +4069,10 @@ java.lang.String defaultValue);
} else { } else {
result.rows_ = rowsBuilder_.build(); result.rows_ = rowsBuilder_.build();
} }
if (partitionRuleVersionBuilder_ == null) { if (partitionExprVersionBuilder_ == null) {
result.partitionRuleVersion_ = partitionRuleVersion_; result.partitionExprVersion_ = partitionExprVersion_;
} else { } else {
result.partitionRuleVersion_ = partitionRuleVersionBuilder_.build(); result.partitionExprVersion_ = partitionExprVersionBuilder_.build();
} }
onBuilt(); onBuilt();
return result; return result;
@@ -4128,8 +4128,8 @@ java.lang.String defaultValue);
if (other.hasRows()) { if (other.hasRows()) {
mergeRows(other.getRows()); mergeRows(other.getRows());
} }
if (other.hasPartitionRuleVersion()) { if (other.hasPartitionExprVersion()) {
mergePartitionRuleVersion(other.getPartitionRuleVersion()); mergePartitionExprVersion(other.getPartitionExprVersion());
} }
this.mergeUnknownFields(other.unknownFields); this.mergeUnknownFields(other.unknownFields);
onChanged(); onChanged();
@@ -4310,123 +4310,123 @@ java.lang.String defaultValue);
return rowsBuilder_; return rowsBuilder_;
} }
private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_; private io.greptime.v1.Common.PartitionExprVersion partitionExprVersion_;
private com.google.protobuf.SingleFieldBuilderV3< 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_;
/** /**
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code> * <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
* @return Whether the partitionRuleVersion field is set. * @return Whether the partitionExprVersion field is set.
*/ */
public boolean hasPartitionRuleVersion() { public boolean hasPartitionExprVersion() {
return partitionRuleVersionBuilder_ != null || partitionRuleVersion_ != null; return partitionExprVersionBuilder_ != null || partitionExprVersion_ != null;
} }
/** /**
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code> * <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
* @return The partitionRuleVersion. * @return The partitionExprVersion.
*/ */
public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() { public io.greptime.v1.Common.PartitionExprVersion getPartitionExprVersion() {
if (partitionRuleVersionBuilder_ == null) { if (partitionExprVersionBuilder_ == null) {
return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; return partitionExprVersion_ == null ? io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance() : partitionExprVersion_;
} else { } else {
return partitionRuleVersionBuilder_.getMessage(); return partitionExprVersionBuilder_.getMessage();
} }
} }
/** /**
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code> * <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
*/ */
public Builder setPartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) { public Builder setPartitionExprVersion(io.greptime.v1.Common.PartitionExprVersion value) {
if (partitionRuleVersionBuilder_ == null) { if (partitionExprVersionBuilder_ == null) {
if (value == null) { if (value == null) {
throw new NullPointerException(); throw new NullPointerException();
} }
partitionRuleVersion_ = value; partitionExprVersion_ = value;
onChanged(); onChanged();
} else { } else {
partitionRuleVersionBuilder_.setMessage(value); partitionExprVersionBuilder_.setMessage(value);
} }
return this; return this;
} }
/** /**
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code> * <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
*/ */
public Builder setPartitionRuleVersion( public Builder setPartitionExprVersion(
io.greptime.v1.Common.PartitionRuleVersion.Builder builderForValue) { io.greptime.v1.Common.PartitionExprVersion.Builder builderForValue) {
if (partitionRuleVersionBuilder_ == null) { if (partitionExprVersionBuilder_ == null) {
partitionRuleVersion_ = builderForValue.build(); partitionExprVersion_ = builderForValue.build();
onChanged(); onChanged();
} else { } else {
partitionRuleVersionBuilder_.setMessage(builderForValue.build()); partitionExprVersionBuilder_.setMessage(builderForValue.build());
} }
return this; return this;
} }
/** /**
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code> * <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
*/ */
public Builder mergePartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) { public Builder mergePartitionExprVersion(io.greptime.v1.Common.PartitionExprVersion value) {
if (partitionRuleVersionBuilder_ == null) { if (partitionExprVersionBuilder_ == null) {
if (partitionRuleVersion_ != null) { if (partitionExprVersion_ != null) {
partitionRuleVersion_ = partitionExprVersion_ =
io.greptime.v1.Common.PartitionRuleVersion.newBuilder(partitionRuleVersion_).mergeFrom(value).buildPartial(); io.greptime.v1.Common.PartitionExprVersion.newBuilder(partitionExprVersion_).mergeFrom(value).buildPartial();
} else { } else {
partitionRuleVersion_ = value; partitionExprVersion_ = value;
} }
onChanged(); onChanged();
} else { } else {
partitionRuleVersionBuilder_.mergeFrom(value); partitionExprVersionBuilder_.mergeFrom(value);
} }
return this; return this;
} }
/** /**
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code> * <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
*/ */
public Builder clearPartitionRuleVersion() { public Builder clearPartitionExprVersion() {
if (partitionRuleVersionBuilder_ == null) { if (partitionExprVersionBuilder_ == null) {
partitionRuleVersion_ = null; partitionExprVersion_ = null;
onChanged(); onChanged();
} else { } else {
partitionRuleVersion_ = null; partitionExprVersion_ = null;
partitionRuleVersionBuilder_ = null; partitionExprVersionBuilder_ = null;
} }
return this; return this;
} }
/** /**
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code> * <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
*/ */
public io.greptime.v1.Common.PartitionRuleVersion.Builder getPartitionRuleVersionBuilder() { public io.greptime.v1.Common.PartitionExprVersion.Builder getPartitionExprVersionBuilder() {
onChanged(); onChanged();
return getPartitionRuleVersionFieldBuilder().getBuilder(); return getPartitionExprVersionFieldBuilder().getBuilder();
} }
/** /**
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code> * <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
*/ */
public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() { public io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder() {
if (partitionRuleVersionBuilder_ != null) { if (partitionExprVersionBuilder_ != null) {
return partitionRuleVersionBuilder_.getMessageOrBuilder(); return partitionExprVersionBuilder_.getMessageOrBuilder();
} else { } else {
return partitionRuleVersion_ == null ? return partitionExprVersion_ == null ?
io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance() : partitionExprVersion_;
} }
} }
/** /**
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code> * <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
*/ */
private com.google.protobuf.SingleFieldBuilderV3< private com.google.protobuf.SingleFieldBuilderV3<
io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder> io.greptime.v1.Common.PartitionExprVersion, io.greptime.v1.Common.PartitionExprVersion.Builder, io.greptime.v1.Common.PartitionExprVersionOrBuilder>
getPartitionRuleVersionFieldBuilder() { getPartitionExprVersionFieldBuilder() {
if (partitionRuleVersionBuilder_ == null) { if (partitionExprVersionBuilder_ == null) {
partitionRuleVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< partitionExprVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder>( io.greptime.v1.Common.PartitionExprVersion, io.greptime.v1.Common.PartitionExprVersion.Builder, io.greptime.v1.Common.PartitionExprVersionOrBuilder>(
getPartitionRuleVersion(), getPartitionExprVersion(),
getParentForChildren(), getParentForChildren(),
isClean()); isClean());
partitionRuleVersion_ = null; partitionExprVersion_ = null;
} }
return partitionRuleVersionBuilder_; return partitionExprVersionBuilder_;
} }
@java.lang.Override @java.lang.Override
public final Builder setUnknownFields( public final Builder setUnknownFields(
@@ -11166,8 +11166,8 @@ java.lang.String defaultValue);
"equests\0221\n\010requests\030\001 \003(\0132\037.greptime.v1." + "equests\0221\n\010requests\030\001 \003(\0132\037.greptime.v1." +
"flow.InsertRequest\"\206\001\n\rInsertRequest\022\021\n\t" + "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" + "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" + ".v1.Rows\022A\n\026partition_expr_version\030\003 \001(\013" +
"2!.greptime.v1.PartitionRuleVersion\"\332\001\n\013" + "2!.greptime.v1.PartitionExprVersion\"\332\001\n\013" +
"FlowRequest\0223\n\006header\030@ \001(\0132#.greptime.v" + "FlowRequest\0223\n\006header\030@ \001(\0132#.greptime.v" +
"1.flow.FlowRequestHeader\0221\n\006create\030\001 \001(\013" + "1.flow.FlowRequestHeader\0221\n\006create\030\001 \001(\013" +
"2\037.greptime.v1.flow.CreateRequestH\000\022-\n\004d" + "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 internal_static_greptime_v1_flow_InsertRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_flow_InsertRequest_descriptor, 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 = internal_static_greptime_v1_flow_FlowRequest_descriptor =
getDescriptor().getMessageTypes().get(5); getDescriptor().getMessageTypes().get(5);
internal_static_greptime_v1_flow_FlowRequest_fieldAccessorTable = new internal_static_greptime_v1_flow_FlowRequest_fieldAccessorTable = new
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -275,6 +275,6 @@ message ArrowIpc {
bytes payload = 3; bytes payload = 3;
} }
message PartitionRuleVersion { message PartitionExprVersion {
uint64 value = 1; uint64 value = 1;
} }
+1 -1
View File
@@ -63,7 +63,7 @@ message InsertRequests {
message InsertRequest { message InsertRequest {
uint64 region_id = 1; uint64 region_id = 1;
Rows rows = 2; Rows rows = 2;
PartitionRuleVersion partition_rule_version = 3; PartitionExprVersion partition_expr_version = 3;
} }
message FlowRequest { message FlowRequest {
+3 -3
View File
@@ -86,13 +86,13 @@ message DeleteRequests {
message InsertRequest { message InsertRequest {
uint64 region_id = 1; uint64 region_id = 1;
Rows rows = 2; Rows rows = 2;
PartitionRuleVersion partition_rule_version = 3; PartitionExprVersion partition_expr_version = 3;
} }
message DeleteRequest { message DeleteRequest {
uint64 region_id = 1; uint64 region_id = 1;
Rows rows = 2; Rows rows = 2;
PartitionRuleVersion partition_rule_version = 3; PartitionExprVersion partition_expr_version = 3;
} }
message QueryRequest { message QueryRequest {
@@ -251,7 +251,7 @@ message BulkInsertRequest {
oneof body { oneof body {
ArrowIpc arrow_ipc = 2; ArrowIpc arrow_ipc = 2;
} }
PartitionRuleVersion partition_rule_version = 3; PartitionExprVersion partition_expr_version = 3;
} }
// Manifest info for mito engine. // Manifest info for mito engine.