Enum StoreQuery.StoreQueryType
- java.lang.Object
-
- java.lang.Enum<StoreQuery.StoreQueryType>
-
- io.siddhi.query.api.execution.query.StoreQuery.StoreQueryType
-
- All Implemented Interfaces:
Serializable,Comparable<StoreQuery.StoreQueryType>
- Enclosing class:
- StoreQuery
public static enum StoreQuery.StoreQueryType extends Enum<StoreQuery.StoreQueryType>
This enum is used to identify the type of a store query. Type can be one of the following. - INSERT - DELETE - UPDATE - SELECT - FIND - UPDATE OR INSERT
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StoreQuery.StoreQueryTypevalueOf(String name)Returns the enum constant of this type with the specified name.static StoreQuery.StoreQueryType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSERT
public static final StoreQuery.StoreQueryType INSERT
-
DELETE
public static final StoreQuery.StoreQueryType DELETE
-
UPDATE
public static final StoreQuery.StoreQueryType UPDATE
-
SELECT
public static final StoreQuery.StoreQueryType SELECT
-
UPDATE_OR_INSERT
public static final StoreQuery.StoreQueryType UPDATE_OR_INSERT
-
FIND
public static final StoreQuery.StoreQueryType FIND
-
-
Method Detail
-
values
public static StoreQuery.StoreQueryType[] 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 (StoreQuery.StoreQueryType c : StoreQuery.StoreQueryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StoreQuery.StoreQueryType 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
-
-