Modifier and Type | Method and Description |
---|---|
int |
getCode() |
static R.Status |
valueOf(int val) |
static R.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static R.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final R.Status Success
public static final R.Status UnexpectedError
public static final R.Status ConnectFailed
public static final R.Status PermissionDenied
public static final R.Status CollectionNotExists
public static final R.Status IllegalArgument
public static final R.Status IllegalDimension
public static final R.Status IllegalIndexType
public static final R.Status IllegalCollectionName
public static final R.Status IllegalTOPK
public static final R.Status IllegalRowRecord
public static final R.Status IllegalVectorID
public static final R.Status IllegalSearchResult
public static final R.Status FileNotFound
public static final R.Status MetaFailed
public static final R.Status CacheFailed
public static final R.Status CannotCreateFolder
public static final R.Status CannotCreateFile
public static final R.Status CannotDeleteFolder
public static final R.Status CannotDeleteFile
public static final R.Status BuildIndexError
public static final R.Status IllegalNLIST
public static final R.Status IllegalMetricType
public static final R.Status OutOfMemory
public static final R.Status IndexNotExist
public static final R.Status EmptyCollection
public static final R.Status DDRequestRace
public static final R.Status RpcError
public static final R.Status ClientNotConnected
public static final R.Status Unknown
public static final R.Status VersionMismatch
public static final R.Status ParamError
public static final R.Status IllegalResponse
public static R.Status[] values()
for (R.Status c : R.Status.values()) System.out.println(c);
public static R.Status valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static R.Status valueOf(int val)
public int getCode()