feat: remove create_if_not_exists from region CreateRequest (#106)
This commit is contained in:
@@ -155,7 +155,6 @@ PROTOBUF_CONSTEXPR CreateRequest::CreateRequest(
|
|||||||
, /*decltype(_impl_.engine_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
, /*decltype(_impl_.engine_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||||
, /*decltype(_impl_.path_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
, /*decltype(_impl_.path_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||||
, /*decltype(_impl_.region_id_)*/uint64_t{0u}
|
, /*decltype(_impl_.region_id_)*/uint64_t{0u}
|
||||||
, /*decltype(_impl_.create_if_not_exists_)*/false
|
|
||||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||||
struct CreateRequestDefaultTypeInternal {
|
struct CreateRequestDefaultTypeInternal {
|
||||||
PROTOBUF_CONSTEXPR CreateRequestDefaultTypeInternal()
|
PROTOBUF_CONSTEXPR CreateRequestDefaultTypeInternal()
|
||||||
@@ -428,7 +427,6 @@ const uint32_t TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets[] PR
|
|||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::CreateRequest, _impl_.engine_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::CreateRequest, _impl_.engine_),
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::CreateRequest, _impl_.column_defs_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::CreateRequest, _impl_.column_defs_),
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::CreateRequest, _impl_.primary_key_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::CreateRequest, _impl_.primary_key_),
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::CreateRequest, _impl_.create_if_not_exists_),
|
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::CreateRequest, _impl_.path_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::CreateRequest, _impl_.path_),
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::CreateRequest, _impl_.options_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::CreateRequest, _impl_.options_),
|
||||||
~0u, // no _has_bits_
|
~0u, // no _has_bits_
|
||||||
@@ -539,18 +537,18 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
|||||||
{ 63, -1, -1, sizeof(::greptime::v1::region::QueryRequest)},
|
{ 63, -1, -1, sizeof(::greptime::v1::region::QueryRequest)},
|
||||||
{ 72, 80, -1, sizeof(::greptime::v1::region::CreateRequest_OptionsEntry_DoNotUse)},
|
{ 72, 80, -1, sizeof(::greptime::v1::region::CreateRequest_OptionsEntry_DoNotUse)},
|
||||||
{ 82, -1, -1, sizeof(::greptime::v1::region::CreateRequest)},
|
{ 82, -1, -1, sizeof(::greptime::v1::region::CreateRequest)},
|
||||||
{ 95, -1, -1, sizeof(::greptime::v1::region::DropRequest)},
|
{ 94, -1, -1, sizeof(::greptime::v1::region::DropRequest)},
|
||||||
{ 102, 110, -1, sizeof(::greptime::v1::region::OpenRequest_OptionsEntry_DoNotUse)},
|
{ 101, 109, -1, sizeof(::greptime::v1::region::OpenRequest_OptionsEntry_DoNotUse)},
|
||||||
{ 112, -1, -1, sizeof(::greptime::v1::region::OpenRequest)},
|
{ 111, -1, -1, sizeof(::greptime::v1::region::OpenRequest)},
|
||||||
{ 122, -1, -1, sizeof(::greptime::v1::region::CloseRequest)},
|
{ 121, -1, -1, sizeof(::greptime::v1::region::CloseRequest)},
|
||||||
{ 129, -1, -1, sizeof(::greptime::v1::region::AlterRequest)},
|
{ 128, -1, -1, sizeof(::greptime::v1::region::AlterRequest)},
|
||||||
{ 140, -1, -1, sizeof(::greptime::v1::region::AddColumns)},
|
{ 139, -1, -1, sizeof(::greptime::v1::region::AddColumns)},
|
||||||
{ 147, -1, -1, sizeof(::greptime::v1::region::DropColumns)},
|
{ 146, -1, -1, sizeof(::greptime::v1::region::DropColumns)},
|
||||||
{ 154, -1, -1, sizeof(::greptime::v1::region::AddColumn)},
|
{ 153, -1, -1, sizeof(::greptime::v1::region::AddColumn)},
|
||||||
{ 162, -1, -1, sizeof(::greptime::v1::region::DropColumn)},
|
{ 161, -1, -1, sizeof(::greptime::v1::region::DropColumn)},
|
||||||
{ 169, -1, -1, sizeof(::greptime::v1::region::FlushRequest)},
|
{ 168, -1, -1, sizeof(::greptime::v1::region::FlushRequest)},
|
||||||
{ 176, -1, -1, sizeof(::greptime::v1::region::CompactRequest)},
|
{ 175, -1, -1, sizeof(::greptime::v1::region::CompactRequest)},
|
||||||
{ 183, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)},
|
{ 182, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const ::_pb::Message* const file_default_instances[] = {
|
static const ::_pb::Message* const file_default_instances[] = {
|
||||||
@@ -609,40 +607,40 @@ const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] P
|
|||||||
"(\0132\021.greptime.v1.Rows\"h\n\014QueryRequest\0227\n"
|
"(\0132\021.greptime.v1.Rows\"h\n\014QueryRequest\0227\n"
|
||||||
"\006header\030\001 \001(\0132\'.greptime.v1.region.Regio"
|
"\006header\030\001 \001(\0132\'.greptime.v1.region.Regio"
|
||||||
"nRequestHeader\022\021\n\tregion_id\030\002 \001(\004\022\014\n\004pla"
|
"nRequestHeader\022\021\n\tregion_id\030\002 \001(\004\022\014\n\004pla"
|
||||||
"n\030\003 \001(\014\"\236\002\n\rCreateRequest\022\021\n\tregion_id\030\001"
|
"n\030\003 \001(\014\"\200\002\n\rCreateRequest\022\021\n\tregion_id\030\001"
|
||||||
" \001(\004\022\016\n\006engine\030\002 \001(\t\0228\n\013column_defs\030\003 \003("
|
" \001(\004\022\016\n\006engine\030\002 \001(\t\0228\n\013column_defs\030\003 \003("
|
||||||
"\0132#.greptime.v1.region.RegionColumnDef\022\023"
|
"\0132#.greptime.v1.region.RegionColumnDef\022\023"
|
||||||
"\n\013primary_key\030\004 \003(\r\022\034\n\024create_if_not_exi"
|
"\n\013primary_key\030\004 \003(\r\022\014\n\004path\030\005 \001(\t\022\?\n\007opt"
|
||||||
"sts\030\005 \001(\010\022\014\n\004path\030\006 \001(\t\022\?\n\007options\030\007 \003(\013"
|
"ions\030\006 \003(\0132..greptime.v1.region.CreateRe"
|
||||||
"2..greptime.v1.region.CreateRequest.Opti"
|
|
||||||
"onsEntry\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n"
|
|
||||||
"\005value\030\002 \001(\t:\0028\001\" \n\013DropRequest\022\021\n\tregio"
|
|
||||||
"n_id\030\001 \001(\004\"\255\001\n\013OpenRequest\022\021\n\tregion_id\030"
|
|
||||||
"\001 \001(\004\022\016\n\006engine\030\002 \001(\t\022\014\n\004path\030\003 \001(\t\022=\n\007o"
|
|
||||||
"ptions\030\004 \003(\0132,.greptime.v1.region.OpenRe"
|
|
||||||
"quest.OptionsEntry\032.\n\014OptionsEntry\022\013\n\003ke"
|
"quest.OptionsEntry\032.\n\014OptionsEntry\022\013\n\003ke"
|
||||||
"y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"!\n\014CloseReque"
|
"y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\" \n\013DropReques"
|
||||||
"st\022\021\n\tregion_id\030\001 \001(\004\"\261\001\n\014AlterRequest\022\021"
|
"t\022\021\n\tregion_id\030\001 \001(\004\"\255\001\n\013OpenRequest\022\021\n\t"
|
||||||
"\n\tregion_id\030\001 \001(\004\0225\n\013add_columns\030\002 \001(\0132\036"
|
"region_id\030\001 \001(\004\022\016\n\006engine\030\002 \001(\t\022\014\n\004path\030"
|
||||||
".greptime.v1.region.AddColumnsH\000\0227\n\014drop"
|
"\003 \001(\t\022=\n\007options\030\004 \003(\0132,.greptime.v1.reg"
|
||||||
"_columns\030\003 \001(\0132\037.greptime.v1.region.Drop"
|
"ion.OpenRequest.OptionsEntry\032.\n\014OptionsE"
|
||||||
"ColumnsH\000\022\026\n\016schema_version\030\004 \001(\004B\006\n\004kin"
|
"ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"!\n\014"
|
||||||
"d\"@\n\nAddColumns\0222\n\013add_columns\030\001 \003(\0132\035.g"
|
"CloseRequest\022\021\n\tregion_id\030\001 \001(\004\"\261\001\n\014Alte"
|
||||||
"reptime.v1.region.AddColumn\"C\n\013DropColum"
|
"rRequest\022\021\n\tregion_id\030\001 \001(\004\0225\n\013add_colum"
|
||||||
"ns\0224\n\014drop_columns\030\001 \003(\0132\036.greptime.v1.r"
|
"ns\030\002 \001(\0132\036.greptime.v1.region.AddColumns"
|
||||||
"egion.DropColumn\"v\n\tAddColumn\0227\n\ncolumn_"
|
"H\000\0227\n\014drop_columns\030\003 \001(\0132\037.greptime.v1.r"
|
||||||
"def\030\001 \001(\0132#.greptime.v1.region.RegionCol"
|
"egion.DropColumnsH\000\022\026\n\016schema_version\030\004 "
|
||||||
"umnDef\0220\n\010location\030\003 \001(\0132\036.greptime.v1.A"
|
"\001(\004B\006\n\004kind\"@\n\nAddColumns\0222\n\013add_columns"
|
||||||
"ddColumnLocation\"\032\n\nDropColumn\022\014\n\004name\030\001"
|
"\030\001 \003(\0132\035.greptime.v1.region.AddColumn\"C\n"
|
||||||
" \001(\t\"!\n\014FlushRequest\022\021\n\tregion_id\030\001 \001(\004\""
|
"\013DropColumns\0224\n\014drop_columns\030\001 \003(\0132\036.gre"
|
||||||
"#\n\016CompactRequest\022\021\n\tregion_id\030\001 \001(\004\"P\n\017"
|
"ptime.v1.region.DropColumn\"v\n\tAddColumn\022"
|
||||||
"RegionColumnDef\022*\n\ncolumn_def\030\001 \001(\0132\026.gr"
|
"7\n\ncolumn_def\030\001 \001(\0132#.greptime.v1.region"
|
||||||
"eptime.v1.ColumnDef\022\021\n\tcolumn_id\030\002 \001(\r2Y"
|
".RegionColumnDef\0220\n\010location\030\003 \001(\0132\036.gre"
|
||||||
"\n\006Region\022O\n\006Handle\022!.greptime.v1.region."
|
"ptime.v1.AddColumnLocation\"\032\n\nDropColumn"
|
||||||
"RegionRequest\032\".greptime.v1.region.Regio"
|
"\022\014\n\004name\030\001 \001(\t\"!\n\014FlushRequest\022\021\n\tregion"
|
||||||
"nResponseB]\n\025io.greptime.v1.regionB\006Serv"
|
"_id\030\001 \001(\004\"#\n\016CompactRequest\022\021\n\tregion_id"
|
||||||
"erZ<github.com/GreptimeTeam/greptime-pro"
|
"\030\001 \001(\004\"P\n\017RegionColumnDef\022*\n\ncolumn_def\030"
|
||||||
"to/go/greptime/v1/regionb\006proto3"
|
"\001 \001(\0132\026.greptime.v1.ColumnDef\022\021\n\tcolumn_"
|
||||||
|
"id\030\002 \001(\r2Y\n\006Region\022O\n\006Handle\022!.greptime."
|
||||||
|
"v1.region.RegionRequest\032\".greptime.v1.re"
|
||||||
|
"gion.RegionResponseB]\n\025io.greptime.v1.re"
|
||||||
|
"gionB\006ServerZ<github.com/GreptimeTeam/gr"
|
||||||
|
"eptime-proto/go/greptime/v1/regionb\006prot"
|
||||||
|
"o3"
|
||||||
;
|
;
|
||||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_deps[3] = {
|
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_deps[3] = {
|
||||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||||
@@ -651,7 +649,7 @@ static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2freg
|
|||||||
};
|
};
|
||||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once;
|
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once;
|
||||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto = {
|
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto = {
|
||||||
false, false, 2552, descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto,
|
false, false, 2522, descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto,
|
||||||
"greptime/v1/region/server.proto",
|
"greptime/v1/region/server.proto",
|
||||||
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_deps, 3, 22,
|
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_deps, 3, 22,
|
||||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets,
|
schemas, file_default_instances, TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets,
|
||||||
@@ -3003,7 +3001,6 @@ CreateRequest::CreateRequest(const CreateRequest& from)
|
|||||||
, decltype(_impl_.engine_){}
|
, decltype(_impl_.engine_){}
|
||||||
, decltype(_impl_.path_){}
|
, decltype(_impl_.path_){}
|
||||||
, decltype(_impl_.region_id_){}
|
, decltype(_impl_.region_id_){}
|
||||||
, decltype(_impl_.create_if_not_exists_){}
|
|
||||||
, /*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_);
|
||||||
@@ -3024,9 +3021,7 @@ CreateRequest::CreateRequest(const CreateRequest& from)
|
|||||||
_this->_impl_.path_.Set(from._internal_path(),
|
_this->_impl_.path_.Set(from._internal_path(),
|
||||||
_this->GetArenaForAllocation());
|
_this->GetArenaForAllocation());
|
||||||
}
|
}
|
||||||
::memcpy(&_impl_.region_id_, &from._impl_.region_id_,
|
_this->_impl_.region_id_ = from._impl_.region_id_;
|
||||||
static_cast<size_t>(reinterpret_cast<char*>(&_impl_.create_if_not_exists_) -
|
|
||||||
reinterpret_cast<char*>(&_impl_.region_id_)) + sizeof(_impl_.create_if_not_exists_));
|
|
||||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.region.CreateRequest)
|
// @@protoc_insertion_point(copy_constructor:greptime.v1.region.CreateRequest)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3042,7 +3037,6 @@ inline void CreateRequest::SharedCtor(
|
|||||||
, decltype(_impl_.engine_){}
|
, decltype(_impl_.engine_){}
|
||||||
, decltype(_impl_.path_){}
|
, decltype(_impl_.path_){}
|
||||||
, decltype(_impl_.region_id_){uint64_t{0u}}
|
, decltype(_impl_.region_id_){uint64_t{0u}}
|
||||||
, decltype(_impl_.create_if_not_exists_){false}
|
|
||||||
, /*decltype(_impl_._cached_size_)*/{}
|
, /*decltype(_impl_._cached_size_)*/{}
|
||||||
};
|
};
|
||||||
_impl_.engine_.InitDefault();
|
_impl_.engine_.InitDefault();
|
||||||
@@ -3094,9 +3088,7 @@ void CreateRequest::Clear() {
|
|||||||
_impl_.options_.Clear();
|
_impl_.options_.Clear();
|
||||||
_impl_.engine_.ClearToEmpty();
|
_impl_.engine_.ClearToEmpty();
|
||||||
_impl_.path_.ClearToEmpty();
|
_impl_.path_.ClearToEmpty();
|
||||||
::memset(&_impl_.region_id_, 0, static_cast<size_t>(
|
_impl_.region_id_ = uint64_t{0u};
|
||||||
reinterpret_cast<char*>(&_impl_.create_if_not_exists_) -
|
|
||||||
reinterpret_cast<char*>(&_impl_.region_id_)) + sizeof(_impl_.create_if_not_exists_));
|
|
||||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3148,17 +3140,9 @@ const char* CreateRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext*
|
|||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
continue;
|
continue;
|
||||||
// bool create_if_not_exists = 5;
|
// string path = 5;
|
||||||
case 5:
|
case 5:
|
||||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
|
||||||
_impl_.create_if_not_exists_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
|
||||||
CHK_(ptr);
|
|
||||||
} else
|
|
||||||
goto handle_unusual;
|
|
||||||
continue;
|
|
||||||
// string path = 6;
|
|
||||||
case 6:
|
|
||||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
|
|
||||||
auto str = _internal_mutable_path();
|
auto str = _internal_mutable_path();
|
||||||
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
|
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
|
||||||
CHK_(ptr);
|
CHK_(ptr);
|
||||||
@@ -3166,16 +3150,16 @@ const char* CreateRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext*
|
|||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
continue;
|
continue;
|
||||||
// map<string, string> options = 7;
|
// map<string, string> options = 6;
|
||||||
case 7:
|
case 6:
|
||||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
|
||||||
ptr -= 1;
|
ptr -= 1;
|
||||||
do {
|
do {
|
||||||
ptr += 1;
|
ptr += 1;
|
||||||
ptr = ctx->ParseMessage(&_impl_.options_, ptr);
|
ptr = ctx->ParseMessage(&_impl_.options_, ptr);
|
||||||
CHK_(ptr);
|
CHK_(ptr);
|
||||||
if (!ctx->DataAvailable(ptr)) break;
|
if (!ctx->DataAvailable(ptr)) break;
|
||||||
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr));
|
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr));
|
||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
continue;
|
continue;
|
||||||
@@ -3241,23 +3225,17 @@ uint8_t* CreateRequest::_InternalSerialize(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// bool create_if_not_exists = 5;
|
// string path = 5;
|
||||||
if (this->_internal_create_if_not_exists() != 0) {
|
|
||||||
target = stream->EnsureSpace(target);
|
|
||||||
target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_create_if_not_exists(), target);
|
|
||||||
}
|
|
||||||
|
|
||||||
// string path = 6;
|
|
||||||
if (!this->_internal_path().empty()) {
|
if (!this->_internal_path().empty()) {
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
|
||||||
this->_internal_path().data(), static_cast<int>(this->_internal_path().length()),
|
this->_internal_path().data(), static_cast<int>(this->_internal_path().length()),
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
|
||||||
"greptime.v1.region.CreateRequest.path");
|
"greptime.v1.region.CreateRequest.path");
|
||||||
target = stream->WriteStringMaybeAliased(
|
target = stream->WriteStringMaybeAliased(
|
||||||
6, this->_internal_path(), target);
|
5, this->_internal_path(), target);
|
||||||
}
|
}
|
||||||
|
|
||||||
// map<string, string> options = 7;
|
// map<string, string> options = 6;
|
||||||
if (!this->_internal_options().empty()) {
|
if (!this->_internal_options().empty()) {
|
||||||
using MapType = ::_pb::Map<std::string, std::string>;
|
using MapType = ::_pb::Map<std::string, std::string>;
|
||||||
using WireHelper = CreateRequest_OptionsEntry_DoNotUse::Funcs;
|
using WireHelper = CreateRequest_OptionsEntry_DoNotUse::Funcs;
|
||||||
@@ -3276,12 +3254,12 @@ uint8_t* CreateRequest::_InternalSerialize(
|
|||||||
|
|
||||||
if (stream->IsSerializationDeterministic() && map_field.size() > 1) {
|
if (stream->IsSerializationDeterministic() && map_field.size() > 1) {
|
||||||
for (const auto& entry : ::_pbi::MapSorterPtr<MapType>(map_field)) {
|
for (const auto& entry : ::_pbi::MapSorterPtr<MapType>(map_field)) {
|
||||||
target = WireHelper::InternalSerialize(7, entry.first, entry.second, target, stream);
|
target = WireHelper::InternalSerialize(6, entry.first, entry.second, target, stream);
|
||||||
check_utf8(entry);
|
check_utf8(entry);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for (const auto& entry : map_field) {
|
for (const auto& entry : map_field) {
|
||||||
target = WireHelper::InternalSerialize(7, entry.first, entry.second, target, stream);
|
target = WireHelper::InternalSerialize(6, entry.first, entry.second, target, stream);
|
||||||
check_utf8(entry);
|
check_utf8(entry);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3324,7 +3302,7 @@ size_t CreateRequest::ByteSizeLong() const {
|
|||||||
total_size += data_size;
|
total_size += data_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
// map<string, string> options = 7;
|
// map<string, string> options = 6;
|
||||||
total_size += 1 *
|
total_size += 1 *
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_options_size());
|
::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_options_size());
|
||||||
for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
|
for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
|
||||||
@@ -3340,7 +3318,7 @@ size_t CreateRequest::ByteSizeLong() const {
|
|||||||
this->_internal_engine());
|
this->_internal_engine());
|
||||||
}
|
}
|
||||||
|
|
||||||
// string path = 6;
|
// string path = 5;
|
||||||
if (!this->_internal_path().empty()) {
|
if (!this->_internal_path().empty()) {
|
||||||
total_size += 1 +
|
total_size += 1 +
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
|
||||||
@@ -3352,11 +3330,6 @@ size_t CreateRequest::ByteSizeLong() const {
|
|||||||
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_region_id());
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_region_id());
|
||||||
}
|
}
|
||||||
|
|
||||||
// bool create_if_not_exists = 5;
|
|
||||||
if (this->_internal_create_if_not_exists() != 0) {
|
|
||||||
total_size += 1 + 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3387,9 +3360,6 @@ void CreateRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::
|
|||||||
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());
|
||||||
}
|
}
|
||||||
if (from._internal_create_if_not_exists() != 0) {
|
|
||||||
_this->_internal_set_create_if_not_exists(from._internal_create_if_not_exists());
|
|
||||||
}
|
|
||||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3420,12 +3390,7 @@ void CreateRequest::InternalSwap(CreateRequest* other) {
|
|||||||
&_impl_.path_, lhs_arena,
|
&_impl_.path_, lhs_arena,
|
||||||
&other->_impl_.path_, rhs_arena
|
&other->_impl_.path_, rhs_arena
|
||||||
);
|
);
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::memswap<
|
swap(_impl_.region_id_, other->_impl_.region_id_);
|
||||||
PROTOBUF_FIELD_OFFSET(CreateRequest, _impl_.create_if_not_exists_)
|
|
||||||
+ sizeof(CreateRequest::_impl_.create_if_not_exists_)
|
|
||||||
- PROTOBUF_FIELD_OFFSET(CreateRequest, _impl_.region_id_)>(
|
|
||||||
reinterpret_cast<char*>(&_impl_.region_id_),
|
|
||||||
reinterpret_cast<char*>(&other->_impl_.region_id_));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
::PROTOBUF_NAMESPACE_ID::Metadata CreateRequest::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata CreateRequest::GetMetadata() const {
|
||||||
|
|||||||
@@ -1837,11 +1837,10 @@ class CreateRequest final :
|
|||||||
enum : int {
|
enum : int {
|
||||||
kColumnDefsFieldNumber = 3,
|
kColumnDefsFieldNumber = 3,
|
||||||
kPrimaryKeyFieldNumber = 4,
|
kPrimaryKeyFieldNumber = 4,
|
||||||
kOptionsFieldNumber = 7,
|
kOptionsFieldNumber = 6,
|
||||||
kEngineFieldNumber = 2,
|
kEngineFieldNumber = 2,
|
||||||
kPathFieldNumber = 6,
|
kPathFieldNumber = 5,
|
||||||
kRegionIdFieldNumber = 1,
|
kRegionIdFieldNumber = 1,
|
||||||
kCreateIfNotExistsFieldNumber = 5,
|
|
||||||
};
|
};
|
||||||
// repeated .greptime.v1.region.RegionColumnDef column_defs = 3;
|
// repeated .greptime.v1.region.RegionColumnDef column_defs = 3;
|
||||||
int column_defs_size() const;
|
int column_defs_size() const;
|
||||||
@@ -1883,7 +1882,7 @@ class CreateRequest final :
|
|||||||
::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
|
::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
|
||||||
mutable_primary_key();
|
mutable_primary_key();
|
||||||
|
|
||||||
// map<string, string> options = 7;
|
// map<string, string> options = 6;
|
||||||
int options_size() const;
|
int options_size() const;
|
||||||
private:
|
private:
|
||||||
int _internal_options_size() const;
|
int _internal_options_size() const;
|
||||||
@@ -1914,7 +1913,7 @@ class CreateRequest final :
|
|||||||
std::string* _internal_mutable_engine();
|
std::string* _internal_mutable_engine();
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// string path = 6;
|
// string path = 5;
|
||||||
void clear_path();
|
void clear_path();
|
||||||
const std::string& path() const;
|
const std::string& path() const;
|
||||||
template <typename ArgT0 = const std::string&, typename... ArgT>
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
||||||
@@ -1937,15 +1936,6 @@ class CreateRequest final :
|
|||||||
void _internal_set_region_id(uint64_t value);
|
void _internal_set_region_id(uint64_t value);
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// bool create_if_not_exists = 5;
|
|
||||||
void clear_create_if_not_exists();
|
|
||||||
bool create_if_not_exists() const;
|
|
||||||
void set_create_if_not_exists(bool value);
|
|
||||||
private:
|
|
||||||
bool _internal_create_if_not_exists() const;
|
|
||||||
void _internal_set_create_if_not_exists(bool value);
|
|
||||||
public:
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(class_scope:greptime.v1.region.CreateRequest)
|
// @@protoc_insertion_point(class_scope:greptime.v1.region.CreateRequest)
|
||||||
private:
|
private:
|
||||||
class _Internal;
|
class _Internal;
|
||||||
@@ -1965,7 +1955,6 @@ class CreateRequest final :
|
|||||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr engine_;
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr engine_;
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr path_;
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr path_;
|
||||||
uint64_t region_id_;
|
uint64_t region_id_;
|
||||||
bool create_if_not_exists_;
|
|
||||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
};
|
};
|
||||||
union { Impl_ _impl_; };
|
union { Impl_ _impl_; };
|
||||||
@@ -5389,27 +5378,7 @@ CreateRequest::mutable_primary_key() {
|
|||||||
return _internal_mutable_primary_key();
|
return _internal_mutable_primary_key();
|
||||||
}
|
}
|
||||||
|
|
||||||
// bool create_if_not_exists = 5;
|
// string path = 5;
|
||||||
inline void CreateRequest::clear_create_if_not_exists() {
|
|
||||||
_impl_.create_if_not_exists_ = false;
|
|
||||||
}
|
|
||||||
inline bool CreateRequest::_internal_create_if_not_exists() const {
|
|
||||||
return _impl_.create_if_not_exists_;
|
|
||||||
}
|
|
||||||
inline bool CreateRequest::create_if_not_exists() const {
|
|
||||||
// @@protoc_insertion_point(field_get:greptime.v1.region.CreateRequest.create_if_not_exists)
|
|
||||||
return _internal_create_if_not_exists();
|
|
||||||
}
|
|
||||||
inline void CreateRequest::_internal_set_create_if_not_exists(bool value) {
|
|
||||||
|
|
||||||
_impl_.create_if_not_exists_ = value;
|
|
||||||
}
|
|
||||||
inline void CreateRequest::set_create_if_not_exists(bool value) {
|
|
||||||
_internal_set_create_if_not_exists(value);
|
|
||||||
// @@protoc_insertion_point(field_set:greptime.v1.region.CreateRequest.create_if_not_exists)
|
|
||||||
}
|
|
||||||
|
|
||||||
// string path = 6;
|
|
||||||
inline void CreateRequest::clear_path() {
|
inline void CreateRequest::clear_path() {
|
||||||
_impl_.path_.ClearToEmpty();
|
_impl_.path_.ClearToEmpty();
|
||||||
}
|
}
|
||||||
@@ -5459,7 +5428,7 @@ inline void CreateRequest::set_allocated_path(std::string* path) {
|
|||||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.region.CreateRequest.path)
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.region.CreateRequest.path)
|
||||||
}
|
}
|
||||||
|
|
||||||
// map<string, string> options = 7;
|
// map<string, string> options = 6;
|
||||||
inline int CreateRequest::_internal_options_size() const {
|
inline int CreateRequest::_internal_options_size() const {
|
||||||
return _impl_.options_.size();
|
return _impl_.options_.size();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7943,22 +7943,12 @@ public final class Server {
|
|||||||
*/
|
*/
|
||||||
int getPrimaryKey(int index);
|
int getPrimaryKey(int index);
|
||||||
|
|
||||||
/**
|
|
||||||
* <pre>
|
|
||||||
* Create region if not exists.
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* <code>bool create_if_not_exists = 5;</code>
|
|
||||||
* @return The createIfNotExists.
|
|
||||||
*/
|
|
||||||
boolean getCreateIfNotExists();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Region storage path
|
* Region storage path
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>string path = 6;</code>
|
* <code>string path = 5;</code>
|
||||||
* @return The path.
|
* @return The path.
|
||||||
*/
|
*/
|
||||||
java.lang.String getPath();
|
java.lang.String getPath();
|
||||||
@@ -7967,7 +7957,7 @@ public final class Server {
|
|||||||
* Region storage path
|
* Region storage path
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>string path = 6;</code>
|
* <code>string path = 5;</code>
|
||||||
* @return The bytes for path.
|
* @return The bytes for path.
|
||||||
*/
|
*/
|
||||||
com.google.protobuf.ByteString
|
com.google.protobuf.ByteString
|
||||||
@@ -7978,7 +7968,7 @@ public final class Server {
|
|||||||
* Options of the created region.
|
* Options of the created region.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>map<string, string> options = 7;</code>
|
* <code>map<string, string> options = 6;</code>
|
||||||
*/
|
*/
|
||||||
int getOptionsCount();
|
int getOptionsCount();
|
||||||
/**
|
/**
|
||||||
@@ -7986,7 +7976,7 @@ public final class Server {
|
|||||||
* Options of the created region.
|
* Options of the created region.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>map<string, string> options = 7;</code>
|
* <code>map<string, string> options = 6;</code>
|
||||||
*/
|
*/
|
||||||
boolean containsOptions(
|
boolean containsOptions(
|
||||||
java.lang.String key);
|
java.lang.String key);
|
||||||
@@ -8001,7 +7991,7 @@ public final class Server {
|
|||||||
* Options of the created region.
|
* Options of the created region.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>map<string, string> options = 7;</code>
|
* <code>map<string, string> options = 6;</code>
|
||||||
*/
|
*/
|
||||||
java.util.Map<java.lang.String, java.lang.String>
|
java.util.Map<java.lang.String, java.lang.String>
|
||||||
getOptionsMap();
|
getOptionsMap();
|
||||||
@@ -8010,7 +8000,7 @@ public final class Server {
|
|||||||
* Options of the created region.
|
* Options of the created region.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>map<string, string> options = 7;</code>
|
* <code>map<string, string> options = 6;</code>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* nullable */
|
/* nullable */
|
||||||
@@ -8023,7 +8013,7 @@ java.lang.String defaultValue);
|
|||||||
* Options of the created region.
|
* Options of the created region.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>map<string, string> options = 7;</code>
|
* <code>map<string, string> options = 6;</code>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
java.lang.String getOptionsOrThrow(
|
java.lang.String getOptionsOrThrow(
|
||||||
@@ -8120,18 +8110,13 @@ java.lang.String defaultValue);
|
|||||||
input.popLimit(limit);
|
input.popLimit(limit);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 40: {
|
case 42: {
|
||||||
|
|
||||||
createIfNotExists_ = input.readBool();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 50: {
|
|
||||||
java.lang.String s = input.readStringRequireUtf8();
|
java.lang.String s = input.readStringRequireUtf8();
|
||||||
|
|
||||||
path_ = s;
|
path_ = s;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 58: {
|
case 50: {
|
||||||
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
|
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
|
||||||
options_ = com.google.protobuf.MapField.newMapField(
|
options_ = com.google.protobuf.MapField.newMapField(
|
||||||
OptionsDefaultEntryHolder.defaultEntry);
|
OptionsDefaultEntryHolder.defaultEntry);
|
||||||
@@ -8181,7 +8166,7 @@ java.lang.String defaultValue);
|
|||||||
protected com.google.protobuf.MapField internalGetMapField(
|
protected com.google.protobuf.MapField internalGetMapField(
|
||||||
int number) {
|
int number) {
|
||||||
switch (number) {
|
switch (number) {
|
||||||
case 7:
|
case 6:
|
||||||
return internalGetOptions();
|
return internalGetOptions();
|
||||||
default:
|
default:
|
||||||
throw new RuntimeException(
|
throw new RuntimeException(
|
||||||
@@ -8353,29 +8338,14 @@ java.lang.String defaultValue);
|
|||||||
}
|
}
|
||||||
private int primaryKeyMemoizedSerializedSize = -1;
|
private int primaryKeyMemoizedSerializedSize = -1;
|
||||||
|
|
||||||
public static final int CREATE_IF_NOT_EXISTS_FIELD_NUMBER = 5;
|
public static final int PATH_FIELD_NUMBER = 5;
|
||||||
private boolean createIfNotExists_;
|
|
||||||
/**
|
|
||||||
* <pre>
|
|
||||||
* Create region if not exists.
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* <code>bool create_if_not_exists = 5;</code>
|
|
||||||
* @return The createIfNotExists.
|
|
||||||
*/
|
|
||||||
@java.lang.Override
|
|
||||||
public boolean getCreateIfNotExists() {
|
|
||||||
return createIfNotExists_;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static final int PATH_FIELD_NUMBER = 6;
|
|
||||||
private volatile java.lang.Object path_;
|
private volatile java.lang.Object path_;
|
||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Region storage path
|
* Region storage path
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>string path = 6;</code>
|
* <code>string path = 5;</code>
|
||||||
* @return The path.
|
* @return The path.
|
||||||
*/
|
*/
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
@@ -8396,7 +8366,7 @@ java.lang.String defaultValue);
|
|||||||
* Region storage path
|
* Region storage path
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>string path = 6;</code>
|
* <code>string path = 5;</code>
|
||||||
* @return The bytes for path.
|
* @return The bytes for path.
|
||||||
*/
|
*/
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
@@ -8414,7 +8384,7 @@ java.lang.String defaultValue);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final int OPTIONS_FIELD_NUMBER = 7;
|
public static final int OPTIONS_FIELD_NUMBER = 6;
|
||||||
private static final class OptionsDefaultEntryHolder {
|
private static final class OptionsDefaultEntryHolder {
|
||||||
static final com.google.protobuf.MapEntry<
|
static final com.google.protobuf.MapEntry<
|
||||||
java.lang.String, java.lang.String> defaultEntry =
|
java.lang.String, java.lang.String> defaultEntry =
|
||||||
@@ -8445,7 +8415,7 @@ java.lang.String defaultValue);
|
|||||||
* Options of the created region.
|
* Options of the created region.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>map<string, string> options = 7;</code>
|
* <code>map<string, string> options = 6;</code>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
@@ -8467,7 +8437,7 @@ java.lang.String defaultValue);
|
|||||||
* Options of the created region.
|
* Options of the created region.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>map<string, string> options = 7;</code>
|
* <code>map<string, string> options = 6;</code>
|
||||||
*/
|
*/
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
|
|
||||||
@@ -8479,7 +8449,7 @@ java.lang.String defaultValue);
|
|||||||
* Options of the created region.
|
* Options of the created region.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>map<string, string> options = 7;</code>
|
* <code>map<string, string> options = 6;</code>
|
||||||
*/
|
*/
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
|
|
||||||
@@ -8496,7 +8466,7 @@ java.lang.String defaultValue);
|
|||||||
* Options of the created region.
|
* Options of the created region.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>map<string, string> options = 7;</code>
|
* <code>map<string, string> options = 6;</code>
|
||||||
*/
|
*/
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
|
|
||||||
@@ -8542,18 +8512,15 @@ java.lang.String defaultValue);
|
|||||||
for (int i = 0; i < primaryKey_.size(); i++) {
|
for (int i = 0; i < primaryKey_.size(); i++) {
|
||||||
output.writeUInt32NoTag(primaryKey_.getInt(i));
|
output.writeUInt32NoTag(primaryKey_.getInt(i));
|
||||||
}
|
}
|
||||||
if (createIfNotExists_ != false) {
|
|
||||||
output.writeBool(5, createIfNotExists_);
|
|
||||||
}
|
|
||||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
|
||||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, path_);
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, path_);
|
||||||
}
|
}
|
||||||
com.google.protobuf.GeneratedMessageV3
|
com.google.protobuf.GeneratedMessageV3
|
||||||
.serializeStringMapTo(
|
.serializeStringMapTo(
|
||||||
output,
|
output,
|
||||||
internalGetOptions(),
|
internalGetOptions(),
|
||||||
OptionsDefaultEntryHolder.defaultEntry,
|
OptionsDefaultEntryHolder.defaultEntry,
|
||||||
7);
|
6);
|
||||||
unknownFields.writeTo(output);
|
unknownFields.writeTo(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -8588,12 +8555,8 @@ java.lang.String defaultValue);
|
|||||||
}
|
}
|
||||||
primaryKeyMemoizedSerializedSize = dataSize;
|
primaryKeyMemoizedSerializedSize = dataSize;
|
||||||
}
|
}
|
||||||
if (createIfNotExists_ != false) {
|
|
||||||
size += com.google.protobuf.CodedOutputStream
|
|
||||||
.computeBoolSize(5, createIfNotExists_);
|
|
||||||
}
|
|
||||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
|
||||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, path_);
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, path_);
|
||||||
}
|
}
|
||||||
for (java.util.Map.Entry<java.lang.String, java.lang.String> entry
|
for (java.util.Map.Entry<java.lang.String, java.lang.String> entry
|
||||||
: internalGetOptions().getMap().entrySet()) {
|
: internalGetOptions().getMap().entrySet()) {
|
||||||
@@ -8603,7 +8566,7 @@ java.lang.String defaultValue);
|
|||||||
.setValue(entry.getValue())
|
.setValue(entry.getValue())
|
||||||
.build();
|
.build();
|
||||||
size += com.google.protobuf.CodedOutputStream
|
size += com.google.protobuf.CodedOutputStream
|
||||||
.computeMessageSize(7, options__);
|
.computeMessageSize(6, options__);
|
||||||
}
|
}
|
||||||
size += unknownFields.getSerializedSize();
|
size += unknownFields.getSerializedSize();
|
||||||
memoizedSize = size;
|
memoizedSize = size;
|
||||||
@@ -8628,8 +8591,6 @@ java.lang.String defaultValue);
|
|||||||
.equals(other.getColumnDefsList())) return false;
|
.equals(other.getColumnDefsList())) return false;
|
||||||
if (!getPrimaryKeyList()
|
if (!getPrimaryKeyList()
|
||||||
.equals(other.getPrimaryKeyList())) return false;
|
.equals(other.getPrimaryKeyList())) return false;
|
||||||
if (getCreateIfNotExists()
|
|
||||||
!= other.getCreateIfNotExists()) return false;
|
|
||||||
if (!getPath()
|
if (!getPath()
|
||||||
.equals(other.getPath())) return false;
|
.equals(other.getPath())) return false;
|
||||||
if (!internalGetOptions().equals(
|
if (!internalGetOptions().equals(
|
||||||
@@ -8658,9 +8619,6 @@ java.lang.String defaultValue);
|
|||||||
hash = (37 * hash) + PRIMARY_KEY_FIELD_NUMBER;
|
hash = (37 * hash) + PRIMARY_KEY_FIELD_NUMBER;
|
||||||
hash = (53 * hash) + getPrimaryKeyList().hashCode();
|
hash = (53 * hash) + getPrimaryKeyList().hashCode();
|
||||||
}
|
}
|
||||||
hash = (37 * hash) + CREATE_IF_NOT_EXISTS_FIELD_NUMBER;
|
|
||||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
||||||
getCreateIfNotExists());
|
|
||||||
hash = (37 * hash) + PATH_FIELD_NUMBER;
|
hash = (37 * hash) + PATH_FIELD_NUMBER;
|
||||||
hash = (53 * hash) + getPath().hashCode();
|
hash = (53 * hash) + getPath().hashCode();
|
||||||
if (!internalGetOptions().getMap().isEmpty()) {
|
if (!internalGetOptions().getMap().isEmpty()) {
|
||||||
@@ -8778,7 +8736,7 @@ java.lang.String defaultValue);
|
|||||||
protected com.google.protobuf.MapField internalGetMapField(
|
protected com.google.protobuf.MapField internalGetMapField(
|
||||||
int number) {
|
int number) {
|
||||||
switch (number) {
|
switch (number) {
|
||||||
case 7:
|
case 6:
|
||||||
return internalGetOptions();
|
return internalGetOptions();
|
||||||
default:
|
default:
|
||||||
throw new RuntimeException(
|
throw new RuntimeException(
|
||||||
@@ -8789,7 +8747,7 @@ java.lang.String defaultValue);
|
|||||||
protected com.google.protobuf.MapField internalGetMutableMapField(
|
protected com.google.protobuf.MapField internalGetMutableMapField(
|
||||||
int number) {
|
int number) {
|
||||||
switch (number) {
|
switch (number) {
|
||||||
case 7:
|
case 6:
|
||||||
return internalGetMutableOptions();
|
return internalGetMutableOptions();
|
||||||
default:
|
default:
|
||||||
throw new RuntimeException(
|
throw new RuntimeException(
|
||||||
@@ -8835,8 +8793,6 @@ java.lang.String defaultValue);
|
|||||||
}
|
}
|
||||||
primaryKey_ = emptyIntList();
|
primaryKey_ = emptyIntList();
|
||||||
bitField0_ = (bitField0_ & ~0x00000002);
|
bitField0_ = (bitField0_ & ~0x00000002);
|
||||||
createIfNotExists_ = false;
|
|
||||||
|
|
||||||
path_ = "";
|
path_ = "";
|
||||||
|
|
||||||
internalGetMutableOptions().clear();
|
internalGetMutableOptions().clear();
|
||||||
@@ -8883,7 +8839,6 @@ java.lang.String defaultValue);
|
|||||||
bitField0_ = (bitField0_ & ~0x00000002);
|
bitField0_ = (bitField0_ & ~0x00000002);
|
||||||
}
|
}
|
||||||
result.primaryKey_ = primaryKey_;
|
result.primaryKey_ = primaryKey_;
|
||||||
result.createIfNotExists_ = createIfNotExists_;
|
|
||||||
result.path_ = path_;
|
result.path_ = path_;
|
||||||
result.options_ = internalGetOptions();
|
result.options_ = internalGetOptions();
|
||||||
result.options_.makeImmutable();
|
result.options_.makeImmutable();
|
||||||
@@ -8978,9 +8933,6 @@ java.lang.String defaultValue);
|
|||||||
}
|
}
|
||||||
onChanged();
|
onChanged();
|
||||||
}
|
}
|
||||||
if (other.getCreateIfNotExists() != false) {
|
|
||||||
setCreateIfNotExists(other.getCreateIfNotExists());
|
|
||||||
}
|
|
||||||
if (!other.getPath().isEmpty()) {
|
if (!other.getPath().isEmpty()) {
|
||||||
path_ = other.path_;
|
path_ = other.path_;
|
||||||
onChanged();
|
onChanged();
|
||||||
@@ -9563,56 +9515,13 @@ java.lang.String defaultValue);
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean createIfNotExists_ ;
|
|
||||||
/**
|
|
||||||
* <pre>
|
|
||||||
* Create region if not exists.
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* <code>bool create_if_not_exists = 5;</code>
|
|
||||||
* @return The createIfNotExists.
|
|
||||||
*/
|
|
||||||
@java.lang.Override
|
|
||||||
public boolean getCreateIfNotExists() {
|
|
||||||
return createIfNotExists_;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <pre>
|
|
||||||
* Create region if not exists.
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* <code>bool create_if_not_exists = 5;</code>
|
|
||||||
* @param value The createIfNotExists to set.
|
|
||||||
* @return This builder for chaining.
|
|
||||||
*/
|
|
||||||
public Builder setCreateIfNotExists(boolean value) {
|
|
||||||
|
|
||||||
createIfNotExists_ = value;
|
|
||||||
onChanged();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <pre>
|
|
||||||
* Create region if not exists.
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* <code>bool create_if_not_exists = 5;</code>
|
|
||||||
* @return This builder for chaining.
|
|
||||||
*/
|
|
||||||
public Builder clearCreateIfNotExists() {
|
|
||||||
|
|
||||||
createIfNotExists_ = false;
|
|
||||||
onChanged();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
private java.lang.Object path_ = "";
|
private java.lang.Object path_ = "";
|
||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Region storage path
|
* Region storage path
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>string path = 6;</code>
|
* <code>string path = 5;</code>
|
||||||
* @return The path.
|
* @return The path.
|
||||||
*/
|
*/
|
||||||
public java.lang.String getPath() {
|
public java.lang.String getPath() {
|
||||||
@@ -9632,7 +9541,7 @@ java.lang.String defaultValue);
|
|||||||
* Region storage path
|
* Region storage path
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>string path = 6;</code>
|
* <code>string path = 5;</code>
|
||||||
* @return The bytes for path.
|
* @return The bytes for path.
|
||||||
*/
|
*/
|
||||||
public com.google.protobuf.ByteString
|
public com.google.protobuf.ByteString
|
||||||
@@ -9653,7 +9562,7 @@ java.lang.String defaultValue);
|
|||||||
* Region storage path
|
* Region storage path
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>string path = 6;</code>
|
* <code>string path = 5;</code>
|
||||||
* @param value The path to set.
|
* @param value The path to set.
|
||||||
* @return This builder for chaining.
|
* @return This builder for chaining.
|
||||||
*/
|
*/
|
||||||
@@ -9672,7 +9581,7 @@ java.lang.String defaultValue);
|
|||||||
* Region storage path
|
* Region storage path
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>string path = 6;</code>
|
* <code>string path = 5;</code>
|
||||||
* @return This builder for chaining.
|
* @return This builder for chaining.
|
||||||
*/
|
*/
|
||||||
public Builder clearPath() {
|
public Builder clearPath() {
|
||||||
@@ -9686,7 +9595,7 @@ java.lang.String defaultValue);
|
|||||||
* Region storage path
|
* Region storage path
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>string path = 6;</code>
|
* <code>string path = 5;</code>
|
||||||
* @param value The bytes for path to set.
|
* @param value The bytes for path to set.
|
||||||
* @return This builder for chaining.
|
* @return This builder for chaining.
|
||||||
*/
|
*/
|
||||||
@@ -9733,7 +9642,7 @@ java.lang.String defaultValue);
|
|||||||
* Options of the created region.
|
* Options of the created region.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>map<string, string> options = 7;</code>
|
* <code>map<string, string> options = 6;</code>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
@@ -9755,7 +9664,7 @@ java.lang.String defaultValue);
|
|||||||
* Options of the created region.
|
* Options of the created region.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>map<string, string> options = 7;</code>
|
* <code>map<string, string> options = 6;</code>
|
||||||
*/
|
*/
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
|
|
||||||
@@ -9767,7 +9676,7 @@ java.lang.String defaultValue);
|
|||||||
* Options of the created region.
|
* Options of the created region.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>map<string, string> options = 7;</code>
|
* <code>map<string, string> options = 6;</code>
|
||||||
*/
|
*/
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
|
|
||||||
@@ -9784,7 +9693,7 @@ java.lang.String defaultValue);
|
|||||||
* Options of the created region.
|
* Options of the created region.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>map<string, string> options = 7;</code>
|
* <code>map<string, string> options = 6;</code>
|
||||||
*/
|
*/
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
|
|
||||||
@@ -9809,7 +9718,7 @@ java.lang.String defaultValue);
|
|||||||
* Options of the created region.
|
* Options of the created region.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>map<string, string> options = 7;</code>
|
* <code>map<string, string> options = 6;</code>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public Builder removeOptions(
|
public Builder removeOptions(
|
||||||
@@ -9832,7 +9741,7 @@ java.lang.String defaultValue);
|
|||||||
* Options of the created region.
|
* Options of the created region.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>map<string, string> options = 7;</code>
|
* <code>map<string, string> options = 6;</code>
|
||||||
*/
|
*/
|
||||||
public Builder putOptions(
|
public Builder putOptions(
|
||||||
java.lang.String key,
|
java.lang.String key,
|
||||||
@@ -9851,7 +9760,7 @@ java.lang.String defaultValue);
|
|||||||
* Options of the created region.
|
* Options of the created region.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <code>map<string, string> options = 7;</code>
|
* <code>map<string, string> options = 6;</code>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public Builder putAllOptions(
|
public Builder putAllOptions(
|
||||||
@@ -18084,40 +17993,40 @@ java.lang.String defaultValue);
|
|||||||
"(\0132\021.greptime.v1.Rows\"h\n\014QueryRequest\0227\n" +
|
"(\0132\021.greptime.v1.Rows\"h\n\014QueryRequest\0227\n" +
|
||||||
"\006header\030\001 \001(\0132\'.greptime.v1.region.Regio" +
|
"\006header\030\001 \001(\0132\'.greptime.v1.region.Regio" +
|
||||||
"nRequestHeader\022\021\n\tregion_id\030\002 \001(\004\022\014\n\004pla" +
|
"nRequestHeader\022\021\n\tregion_id\030\002 \001(\004\022\014\n\004pla" +
|
||||||
"n\030\003 \001(\014\"\236\002\n\rCreateRequest\022\021\n\tregion_id\030\001" +
|
"n\030\003 \001(\014\"\200\002\n\rCreateRequest\022\021\n\tregion_id\030\001" +
|
||||||
" \001(\004\022\016\n\006engine\030\002 \001(\t\0228\n\013column_defs\030\003 \003(" +
|
" \001(\004\022\016\n\006engine\030\002 \001(\t\0228\n\013column_defs\030\003 \003(" +
|
||||||
"\0132#.greptime.v1.region.RegionColumnDef\022\023" +
|
"\0132#.greptime.v1.region.RegionColumnDef\022\023" +
|
||||||
"\n\013primary_key\030\004 \003(\r\022\034\n\024create_if_not_exi" +
|
"\n\013primary_key\030\004 \003(\r\022\014\n\004path\030\005 \001(\t\022?\n\007opt" +
|
||||||
"sts\030\005 \001(\010\022\014\n\004path\030\006 \001(\t\022?\n\007options\030\007 \003(\013" +
|
"ions\030\006 \003(\0132..greptime.v1.region.CreateRe" +
|
||||||
"2..greptime.v1.region.CreateRequest.Opti" +
|
|
||||||
"onsEntry\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" +
|
|
||||||
"\005value\030\002 \001(\t:\0028\001\" \n\013DropRequest\022\021\n\tregio" +
|
|
||||||
"n_id\030\001 \001(\004\"\255\001\n\013OpenRequest\022\021\n\tregion_id\030" +
|
|
||||||
"\001 \001(\004\022\016\n\006engine\030\002 \001(\t\022\014\n\004path\030\003 \001(\t\022=\n\007o" +
|
|
||||||
"ptions\030\004 \003(\0132,.greptime.v1.region.OpenRe" +
|
|
||||||
"quest.OptionsEntry\032.\n\014OptionsEntry\022\013\n\003ke" +
|
"quest.OptionsEntry\032.\n\014OptionsEntry\022\013\n\003ke" +
|
||||||
"y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"!\n\014CloseReque" +
|
"y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\" \n\013DropReques" +
|
||||||
"st\022\021\n\tregion_id\030\001 \001(\004\"\261\001\n\014AlterRequest\022\021" +
|
"t\022\021\n\tregion_id\030\001 \001(\004\"\255\001\n\013OpenRequest\022\021\n\t" +
|
||||||
"\n\tregion_id\030\001 \001(\004\0225\n\013add_columns\030\002 \001(\0132\036" +
|
"region_id\030\001 \001(\004\022\016\n\006engine\030\002 \001(\t\022\014\n\004path\030" +
|
||||||
".greptime.v1.region.AddColumnsH\000\0227\n\014drop" +
|
"\003 \001(\t\022=\n\007options\030\004 \003(\0132,.greptime.v1.reg" +
|
||||||
"_columns\030\003 \001(\0132\037.greptime.v1.region.Drop" +
|
"ion.OpenRequest.OptionsEntry\032.\n\014OptionsE" +
|
||||||
"ColumnsH\000\022\026\n\016schema_version\030\004 \001(\004B\006\n\004kin" +
|
"ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"!\n\014" +
|
||||||
"d\"@\n\nAddColumns\0222\n\013add_columns\030\001 \003(\0132\035.g" +
|
"CloseRequest\022\021\n\tregion_id\030\001 \001(\004\"\261\001\n\014Alte" +
|
||||||
"reptime.v1.region.AddColumn\"C\n\013DropColum" +
|
"rRequest\022\021\n\tregion_id\030\001 \001(\004\0225\n\013add_colum" +
|
||||||
"ns\0224\n\014drop_columns\030\001 \003(\0132\036.greptime.v1.r" +
|
"ns\030\002 \001(\0132\036.greptime.v1.region.AddColumns" +
|
||||||
"egion.DropColumn\"v\n\tAddColumn\0227\n\ncolumn_" +
|
"H\000\0227\n\014drop_columns\030\003 \001(\0132\037.greptime.v1.r" +
|
||||||
"def\030\001 \001(\0132#.greptime.v1.region.RegionCol" +
|
"egion.DropColumnsH\000\022\026\n\016schema_version\030\004 " +
|
||||||
"umnDef\0220\n\010location\030\003 \001(\0132\036.greptime.v1.A" +
|
"\001(\004B\006\n\004kind\"@\n\nAddColumns\0222\n\013add_columns" +
|
||||||
"ddColumnLocation\"\032\n\nDropColumn\022\014\n\004name\030\001" +
|
"\030\001 \003(\0132\035.greptime.v1.region.AddColumn\"C\n" +
|
||||||
" \001(\t\"!\n\014FlushRequest\022\021\n\tregion_id\030\001 \001(\004\"" +
|
"\013DropColumns\0224\n\014drop_columns\030\001 \003(\0132\036.gre" +
|
||||||
"#\n\016CompactRequest\022\021\n\tregion_id\030\001 \001(\004\"P\n\017" +
|
"ptime.v1.region.DropColumn\"v\n\tAddColumn\022" +
|
||||||
"RegionColumnDef\022*\n\ncolumn_def\030\001 \001(\0132\026.gr" +
|
"7\n\ncolumn_def\030\001 \001(\0132#.greptime.v1.region" +
|
||||||
"eptime.v1.ColumnDef\022\021\n\tcolumn_id\030\002 \001(\r2Y" +
|
".RegionColumnDef\0220\n\010location\030\003 \001(\0132\036.gre" +
|
||||||
"\n\006Region\022O\n\006Handle\022!.greptime.v1.region." +
|
"ptime.v1.AddColumnLocation\"\032\n\nDropColumn" +
|
||||||
"RegionRequest\032\".greptime.v1.region.Regio" +
|
"\022\014\n\004name\030\001 \001(\t\"!\n\014FlushRequest\022\021\n\tregion" +
|
||||||
"nResponseB]\n\025io.greptime.v1.regionB\006Serv" +
|
"_id\030\001 \001(\004\"#\n\016CompactRequest\022\021\n\tregion_id" +
|
||||||
"erZ<github.com/GreptimeTeam/greptime-pro" +
|
"\030\001 \001(\004\"P\n\017RegionColumnDef\022*\n\ncolumn_def\030" +
|
||||||
"to/go/greptime/v1/regionb\006proto3"
|
"\001 \001(\0132\026.greptime.v1.ColumnDef\022\021\n\tcolumn_" +
|
||||||
|
"id\030\002 \001(\r2Y\n\006Region\022O\n\006Handle\022!.greptime." +
|
||||||
|
"v1.region.RegionRequest\032\".greptime.v1.re" +
|
||||||
|
"gion.RegionResponseB]\n\025io.greptime.v1.re" +
|
||||||
|
"gionB\006ServerZ<github.com/GreptimeTeam/gr" +
|
||||||
|
"eptime-proto/go/greptime/v1/regionb\006prot" +
|
||||||
|
"o3"
|
||||||
};
|
};
|
||||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||||
.internalBuildGeneratedFileFrom(descriptorData,
|
.internalBuildGeneratedFileFrom(descriptorData,
|
||||||
@@ -18179,7 +18088,7 @@ java.lang.String defaultValue);
|
|||||||
internal_static_greptime_v1_region_CreateRequest_fieldAccessorTable = new
|
internal_static_greptime_v1_region_CreateRequest_fieldAccessorTable = new
|
||||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||||
internal_static_greptime_v1_region_CreateRequest_descriptor,
|
internal_static_greptime_v1_region_CreateRequest_descriptor,
|
||||||
new java.lang.String[] { "RegionId", "Engine", "ColumnDefs", "PrimaryKey", "CreateIfNotExists", "Path", "Options", });
|
new java.lang.String[] { "RegionId", "Engine", "ColumnDefs", "PrimaryKey", "Path", "Options", });
|
||||||
internal_static_greptime_v1_region_CreateRequest_OptionsEntry_descriptor =
|
internal_static_greptime_v1_region_CreateRequest_OptionsEntry_descriptor =
|
||||||
internal_static_greptime_v1_region_CreateRequest_descriptor.getNestedTypes().get(0);
|
internal_static_greptime_v1_region_CreateRequest_descriptor.getNestedTypes().get(0);
|
||||||
internal_static_greptime_v1_region_CreateRequest_OptionsEntry_fieldAccessorTable = new
|
internal_static_greptime_v1_region_CreateRequest_OptionsEntry_fieldAccessorTable = new
|
||||||
|
|||||||
@@ -83,12 +83,10 @@ message CreateRequest {
|
|||||||
repeated RegionColumnDef column_defs = 3;
|
repeated RegionColumnDef column_defs = 3;
|
||||||
// Column Id of primary keys.
|
// Column Id of primary keys.
|
||||||
repeated uint32 primary_key = 4;
|
repeated uint32 primary_key = 4;
|
||||||
// Create region if not exists.
|
|
||||||
bool create_if_not_exists = 5;
|
|
||||||
// Region storage path
|
// Region storage path
|
||||||
string path = 6;
|
string path = 5;
|
||||||
// Options of the created region.
|
// Options of the created region.
|
||||||
map<string, string> options = 7;
|
map<string, string> options = 6;
|
||||||
// TODO: add partition def
|
// TODO: add partition def
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user