public enum ImportState extends Enum<ImportState> implements com.google.protobuf.ProtocolMessageEnum
milvus.proto.common.ImportState| 枚举常量和说明 |
|---|
ImportCompleted
all indexes are successfully built and segments are able to be compacted as normal.
|
ImportFailed
the task failed for some reason, get detail reason from GetImportStateResponse.infos
ImportFailed = 1; |
ImportFailedAndCleaned
the task failed and all segments it generated are cleaned up.
|
ImportPending
the task in in pending list of rootCoord, waiting to be executed
ImportPending = 0; |
ImportPersisted
all data files have been parsed and data already persisted
ImportPersisted = 5; |
ImportStarted
the task has been sent to datanode to execute
ImportStarted = 2; |
UNRECOGNIZED |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ImportCompleted_VALUE
all indexes are successfully built and segments are able to be compacted as normal.
|
static int |
ImportFailed_VALUE
the task failed for some reason, get detail reason from GetImportStateResponse.infos
ImportFailed = 1; |
static int |
ImportFailedAndCleaned_VALUE
the task failed and all segments it generated are cleaned up.
|
static int |
ImportPending_VALUE
the task in in pending list of rootCoord, waiting to be executed
ImportPending = 0; |
static int |
ImportPersisted_VALUE
all data files have been parsed and data already persisted
ImportPersisted = 5; |
static int |
ImportStarted_VALUE
the task has been sent to datanode to execute
ImportStarted = 2; |
| 限定符和类型 | 方法和说明 |
|---|---|
static ImportState |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ImportState> |
internalGetValueMap() |
static ImportState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ImportState |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static ImportState |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ImportState[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ImportState ImportPending
the task in in pending list of rootCoord, waiting to be executed
ImportPending = 0;public static final ImportState ImportFailed
the task failed for some reason, get detail reason from GetImportStateResponse.infos
ImportFailed = 1;public static final ImportState ImportStarted
the task has been sent to datanode to execute
ImportStarted = 2;public static final ImportState ImportPersisted
all data files have been parsed and data already persisted
ImportPersisted = 5;public static final ImportState ImportCompleted
all indexes are successfully built and segments are able to be compacted as normal.
ImportCompleted = 6;public static final ImportState ImportFailedAndCleaned
the task failed and all segments it generated are cleaned up.
ImportFailedAndCleaned = 7;public static final ImportState UNRECOGNIZED
public static final int ImportPending_VALUE
the task in in pending list of rootCoord, waiting to be executed
ImportPending = 0;public static final int ImportFailed_VALUE
the task failed for some reason, get detail reason from GetImportStateResponse.infos
ImportFailed = 1;public static final int ImportStarted_VALUE
the task has been sent to datanode to execute
ImportStarted = 2;public static final int ImportPersisted_VALUE
all data files have been parsed and data already persisted
ImportPersisted = 5;public static final int ImportCompleted_VALUE
all indexes are successfully built and segments are able to be compacted as normal.
ImportCompleted = 6;public static final int ImportFailedAndCleaned_VALUE
the task failed and all segments it generated are cleaned up.
ImportFailedAndCleaned = 7;public static ImportState[] values()
for (ImportState c : ImportState.values()) System.out.println(c);
public static ImportState valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static ImportState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ImportState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ImportState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ImportState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All rights reserved.