Package io.milvus.client
Enum Response.Status
- java.lang.Object
-
- java.lang.Enum<Response.Status>
-
- io.milvus.client.Response.Status
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Response.Status>
- Enclosing class:
- Response
public static enum Response.Status extends java.lang.Enum<Response.Status>
Represents server and client side status code
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
static Response.Status
valueOf(int val)
Returns the enum constant of this type with the specified name.static Response.Status
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Response.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final Response.Status SUCCESS
-
UNEXPECTED_ERROR
public static final Response.Status UNEXPECTED_ERROR
-
CONNECT_FAILED
public static final Response.Status CONNECT_FAILED
-
PERMISSION_DENIED
public static final Response.Status PERMISSION_DENIED
-
COLLECTION_NOT_EXISTS
public static final Response.Status COLLECTION_NOT_EXISTS
-
ILLEGAL_ARGUMENT
public static final Response.Status ILLEGAL_ARGUMENT
-
ILLEGAL_DIMENSION
public static final Response.Status ILLEGAL_DIMENSION
-
ILLEGAL_INDEX_TYPE
public static final Response.Status ILLEGAL_INDEX_TYPE
-
ILLEGAL_COLLECTION_NAME
public static final Response.Status ILLEGAL_COLLECTION_NAME
-
ILLEGAL_TOPK
public static final Response.Status ILLEGAL_TOPK
-
ILLEGAL_ROWRECORD
public static final Response.Status ILLEGAL_ROWRECORD
-
ILLEGAL_VECTOR_ID
public static final Response.Status ILLEGAL_VECTOR_ID
-
ILLEGAL_SEARCH_RESULT
public static final Response.Status ILLEGAL_SEARCH_RESULT
-
FILE_NOT_FOUND
public static final Response.Status FILE_NOT_FOUND
-
META_FAILED
public static final Response.Status META_FAILED
-
CACHE_FAILED
public static final Response.Status CACHE_FAILED
-
CANNOT_CREATE_FOLDER
public static final Response.Status CANNOT_CREATE_FOLDER
-
CANNOT_CREATE_FILE
public static final Response.Status CANNOT_CREATE_FILE
-
CANNOT_DELETE_FOLDER
public static final Response.Status CANNOT_DELETE_FOLDER
-
CANNOT_DELETE_FILE
public static final Response.Status CANNOT_DELETE_FILE
-
BUILD_INDEX_ERROR
public static final Response.Status BUILD_INDEX_ERROR
-
ILLEGAL_NLIST
public static final Response.Status ILLEGAL_NLIST
-
ILLEGAL_METRIC_TYPE
public static final Response.Status ILLEGAL_METRIC_TYPE
-
OUT_OF_MEMORY
public static final Response.Status OUT_OF_MEMORY
-
RPC_ERROR
public static final Response.Status RPC_ERROR
-
CLIENT_NOT_CONNECTED
public static final Response.Status CLIENT_NOT_CONNECTED
-
UNKNOWN
public static final Response.Status UNKNOWN
-
VERSION_MISMATCH
public static final Response.Status VERSION_MISMATCH
-
-
Method Detail
-
values
public static Response.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Response.Status c : Response.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Response.Status valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
public static Response.Status valueOf(int val)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
val
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getCode
public int getCode()
-
-