feat: add wait and timeout field (#303)
* feat: add `wait` and `timeout` field * chore: remove `wait` from `Repartition` Signed-off-by: WenyXu <wenymedia@gmail.com> * fmt Signed-off-by: WenyXu <wenymedia@gmail.com> * fmt Signed-off-by: WenyXu <wenymedia@gmail.com> * fmt Signed-off-by: WenyXu <wenymedia@gmail.com> --------- Signed-off-by: WenyXu <wenymedia@gmail.com>
This commit is contained in:
@@ -11796,20 +11796,56 @@ public final class Ddl {
|
||||
greptime.v1.meta.Common.RequestHeaderOrBuilder getHeaderOrBuilder();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* The query context for the ddl procedures.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.QueryContext query_context = 64;</code>
|
||||
* @return Whether the queryContext field is set.
|
||||
*/
|
||||
boolean hasQueryContext();
|
||||
/**
|
||||
* <pre>
|
||||
* The query context for the ddl procedures.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.QueryContext query_context = 64;</code>
|
||||
* @return The queryContext.
|
||||
*/
|
||||
io.greptime.v1.Common.QueryContext getQueryContext();
|
||||
/**
|
||||
* <pre>
|
||||
* The query context for the ddl procedures.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.QueryContext query_context = 64;</code>
|
||||
*/
|
||||
io.greptime.v1.Common.QueryContextOrBuilder getQueryContextOrBuilder();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* The timeout will be passed to the procedure.
|
||||
* Note: Each procedure may implement its own timeout handling mechanism.
|
||||
* </pre>
|
||||
*
|
||||
* <code>bool wait = 65;</code>
|
||||
* @return The wait.
|
||||
*/
|
||||
boolean getWait();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* The flag that controls whether to wait for the procedure to complete.
|
||||
* If wait is `true`, the procedure will wait for completion(success or failure) and the result will be returned.
|
||||
* Otherwise, the procedure will be submitted and return the [ProcedureId](common_procedure::ProcedureId) immediately.
|
||||
* Note: The value of `wait` is independent of the `timeout` option. If a procedure ignores the `timeout` and `wait` is set to true, the operation returns until the procedure completes.
|
||||
* </pre>
|
||||
*
|
||||
* <code>uint32 timeout_secs = 66;</code>
|
||||
* @return The timeoutSecs.
|
||||
*/
|
||||
int getTimeoutSecs();
|
||||
|
||||
/**
|
||||
* <code>.greptime.v1.meta.CreateTableTask create_table_task = 2;</code>
|
||||
* @return Whether the createTableTask field is set.
|
||||
@@ -12376,6 +12412,16 @@ public final class Ddl {
|
||||
|
||||
break;
|
||||
}
|
||||
case 520: {
|
||||
|
||||
wait_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
case 528: {
|
||||
|
||||
timeoutSecs_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -12510,6 +12556,10 @@ public final class Ddl {
|
||||
public static final int QUERY_CONTEXT_FIELD_NUMBER = 64;
|
||||
private io.greptime.v1.Common.QueryContext queryContext_;
|
||||
/**
|
||||
* <pre>
|
||||
* The query context for the ddl procedures.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.QueryContext query_context = 64;</code>
|
||||
* @return Whether the queryContext field is set.
|
||||
*/
|
||||
@@ -12518,6 +12568,10 @@ public final class Ddl {
|
||||
return queryContext_ != null;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* The query context for the ddl procedures.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.QueryContext query_context = 64;</code>
|
||||
* @return The queryContext.
|
||||
*/
|
||||
@@ -12526,6 +12580,10 @@ public final class Ddl {
|
||||
return queryContext_ == null ? io.greptime.v1.Common.QueryContext.getDefaultInstance() : queryContext_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* The query context for the ddl procedures.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.QueryContext query_context = 64;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -12533,6 +12591,40 @@ public final class Ddl {
|
||||
return getQueryContext();
|
||||
}
|
||||
|
||||
public static final int WAIT_FIELD_NUMBER = 65;
|
||||
private boolean wait_;
|
||||
/**
|
||||
* <pre>
|
||||
* The timeout will be passed to the procedure.
|
||||
* Note: Each procedure may implement its own timeout handling mechanism.
|
||||
* </pre>
|
||||
*
|
||||
* <code>bool wait = 65;</code>
|
||||
* @return The wait.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getWait() {
|
||||
return wait_;
|
||||
}
|
||||
|
||||
public static final int TIMEOUT_SECS_FIELD_NUMBER = 66;
|
||||
private int timeoutSecs_;
|
||||
/**
|
||||
* <pre>
|
||||
* The flag that controls whether to wait for the procedure to complete.
|
||||
* If wait is `true`, the procedure will wait for completion(success or failure) and the result will be returned.
|
||||
* Otherwise, the procedure will be submitted and return the [ProcedureId](common_procedure::ProcedureId) immediately.
|
||||
* Note: The value of `wait` is independent of the `timeout` option. If a procedure ignores the `timeout` and `wait` is set to true, the operation returns until the procedure completes.
|
||||
* </pre>
|
||||
*
|
||||
* <code>uint32 timeout_secs = 66;</code>
|
||||
* @return The timeoutSecs.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTimeoutSecs() {
|
||||
return timeoutSecs_;
|
||||
}
|
||||
|
||||
public static final int CREATE_TABLE_TASK_FIELD_NUMBER = 2;
|
||||
/**
|
||||
* <code>.greptime.v1.meta.CreateTableTask create_table_task = 2;</code>
|
||||
@@ -13131,6 +13223,12 @@ public final class Ddl {
|
||||
if (queryContext_ != null) {
|
||||
output.writeMessage(64, getQueryContext());
|
||||
}
|
||||
if (wait_ != false) {
|
||||
output.writeBool(65, wait_);
|
||||
}
|
||||
if (timeoutSecs_ != 0) {
|
||||
output.writeUInt32(66, timeoutSecs_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -13216,6 +13314,14 @@ public final class Ddl {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(64, getQueryContext());
|
||||
}
|
||||
if (wait_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(65, wait_);
|
||||
}
|
||||
if (timeoutSecs_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(66, timeoutSecs_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -13241,6 +13347,10 @@ public final class Ddl {
|
||||
if (!getQueryContext()
|
||||
.equals(other.getQueryContext())) return false;
|
||||
}
|
||||
if (getWait()
|
||||
!= other.getWait()) return false;
|
||||
if (getTimeoutSecs()
|
||||
!= other.getTimeoutSecs()) return false;
|
||||
if (!getTaskCase().equals(other.getTaskCase())) return false;
|
||||
switch (taskCase_) {
|
||||
case 2:
|
||||
@@ -13333,6 +13443,11 @@ public final class Ddl {
|
||||
hash = (37 * hash) + QUERY_CONTEXT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getQueryContext().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + WAIT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getWait());
|
||||
hash = (37 * hash) + TIMEOUT_SECS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTimeoutSecs();
|
||||
switch (taskCase_) {
|
||||
case 2:
|
||||
hash = (37 * hash) + CREATE_TABLE_TASK_FIELD_NUMBER;
|
||||
@@ -13550,6 +13665,10 @@ public final class Ddl {
|
||||
queryContext_ = null;
|
||||
queryContextBuilder_ = null;
|
||||
}
|
||||
wait_ = false;
|
||||
|
||||
timeoutSecs_ = 0;
|
||||
|
||||
taskCase_ = 0;
|
||||
task_ = null;
|
||||
return this;
|
||||
@@ -13588,6 +13707,8 @@ public final class Ddl {
|
||||
} else {
|
||||
result.queryContext_ = queryContextBuilder_.build();
|
||||
}
|
||||
result.wait_ = wait_;
|
||||
result.timeoutSecs_ = timeoutSecs_;
|
||||
if (taskCase_ == 2) {
|
||||
if (createTableTaskBuilder_ == null) {
|
||||
result.task_ = task_;
|
||||
@@ -13762,6 +13883,12 @@ public final class Ddl {
|
||||
if (other.hasQueryContext()) {
|
||||
mergeQueryContext(other.getQueryContext());
|
||||
}
|
||||
if (other.getWait() != false) {
|
||||
setWait(other.getWait());
|
||||
}
|
||||
if (other.getTimeoutSecs() != 0) {
|
||||
setTimeoutSecs(other.getTimeoutSecs());
|
||||
}
|
||||
switch (other.getTaskCase()) {
|
||||
case CREATE_TABLE_TASK: {
|
||||
mergeCreateTableTask(other.getCreateTableTask());
|
||||
@@ -14002,6 +14129,10 @@ public final class Ddl {
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Common.QueryContext, io.greptime.v1.Common.QueryContext.Builder, io.greptime.v1.Common.QueryContextOrBuilder> queryContextBuilder_;
|
||||
/**
|
||||
* <pre>
|
||||
* The query context for the ddl procedures.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.QueryContext query_context = 64;</code>
|
||||
* @return Whether the queryContext field is set.
|
||||
*/
|
||||
@@ -14009,6 +14140,10 @@ public final class Ddl {
|
||||
return queryContextBuilder_ != null || queryContext_ != null;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* The query context for the ddl procedures.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.QueryContext query_context = 64;</code>
|
||||
* @return The queryContext.
|
||||
*/
|
||||
@@ -14020,6 +14155,10 @@ public final class Ddl {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* The query context for the ddl procedures.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.QueryContext query_context = 64;</code>
|
||||
*/
|
||||
public Builder setQueryContext(io.greptime.v1.Common.QueryContext value) {
|
||||
@@ -14036,6 +14175,10 @@ public final class Ddl {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* The query context for the ddl procedures.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.QueryContext query_context = 64;</code>
|
||||
*/
|
||||
public Builder setQueryContext(
|
||||
@@ -14050,6 +14193,10 @@ public final class Ddl {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* The query context for the ddl procedures.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.QueryContext query_context = 64;</code>
|
||||
*/
|
||||
public Builder mergeQueryContext(io.greptime.v1.Common.QueryContext value) {
|
||||
@@ -14068,6 +14215,10 @@ public final class Ddl {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* The query context for the ddl procedures.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.QueryContext query_context = 64;</code>
|
||||
*/
|
||||
public Builder clearQueryContext() {
|
||||
@@ -14082,6 +14233,10 @@ public final class Ddl {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* The query context for the ddl procedures.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.QueryContext query_context = 64;</code>
|
||||
*/
|
||||
public io.greptime.v1.Common.QueryContext.Builder getQueryContextBuilder() {
|
||||
@@ -14090,6 +14245,10 @@ public final class Ddl {
|
||||
return getQueryContextFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* The query context for the ddl procedures.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.QueryContext query_context = 64;</code>
|
||||
*/
|
||||
public io.greptime.v1.Common.QueryContextOrBuilder getQueryContextOrBuilder() {
|
||||
@@ -14101,6 +14260,10 @@ public final class Ddl {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* The query context for the ddl procedures.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.QueryContext query_context = 64;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
@@ -14117,6 +14280,104 @@ public final class Ddl {
|
||||
return queryContextBuilder_;
|
||||
}
|
||||
|
||||
private boolean wait_ ;
|
||||
/**
|
||||
* <pre>
|
||||
* The timeout will be passed to the procedure.
|
||||
* Note: Each procedure may implement its own timeout handling mechanism.
|
||||
* </pre>
|
||||
*
|
||||
* <code>bool wait = 65;</code>
|
||||
* @return The wait.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getWait() {
|
||||
return wait_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* The timeout will be passed to the procedure.
|
||||
* Note: Each procedure may implement its own timeout handling mechanism.
|
||||
* </pre>
|
||||
*
|
||||
* <code>bool wait = 65;</code>
|
||||
* @param value The wait to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setWait(boolean value) {
|
||||
|
||||
wait_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* The timeout will be passed to the procedure.
|
||||
* Note: Each procedure may implement its own timeout handling mechanism.
|
||||
* </pre>
|
||||
*
|
||||
* <code>bool wait = 65;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearWait() {
|
||||
|
||||
wait_ = false;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int timeoutSecs_ ;
|
||||
/**
|
||||
* <pre>
|
||||
* The flag that controls whether to wait for the procedure to complete.
|
||||
* If wait is `true`, the procedure will wait for completion(success or failure) and the result will be returned.
|
||||
* Otherwise, the procedure will be submitted and return the [ProcedureId](common_procedure::ProcedureId) immediately.
|
||||
* Note: The value of `wait` is independent of the `timeout` option. If a procedure ignores the `timeout` and `wait` is set to true, the operation returns until the procedure completes.
|
||||
* </pre>
|
||||
*
|
||||
* <code>uint32 timeout_secs = 66;</code>
|
||||
* @return The timeoutSecs.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTimeoutSecs() {
|
||||
return timeoutSecs_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* The flag that controls whether to wait for the procedure to complete.
|
||||
* If wait is `true`, the procedure will wait for completion(success or failure) and the result will be returned.
|
||||
* Otherwise, the procedure will be submitted and return the [ProcedureId](common_procedure::ProcedureId) immediately.
|
||||
* Note: The value of `wait` is independent of the `timeout` option. If a procedure ignores the `timeout` and `wait` is set to true, the operation returns until the procedure completes.
|
||||
* </pre>
|
||||
*
|
||||
* <code>uint32 timeout_secs = 66;</code>
|
||||
* @param value The timeoutSecs to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTimeoutSecs(int value) {
|
||||
|
||||
timeoutSecs_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* The flag that controls whether to wait for the procedure to complete.
|
||||
* If wait is `true`, the procedure will wait for completion(success or failure) and the result will be returned.
|
||||
* Otherwise, the procedure will be submitted and return the [ProcedureId](common_procedure::ProcedureId) immediately.
|
||||
* Note: The value of `wait` is independent of the `timeout` option. If a procedure ignores the `timeout` and `wait` is set to true, the operation returns until the procedure completes.
|
||||
* </pre>
|
||||
*
|
||||
* <code>uint32 timeout_secs = 66;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTimeoutSecs() {
|
||||
|
||||
timeoutSecs_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
greptime.v1.meta.Ddl.CreateTableTask, greptime.v1.meta.Ddl.CreateTableTask.Builder, greptime.v1.meta.Ddl.CreateTableTaskOrBuilder> createTableTaskBuilder_;
|
||||
/**
|
||||
@@ -18035,44 +18296,45 @@ public final class Ddl {
|
||||
"ggerExpr\"E\n\017DropTriggerTask\0222\n\014drop_trig" +
|
||||
"ger\030\001 \001(\0132\034.greptime.v1.DropTriggerExpr\"" +
|
||||
"?\n\rCommentOnTask\022.\n\ncomment_on\030\001 \001(\0132\032.g" +
|
||||
"reptime.v1.CommentOnExpr\"\265\t\n\016DdlTaskRequ" +
|
||||
"reptime.v1.CommentOnExpr\"\331\t\n\016DdlTaskRequ" +
|
||||
"est\022/\n\006header\030\001 \001(\0132\037.greptime.v1.meta.R" +
|
||||
"equestHeader\0220\n\rquery_context\030@ \001(\0132\031.gr" +
|
||||
"eptime.v1.QueryContext\022>\n\021create_table_t" +
|
||||
"ask\030\002 \001(\0132!.greptime.v1.meta.CreateTable" +
|
||||
"TaskH\000\022:\n\017drop_table_task\030\003 \001(\0132\037.grepti" +
|
||||
"me.v1.meta.DropTableTaskH\000\022<\n\020alter_tabl" +
|
||||
"e_task\030\004 \001(\0132 .greptime.v1.meta.AlterTab" +
|
||||
"leTaskH\000\022B\n\023truncate_table_task\030\005 \001(\0132#." +
|
||||
"greptime.v1.meta.TruncateTableTaskH\000\022@\n\022" +
|
||||
"create_table_tasks\030\006 \001(\0132\".greptime.v1.m" +
|
||||
"eta.CreateTableTasksH\000\022<\n\020drop_table_tas" +
|
||||
"ks\030\007 \001(\0132 .greptime.v1.meta.DropTableTas" +
|
||||
"ksH\000\022>\n\021alter_table_tasks\030\010 \001(\0132!.grepti" +
|
||||
"me.v1.meta.AlterTableTasksH\000\022@\n\022drop_dat" +
|
||||
"abase_task\030\t \001(\0132\".greptime.v1.meta.Drop" +
|
||||
"DatabaseTaskH\000\022D\n\024create_database_task\030\n" +
|
||||
" \001(\0132$.greptime.v1.meta.CreateDatabaseTa" +
|
||||
"skH\000\022<\n\020create_flow_task\030\013 \001(\0132 .greptim" +
|
||||
"e.v1.meta.CreateFlowTaskH\000\0228\n\016drop_flow_" +
|
||||
"task\030\014 \001(\0132\036.greptime.v1.meta.DropFlowTa" +
|
||||
"skH\000\022<\n\020create_view_task\030\r \001(\0132 .greptim" +
|
||||
"e.v1.meta.CreateViewTaskH\000\0228\n\016drop_view_" +
|
||||
"task\030\016 \001(\0132\036.greptime.v1.meta.DropViewTa" +
|
||||
"skH\000\022B\n\023alter_database_task\030\017 \001(\0132#.grep" +
|
||||
"time.v1.meta.AlterDatabaseTaskH\000\022B\n\023crea" +
|
||||
"te_trigger_task\030\020 \001(\0132#.greptime.v1.meta" +
|
||||
".CreateTriggerTaskH\000\022>\n\021drop_trigger_tas" +
|
||||
"k\030\021 \001(\0132!.greptime.v1.meta.DropTriggerTa" +
|
||||
"skH\000\022:\n\017comment_on_task\030\022 \001(\0132\037.greptime" +
|
||||
".v1.meta.CommentOnTaskH\000B\006\n\004task\"\230\001\n\017Ddl" +
|
||||
"TaskResponse\0220\n\006header\030\001 \001(\0132 .greptime." +
|
||||
"v1.meta.ResponseHeader\022*\n\003pid\030\002 \001(\0132\035.gr" +
|
||||
"eptime.v1.meta.ProcedureId\022\'\n\ttable_ids\030" +
|
||||
"\005 \003(\0132\024.greptime.v1.TableId*#\n\013DdlTaskTy" +
|
||||
"pe\022\n\n\006Create\020\000\022\010\n\004Drop\020\001B<Z:github.com/G" +
|
||||
"reptimeTeam/greptime-proto/go/greptime/v" +
|
||||
"1/metab\006proto3"
|
||||
"eptime.v1.QueryContext\022\014\n\004wait\030A \001(\010\022\024\n\014" +
|
||||
"timeout_secs\030B \001(\r\022>\n\021create_table_task\030" +
|
||||
"\002 \001(\0132!.greptime.v1.meta.CreateTableTask" +
|
||||
"H\000\022:\n\017drop_table_task\030\003 \001(\0132\037.greptime.v" +
|
||||
"1.meta.DropTableTaskH\000\022<\n\020alter_table_ta" +
|
||||
"sk\030\004 \001(\0132 .greptime.v1.meta.AlterTableTa" +
|
||||
"skH\000\022B\n\023truncate_table_task\030\005 \001(\0132#.grep" +
|
||||
"time.v1.meta.TruncateTableTaskH\000\022@\n\022crea" +
|
||||
"te_table_tasks\030\006 \001(\0132\".greptime.v1.meta." +
|
||||
"CreateTableTasksH\000\022<\n\020drop_table_tasks\030\007" +
|
||||
" \001(\0132 .greptime.v1.meta.DropTableTasksH\000" +
|
||||
"\022>\n\021alter_table_tasks\030\010 \001(\0132!.greptime.v" +
|
||||
"1.meta.AlterTableTasksH\000\022@\n\022drop_databas" +
|
||||
"e_task\030\t \001(\0132\".greptime.v1.meta.DropData" +
|
||||
"baseTaskH\000\022D\n\024create_database_task\030\n \001(\013" +
|
||||
"2$.greptime.v1.meta.CreateDatabaseTaskH\000" +
|
||||
"\022<\n\020create_flow_task\030\013 \001(\0132 .greptime.v1" +
|
||||
".meta.CreateFlowTaskH\000\0228\n\016drop_flow_task" +
|
||||
"\030\014 \001(\0132\036.greptime.v1.meta.DropFlowTaskH\000" +
|
||||
"\022<\n\020create_view_task\030\r \001(\0132 .greptime.v1" +
|
||||
".meta.CreateViewTaskH\000\0228\n\016drop_view_task" +
|
||||
"\030\016 \001(\0132\036.greptime.v1.meta.DropViewTaskH\000" +
|
||||
"\022B\n\023alter_database_task\030\017 \001(\0132#.greptime" +
|
||||
".v1.meta.AlterDatabaseTaskH\000\022B\n\023create_t" +
|
||||
"rigger_task\030\020 \001(\0132#.greptime.v1.meta.Cre" +
|
||||
"ateTriggerTaskH\000\022>\n\021drop_trigger_task\030\021 " +
|
||||
"\001(\0132!.greptime.v1.meta.DropTriggerTaskH\000" +
|
||||
"\022:\n\017comment_on_task\030\022 \001(\0132\037.greptime.v1." +
|
||||
"meta.CommentOnTaskH\000B\006\n\004task\"\230\001\n\017DdlTask" +
|
||||
"Response\0220\n\006header\030\001 \001(\0132 .greptime.v1.m" +
|
||||
"eta.ResponseHeader\022*\n\003pid\030\002 \001(\0132\035.grepti" +
|
||||
"me.v1.meta.ProcedureId\022\'\n\ttable_ids\030\005 \003(" +
|
||||
"\0132\024.greptime.v1.TableId*#\n\013DdlTaskType\022\n" +
|
||||
"\n\006Create\020\000\022\010\n\004Drop\020\001B<Z:github.com/Grept" +
|
||||
"imeTeam/greptime-proto/go/greptime/v1/me" +
|
||||
"tab\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -18189,7 +18451,7 @@ public final class Ddl {
|
||||
internal_static_greptime_v1_meta_DdlTaskRequest_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_meta_DdlTaskRequest_descriptor,
|
||||
new java.lang.String[] { "Header", "QueryContext", "CreateTableTask", "DropTableTask", "AlterTableTask", "TruncateTableTask", "CreateTableTasks", "DropTableTasks", "AlterTableTasks", "DropDatabaseTask", "CreateDatabaseTask", "CreateFlowTask", "DropFlowTask", "CreateViewTask", "DropViewTask", "AlterDatabaseTask", "CreateTriggerTask", "DropTriggerTask", "CommentOnTask", "Task", });
|
||||
new java.lang.String[] { "Header", "QueryContext", "Wait", "TimeoutSecs", "CreateTableTask", "DropTableTask", "AlterTableTask", "TruncateTableTask", "CreateTableTasks", "DropTableTasks", "AlterTableTasks", "DropDatabaseTask", "CreateDatabaseTask", "CreateFlowTask", "DropFlowTask", "CreateViewTask", "DropViewTask", "AlterDatabaseTask", "CreateTriggerTask", "DropTriggerTask", "CommentOnTask", "Task", });
|
||||
internal_static_greptime_v1_meta_DdlTaskResponse_descriptor =
|
||||
getDescriptor().getMessageTypes().get(18);
|
||||
internal_static_greptime_v1_meta_DdlTaskResponse_fieldAccessorTable = new
|
||||
|
||||
@@ -22058,16 +22058,6 @@ java.lang.String defaultValue);
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getIntoPartitionExprsBytes(int index);
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* Wait for the repartition to complete.
|
||||
* </pre>
|
||||
*
|
||||
* <code>bool wait = 3;</code>
|
||||
* @return The wait.
|
||||
*/
|
||||
boolean getWait();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code greptime.v1.Repartition}
|
||||
@@ -22135,11 +22125,6 @@ java.lang.String defaultValue);
|
||||
intoPartitionExprs_.add(s);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
|
||||
wait_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -22282,21 +22267,6 @@ java.lang.String defaultValue);
|
||||
return intoPartitionExprs_.getByteString(index);
|
||||
}
|
||||
|
||||
public static final int WAIT_FIELD_NUMBER = 3;
|
||||
private boolean wait_;
|
||||
/**
|
||||
* <pre>
|
||||
* Wait for the repartition to complete.
|
||||
* </pre>
|
||||
*
|
||||
* <code>bool wait = 3;</code>
|
||||
* @return The wait.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getWait() {
|
||||
return wait_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -22317,9 +22287,6 @@ java.lang.String defaultValue);
|
||||
for (int i = 0; i < intoPartitionExprs_.size(); i++) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, intoPartitionExprs_.getRaw(i));
|
||||
}
|
||||
if (wait_ != false) {
|
||||
output.writeBool(3, wait_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -22345,10 +22312,6 @@ java.lang.String defaultValue);
|
||||
size += dataSize;
|
||||
size += 1 * getIntoPartitionExprsList().size();
|
||||
}
|
||||
if (wait_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(3, wait_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -22368,8 +22331,6 @@ java.lang.String defaultValue);
|
||||
.equals(other.getFromPartitionExprsList())) return false;
|
||||
if (!getIntoPartitionExprsList()
|
||||
.equals(other.getIntoPartitionExprsList())) return false;
|
||||
if (getWait()
|
||||
!= other.getWait()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -22389,9 +22350,6 @@ java.lang.String defaultValue);
|
||||
hash = (37 * hash) + INTO_PARTITION_EXPRS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getIntoPartitionExprsList().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + WAIT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getWait());
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -22529,8 +22487,6 @@ java.lang.String defaultValue);
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
intoPartitionExprs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
wait_ = false;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -22568,7 +22524,6 @@ java.lang.String defaultValue);
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
}
|
||||
result.intoPartitionExprs_ = intoPartitionExprs_;
|
||||
result.wait_ = wait_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -22637,9 +22592,6 @@ java.lang.String defaultValue);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (other.getWait() != false) {
|
||||
setWait(other.getWait());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -22961,49 +22913,6 @@ java.lang.String defaultValue);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private boolean wait_ ;
|
||||
/**
|
||||
* <pre>
|
||||
* Wait for the repartition to complete.
|
||||
* </pre>
|
||||
*
|
||||
* <code>bool wait = 3;</code>
|
||||
* @return The wait.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getWait() {
|
||||
return wait_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Wait for the repartition to complete.
|
||||
* </pre>
|
||||
*
|
||||
* <code>bool wait = 3;</code>
|
||||
* @param value The wait to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setWait(boolean value) {
|
||||
|
||||
wait_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Wait for the repartition to complete.
|
||||
* </pre>
|
||||
*
|
||||
* <code>bool wait = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearWait() {
|
||||
|
||||
wait_ = false;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -54647,113 +54556,112 @@ java.lang.String defaultValue);
|
||||
"lltext\030\001 \001(\0132\032.greptime.v1.UnsetFulltext" +
|
||||
"H\000\022.\n\010inverted\030\002 \001(\0132\032.greptime.v1.Unset" +
|
||||
"InvertedH\000\022.\n\010skipping\030\003 \001(\0132\032.greptime." +
|
||||
"v1.UnsetSkippingH\000B\t\n\007options\"W\n\013Reparti" +
|
||||
"v1.UnsetSkippingH\000B\t\n\007options\"I\n\013Reparti" +
|
||||
"tion\022\034\n\024from_partition_exprs\030\001 \003(\t\022\034\n\024in" +
|
||||
"to_partition_exprs\030\002 \003(\t\022\014\n\004wait\030\003 \001(\010\"\216" +
|
||||
"\001\n\rDropTableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023" +
|
||||
"\n\013schema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022" +
|
||||
"&\n\010table_id\030\004 \001(\0132\024.greptime.v1.TableId\022" +
|
||||
"\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022CreateDataba" +
|
||||
"seExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_n" +
|
||||
"ame\030\002 \001(\t\022\034\n\024create_if_not_exists\030\003 \001(\010\022" +
|
||||
"=\n\007options\030\004 \003(\0132,.greptime.v1.CreateDat" +
|
||||
"abaseExpr.OptionsEntry\032.\n\014OptionsEntry\022\013" +
|
||||
"\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\250\001\n\021Trunc" +
|
||||
"ateTableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sc" +
|
||||
"hema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022&\n\010t" +
|
||||
"able_id\030\004 \001(\0132\024.greptime.v1.TableId\022,\n\013t" +
|
||||
"ime_ranges\030\005 \001(\0132\027.greptime.v1.TimeRange" +
|
||||
"s\"U\n\020DropDatabaseExpr\022\024\n\014catalog_name\030\001 " +
|
||||
"\001(\t\022\023\n\013schema_name\030\002 \001(\t\022\026\n\016drop_if_exis" +
|
||||
"ts\030\003 \001(\010\"9\n\nAddColumns\022+\n\013add_columns\030\001 " +
|
||||
"\003(\0132\026.greptime.v1.AddColumn\"?\n\014DropDefau" +
|
||||
"lts\022/\n\rdrop_defaults\030\001 \003(\0132\030.greptime.v1" +
|
||||
".DropDefault\"<\n\013SetDefaults\022-\n\014set_defau" +
|
||||
"lts\030\001 \003(\0132\027.greptime.v1.SetDefault\"<\n\013Dr" +
|
||||
"opColumns\022-\n\014drop_columns\030\001 \003(\0132\027.grepti" +
|
||||
"me.v1.DropColumn\"O\n\021ModifyColumnTypes\022:\n" +
|
||||
"\023modify_column_types\030\001 \003(\0132\035.greptime.v1" +
|
||||
".ModifyColumnType\"%\n\013RenameTable\022\026\n\016new_" +
|
||||
"table_name\030\001 \001(\t\"\204\001\n\tAddColumn\022*\n\ncolumn" +
|
||||
"_def\030\001 \001(\0132\026.greptime.v1.ColumnDef\0220\n\010lo" +
|
||||
"cation\030\003 \001(\0132\036.greptime.v1.AddColumnLoca" +
|
||||
"tion\022\031\n\021add_if_not_exists\030\004 \001(\010\"\236\001\n\020Modi" +
|
||||
"fyColumnType\022\023\n\013column_name\030\001 \001(\t\0220\n\013tar" +
|
||||
"get_type\030\002 \001(\0162\033.greptime.v1.ColumnDataT" +
|
||||
"ype\022C\n\025target_type_extension\030\003 \001(\0132$.gre" +
|
||||
"ptime.v1.ColumnDataTypeExtension\"$\n\006Opti" +
|
||||
"on\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"=\n\017SetTab" +
|
||||
"leOptions\022*\n\rtable_options\030\001 \003(\0132\023.grept" +
|
||||
"ime.v1.Option\"!\n\021UnsetTableOptions\022\014\n\004ke" +
|
||||
"ys\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"\025\n\007" +
|
||||
"TableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowId\022\n\n\002id\030\001 \001(" +
|
||||
"\r\"\254\002\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022.\n\tdata_ty" +
|
||||
"pe\030\002 \001(\0162\033.greptime.v1.ColumnDataType\022\023\n" +
|
||||
"\013is_nullable\030\003 \001(\010\022\032\n\022default_constraint" +
|
||||
"\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001(\0162\031.greptime" +
|
||||
".v1.SemanticType\022\017\n\007comment\030\006 \001(\t\022@\n\022dat" +
|
||||
"atype_extension\030\007 \001(\0132$.greptime.v1.Colu" +
|
||||
"mnDataTypeExtension\022+\n\007options\030\010 \001(\0132\032.g" +
|
||||
"reptime.v1.ColumnOptions\"\230\001\n\021AddColumnLo" +
|
||||
"cation\022B\n\rlocation_type\030\001 \001(\0162+.greptime" +
|
||||
".v1.AddColumnLocation.LocationType\022\031\n\021af" +
|
||||
"ter_column_name\030\002 \001(\t\"$\n\014LocationType\022\t\n" +
|
||||
"\005FIRST\020\000\022\t\n\005AFTER\020\001\"\324\001\n\013SetFulltext\022\023\n\013c" +
|
||||
"olumn_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\'\n\010anal" +
|
||||
"yzer\030\003 \001(\0162\025.greptime.v1.Analyzer\022\026\n\016cas" +
|
||||
"e_sensitive\030\004 \001(\010\022-\n\007backend\030\005 \001(\0162\034.gre" +
|
||||
"ptime.v1.FulltextBackend\022\023\n\013granularity\030" +
|
||||
"\006 \001(\004\022\033\n\023false_positive_rate\030\007 \001(\001\"$\n\rUn" +
|
||||
"setFulltext\022\023\n\013column_name\030\001 \001(\t\"\"\n\013SetI" +
|
||||
"nverted\022\023\n\013column_name\030\001 \001(\t\"$\n\rUnsetInv" +
|
||||
"erted\022\023\n\013column_name\030\001 \001(\t\"\241\001\n\013SetSkippi" +
|
||||
"ng\022\023\n\013column_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022" +
|
||||
"\023\n\013granularity\030\003 \001(\004\022;\n\023skipping_index_t" +
|
||||
"ype\030\004 \001(\0162\036.greptime.v1.SkippingIndexTyp" +
|
||||
"e\022\033\n\023false_positive_rate\030\005 \001(\001\"$\n\rUnsetS" +
|
||||
"kipping\022\023\n\013column_name\030\001 \001(\t\"\314\001\n\021AlterDa" +
|
||||
"tabaseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sche" +
|
||||
"ma_name\030\002 \001(\t\022?\n\024set_database_options\030\003 " +
|
||||
"\001(\0132\037.greptime.v1.SetDatabaseOptionsH\000\022C" +
|
||||
"\n\026unset_database_options\030\004 \001(\0132!.greptim" +
|
||||
"e.v1.UnsetDatabaseOptionsH\000B\006\n\004kind\"G\n\022S" +
|
||||
"etDatabaseOptions\0221\n\024set_database_option" +
|
||||
"s\030\001 \003(\0132\023.greptime.v1.Option\"$\n\024UnsetDat" +
|
||||
"abaseOptions\022\014\n\004keys\030\001 \003(\t\"\331\004\n\021CreateTri" +
|
||||
"ggerExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n\014trigge" +
|
||||
"r_name\030\002 \001(\t\022\034\n\024create_if_not_exists\030\003 \001" +
|
||||
"(\010\022\013\n\003sql\030\004 \001(\t\022,\n\010channels\030\005 \003(\0132\032.grep" +
|
||||
"time.v1.NotifyChannel\022:\n\006labels\030\006 \003(\0132*." +
|
||||
"greptime.v1.CreateTriggerExpr.LabelsEntr" +
|
||||
"y\022D\n\013annotations\030\007 \003(\0132/.greptime.v1.Cre" +
|
||||
"ateTriggerExpr.AnnotationsEntry\022+\n\010inter" +
|
||||
"val\030\010 \001(\0132\031.google.protobuf.Duration\022\031\n\021" +
|
||||
"raw_interval_expr\030\t \001(\t\022&\n\003for\030\n \001(\0132\031.g" +
|
||||
"oogle.protobuf.Duration\022\024\n\014for_raw_expr\030" +
|
||||
"\013 \001(\t\0222\n\017keep_firing_for\030\014 \001(\0132\031.google." +
|
||||
"protobuf.Duration\022 \n\030keep_firing_for_raw" +
|
||||
"_expr\030\r \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" +
|
||||
"\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013" +
|
||||
"\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"]\n\rNotify" +
|
||||
"Channel\022\014\n\004name\030\001 \001(\t\022.\n\007webhook\030\002 \001(\0132\033" +
|
||||
".greptime.v1.WebhookOptionsH\000B\016\n\014channel" +
|
||||
"_type\"\177\n\016WebhookOptions\022\013\n\003url\030\001 \001(\t\0223\n\004" +
|
||||
"opts\030\002 \003(\0132%.greptime.v1.WebhookOptions." +
|
||||
"OptsEntry\032+\n\tOptsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" +
|
||||
"alue\030\002 \001(\t:\0028\001\"U\n\017DropTriggerExpr\022\024\n\014cat" +
|
||||
"alog_name\030\001 \001(\t\022\024\n\014trigger_name\030\002 \001(\t\022\026\n" +
|
||||
"\016drop_if_exists\030\003 \001(\010\"\252\001\n\rCommentOnExpr\022" +
|
||||
"\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001" +
|
||||
"(\t\0223\n\013object_type\030\003 \001(\0162\036.greptime.v1.Co" +
|
||||
"mmentObjectType\022\023\n\013object_name\030\004 \001(\t\022\023\n\013" +
|
||||
"column_name\030\005 \001(\t\022\017\n\007comment\030\006 \001(\t*$\n\010An" +
|
||||
"alyzer\022\013\n\007ENGLISH\020\000\022\013\n\007CHINESE\020\001*)\n\017Full" +
|
||||
"textBackend\022\013\n\007TANTIVY\020\000\022\t\n\005BLOOM\020\001*%\n\021S" +
|
||||
"kippingIndexType\022\020\n\014BLOOM_FILTER\020\000*4\n\021Co" +
|
||||
"mmentObjectType\022\t\n\005TABLE\020\000\022\n\n\006COLUMN\020\001\022\010" +
|
||||
"\n\004FLOW\020\002BL\n\016io.greptime.v1B\003DdlZ5github." +
|
||||
"com/GreptimeTeam/greptime-proto/go/grept" +
|
||||
"ime/v1b\006proto3"
|
||||
"to_partition_exprs\030\002 \003(\t\"\216\001\n\rDropTableEx" +
|
||||
"pr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030" +
|
||||
"\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022&\n\010table_id\030\004 " +
|
||||
"\001(\0132\024.greptime.v1.TableId\022\026\n\016drop_if_exi" +
|
||||
"sts\030\005 \001(\010\"\314\001\n\022CreateDatabaseExpr\022\024\n\014cata" +
|
||||
"log_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\034\n\024c" +
|
||||
"reate_if_not_exists\030\003 \001(\010\022=\n\007options\030\004 \003" +
|
||||
"(\0132,.greptime.v1.CreateDatabaseExpr.Opti" +
|
||||
"onsEntry\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" +
|
||||
"\005value\030\002 \001(\t:\0028\001\"\250\001\n\021TruncateTableExpr\022\024" +
|
||||
"\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(" +
|
||||
"\t\022\022\n\ntable_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132" +
|
||||
"\024.greptime.v1.TableId\022,\n\013time_ranges\030\005 \001" +
|
||||
"(\0132\027.greptime.v1.TimeRanges\"U\n\020DropDatab" +
|
||||
"aseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_" +
|
||||
"name\030\002 \001(\t\022\026\n\016drop_if_exists\030\003 \001(\010\"9\n\nAd" +
|
||||
"dColumns\022+\n\013add_columns\030\001 \003(\0132\026.greptime" +
|
||||
".v1.AddColumn\"?\n\014DropDefaults\022/\n\rdrop_de" +
|
||||
"faults\030\001 \003(\0132\030.greptime.v1.DropDefault\"<" +
|
||||
"\n\013SetDefaults\022-\n\014set_defaults\030\001 \003(\0132\027.gr" +
|
||||
"eptime.v1.SetDefault\"<\n\013DropColumns\022-\n\014d" +
|
||||
"rop_columns\030\001 \003(\0132\027.greptime.v1.DropColu" +
|
||||
"mn\"O\n\021ModifyColumnTypes\022:\n\023modify_column" +
|
||||
"_types\030\001 \003(\0132\035.greptime.v1.ModifyColumnT" +
|
||||
"ype\"%\n\013RenameTable\022\026\n\016new_table_name\030\001 \001" +
|
||||
"(\t\"\204\001\n\tAddColumn\022*\n\ncolumn_def\030\001 \001(\0132\026.g" +
|
||||
"reptime.v1.ColumnDef\0220\n\010location\030\003 \001(\0132\036" +
|
||||
".greptime.v1.AddColumnLocation\022\031\n\021add_if" +
|
||||
"_not_exists\030\004 \001(\010\"\236\001\n\020ModifyColumnType\022\023" +
|
||||
"\n\013column_name\030\001 \001(\t\0220\n\013target_type\030\002 \001(\016" +
|
||||
"2\033.greptime.v1.ColumnDataType\022C\n\025target_" +
|
||||
"type_extension\030\003 \001(\0132$.greptime.v1.Colum" +
|
||||
"nDataTypeExtension\"$\n\006Option\022\013\n\003key\030\001 \001(" +
|
||||
"\t\022\r\n\005value\030\002 \001(\t\"=\n\017SetTableOptions\022*\n\rt" +
|
||||
"able_options\030\001 \003(\0132\023.greptime.v1.Option\"" +
|
||||
"!\n\021UnsetTableOptions\022\014\n\004keys\030\001 \003(\t\"\032\n\nDr" +
|
||||
"opColumn\022\014\n\004name\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030" +
|
||||
"\001 \001(\r\"\024\n\006FlowId\022\n\n\002id\030\001 \001(\r\"\254\002\n\tColumnDe" +
|
||||
"f\022\014\n\004name\030\001 \001(\t\022.\n\tdata_type\030\002 \001(\0162\033.gre" +
|
||||
"ptime.v1.ColumnDataType\022\023\n\013is_nullable\030\003" +
|
||||
" \001(\010\022\032\n\022default_constraint\030\004 \001(\014\0220\n\rsema" +
|
||||
"ntic_type\030\005 \001(\0162\031.greptime.v1.SemanticTy" +
|
||||
"pe\022\017\n\007comment\030\006 \001(\t\022@\n\022datatype_extensio" +
|
||||
"n\030\007 \001(\0132$.greptime.v1.ColumnDataTypeExte" +
|
||||
"nsion\022+\n\007options\030\010 \001(\0132\032.greptime.v1.Col" +
|
||||
"umnOptions\"\230\001\n\021AddColumnLocation\022B\n\rloca" +
|
||||
"tion_type\030\001 \001(\0162+.greptime.v1.AddColumnL" +
|
||||
"ocation.LocationType\022\031\n\021after_column_nam" +
|
||||
"e\030\002 \001(\t\"$\n\014LocationType\022\t\n\005FIRST\020\000\022\t\n\005AF" +
|
||||
"TER\020\001\"\324\001\n\013SetFulltext\022\023\n\013column_name\030\001 \001" +
|
||||
"(\t\022\016\n\006enable\030\002 \001(\010\022\'\n\010analyzer\030\003 \001(\0162\025.g" +
|
||||
"reptime.v1.Analyzer\022\026\n\016case_sensitive\030\004 " +
|
||||
"\001(\010\022-\n\007backend\030\005 \001(\0162\034.greptime.v1.Fullt" +
|
||||
"extBackend\022\023\n\013granularity\030\006 \001(\004\022\033\n\023false" +
|
||||
"_positive_rate\030\007 \001(\001\"$\n\rUnsetFulltext\022\023\n" +
|
||||
"\013column_name\030\001 \001(\t\"\"\n\013SetInverted\022\023\n\013col" +
|
||||
"umn_name\030\001 \001(\t\"$\n\rUnsetInverted\022\023\n\013colum" +
|
||||
"n_name\030\001 \001(\t\"\241\001\n\013SetSkipping\022\023\n\013column_n" +
|
||||
"ame\030\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\023\n\013granularity" +
|
||||
"\030\003 \001(\004\022;\n\023skipping_index_type\030\004 \001(\0162\036.gr" +
|
||||
"eptime.v1.SkippingIndexType\022\033\n\023false_pos" +
|
||||
"itive_rate\030\005 \001(\001\"$\n\rUnsetSkipping\022\023\n\013col" +
|
||||
"umn_name\030\001 \001(\t\"\314\001\n\021AlterDatabaseExpr\022\024\n\014" +
|
||||
"catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022" +
|
||||
"?\n\024set_database_options\030\003 \001(\0132\037.greptime" +
|
||||
".v1.SetDatabaseOptionsH\000\022C\n\026unset_databa" +
|
||||
"se_options\030\004 \001(\0132!.greptime.v1.UnsetData" +
|
||||
"baseOptionsH\000B\006\n\004kind\"G\n\022SetDatabaseOpti" +
|
||||
"ons\0221\n\024set_database_options\030\001 \003(\0132\023.grep" +
|
||||
"time.v1.Option\"$\n\024UnsetDatabaseOptions\022\014" +
|
||||
"\n\004keys\030\001 \003(\t\"\331\004\n\021CreateTriggerExpr\022\024\n\014ca" +
|
||||
"talog_name\030\001 \001(\t\022\024\n\014trigger_name\030\002 \001(\t\022\034" +
|
||||
"\n\024create_if_not_exists\030\003 \001(\010\022\013\n\003sql\030\004 \001(" +
|
||||
"\t\022,\n\010channels\030\005 \003(\0132\032.greptime.v1.Notify" +
|
||||
"Channel\022:\n\006labels\030\006 \003(\0132*.greptime.v1.Cr" +
|
||||
"eateTriggerExpr.LabelsEntry\022D\n\013annotatio" +
|
||||
"ns\030\007 \003(\0132/.greptime.v1.CreateTriggerExpr" +
|
||||
".AnnotationsEntry\022+\n\010interval\030\010 \001(\0132\031.go" +
|
||||
"ogle.protobuf.Duration\022\031\n\021raw_interval_e" +
|
||||
"xpr\030\t \001(\t\022&\n\003for\030\n \001(\0132\031.google.protobuf" +
|
||||
".Duration\022\024\n\014for_raw_expr\030\013 \001(\t\0222\n\017keep_" +
|
||||
"firing_for\030\014 \001(\0132\031.google.protobuf.Durat" +
|
||||
"ion\022 \n\030keep_firing_for_raw_expr\030\r \001(\t\032-\n" +
|
||||
"\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" +
|
||||
":\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" +
|
||||
"\005value\030\002 \001(\t:\0028\001\"]\n\rNotifyChannel\022\014\n\004nam" +
|
||||
"e\030\001 \001(\t\022.\n\007webhook\030\002 \001(\0132\033.greptime.v1.W" +
|
||||
"ebhookOptionsH\000B\016\n\014channel_type\"\177\n\016Webho" +
|
||||
"okOptions\022\013\n\003url\030\001 \001(\t\0223\n\004opts\030\002 \003(\0132%.g" +
|
||||
"reptime.v1.WebhookOptions.OptsEntry\032+\n\tO" +
|
||||
"ptsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" +
|
||||
"\"U\n\017DropTriggerExpr\022\024\n\014catalog_name\030\001 \001(" +
|
||||
"\t\022\024\n\014trigger_name\030\002 \001(\t\022\026\n\016drop_if_exist" +
|
||||
"s\030\003 \001(\010\"\252\001\n\rCommentOnExpr\022\024\n\014catalog_nam" +
|
||||
"e\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\0223\n\013object_t" +
|
||||
"ype\030\003 \001(\0162\036.greptime.v1.CommentObjectTyp" +
|
||||
"e\022\023\n\013object_name\030\004 \001(\t\022\023\n\013column_name\030\005 " +
|
||||
"\001(\t\022\017\n\007comment\030\006 \001(\t*$\n\010Analyzer\022\013\n\007ENGL" +
|
||||
"ISH\020\000\022\013\n\007CHINESE\020\001*)\n\017FulltextBackend\022\013\n" +
|
||||
"\007TANTIVY\020\000\022\t\n\005BLOOM\020\001*%\n\021SkippingIndexTy" +
|
||||
"pe\022\020\n\014BLOOM_FILTER\020\000*4\n\021CommentObjectTyp" +
|
||||
"e\022\t\n\005TABLE\020\000\022\n\n\006COLUMN\020\001\022\010\n\004FLOW\020\002BL\n\016io" +
|
||||
".greptime.v1B\003DdlZ5github.com/GreptimeTe" +
|
||||
"am/greptime-proto/go/greptime/v1b\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -54856,7 +54764,7 @@ java.lang.String defaultValue);
|
||||
internal_static_greptime_v1_Repartition_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_Repartition_descriptor,
|
||||
new java.lang.String[] { "FromPartitionExprs", "IntoPartitionExprs", "Wait", });
|
||||
new java.lang.String[] { "FromPartitionExprs", "IntoPartitionExprs", });
|
||||
internal_static_greptime_v1_DropTableExpr_descriptor =
|
||||
getDescriptor().getMessageTypes().get(14);
|
||||
internal_static_greptime_v1_DropTableExpr_fieldAccessorTable = new
|
||||
|
||||
Reference in New Issue
Block a user