Package org.apache.camel.component.gora
Enum GoraOperation
- java.lang.Object
-
- java.lang.Enum<GoraOperation>
-
- org.apache.camel.component.gora.GoraOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<GoraOperation>
public enum GoraOperation extends Enum<GoraOperation>
Camel-Gora Operations.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATE_SCHEMA
Gora "create schema" operationDELETE
Gora "delete" operationDELETE_BY_QUERY
Gora "deleteByQuery" operationDELETE_SCHEMA
Gora "delete schema" operationGET
Gora fetch/"get" operationGET_SCHEMA_NAME
Gora "get schema name" operationPUT
Gora "put" operationQUERY
Gora "query" operationSCHEMA_EXIST
Gora "schemaExists" operation
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GoraOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static GoraOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUT
public static final GoraOperation PUT
Gora "put" operation
-
GET
public static final GoraOperation GET
Gora fetch/"get" operation
-
DELETE
public static final GoraOperation DELETE
Gora "delete" operation
-
GET_SCHEMA_NAME
public static final GoraOperation GET_SCHEMA_NAME
Gora "get schema name" operation
-
DELETE_SCHEMA
public static final GoraOperation DELETE_SCHEMA
Gora "delete schema" operation
-
CREATE_SCHEMA
public static final GoraOperation CREATE_SCHEMA
Gora "create schema" operation
-
QUERY
public static final GoraOperation QUERY
Gora "query" operation
-
DELETE_BY_QUERY
public static final GoraOperation DELETE_BY_QUERY
Gora "deleteByQuery" operation
-
SCHEMA_EXIST
public static final GoraOperation SCHEMA_EXIST
Gora "schemaExists" operation
-
-
Field Detail
-
value
public final String value
Enum value
-
-
Method Detail
-
values
public static GoraOperation[] 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 (GoraOperation c : GoraOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GoraOperation 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
-
-