Package org.yamcs.yarch.streamsql
Enum StreamSqlException.ErrCode
- java.lang.Object
-
- java.lang.Enum<StreamSqlException.ErrCode>
-
- org.yamcs.yarch.streamsql.StreamSqlException.ErrCode
-
- All Implemented Interfaces:
Serializable
,Comparable<StreamSqlException.ErrCode>
- Enclosing class:
- StreamSqlException
public static enum StreamSqlException.ErrCode extends Enum<StreamSqlException.ErrCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StreamSqlException.ErrCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static StreamSqlException.ErrCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR
public static final StreamSqlException.ErrCode ERROR
-
RESOURCE_EXISTS
public static final StreamSqlException.ErrCode RESOURCE_EXISTS
-
NOT_A_STREAM
public static final StreamSqlException.ErrCode NOT_A_STREAM
-
NONE_SPECIFIED
public static final StreamSqlException.ErrCode NONE_SPECIFIED
-
INCOMPATIBLE
public static final StreamSqlException.ErrCode INCOMPATIBLE
-
NOT_IMPLEMENTED
public static final StreamSqlException.ErrCode NOT_IMPLEMENTED
-
COLUMN_NOT_FOUND
public static final StreamSqlException.ErrCode COLUMN_NOT_FOUND
-
AGGREGATE_IN_AGGREGATE
public static final StreamSqlException.ErrCode AGGREGATE_IN_AGGREGATE
-
COMPILE_ERROR
public static final StreamSqlException.ErrCode COMPILE_ERROR
-
NOT_SUPPORTED
public static final StreamSqlException.ErrCode NOT_SUPPORTED
-
RESOURCE_NOT_FOUND
public static final StreamSqlException.ErrCode RESOURCE_NOT_FOUND
-
AGGREGATE_WITHOUT_WINDOW
public static final StreamSqlException.ErrCode AGGREGATE_WITHOUT_WINDOW
-
INVALID_HISTOGRAM_COLUMN
public static final StreamSqlException.ErrCode INVALID_HISTOGRAM_COLUMN
-
INVALID_INDEX_COLUMN
public static final StreamSqlException.ErrCode INVALID_INDEX_COLUMN
-
WRONG_ARG_COUNT
public static final StreamSqlException.ErrCode WRONG_ARG_COUNT
-
BAD_ARG_TYPE
public static final StreamSqlException.ErrCode BAD_ARG_TYPE
-
DUPLICATE_KEY
public static final StreamSqlException.ErrCode DUPLICATE_KEY
-
-
Method Detail
-
values
public static StreamSqlException.ErrCode[] 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 (StreamSqlException.ErrCode c : StreamSqlException.ErrCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamSqlException.ErrCode valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-