Enum OnDemandQuery.OnDemandQueryType
- java.lang.Object
-
- java.lang.Enum<OnDemandQuery.OnDemandQueryType>
-
- io.siddhi.query.api.execution.query.OnDemandQuery.OnDemandQueryType
-
- All Implemented Interfaces:
Serializable,Comparable<OnDemandQuery.OnDemandQueryType>
- Enclosing class:
- OnDemandQuery
public static enum OnDemandQuery.OnDemandQueryType extends Enum<OnDemandQuery.OnDemandQueryType>
This enum is used to identify the type of a on-demand 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 OnDemandQuery.OnDemandQueryTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OnDemandQuery.OnDemandQueryType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSERT
public static final OnDemandQuery.OnDemandQueryType INSERT
-
DELETE
public static final OnDemandQuery.OnDemandQueryType DELETE
-
UPDATE
public static final OnDemandQuery.OnDemandQueryType UPDATE
-
SELECT
public static final OnDemandQuery.OnDemandQueryType SELECT
-
UPDATE_OR_INSERT
public static final OnDemandQuery.OnDemandQueryType UPDATE_OR_INSERT
-
FIND
public static final OnDemandQuery.OnDemandQueryType FIND
-
-
Method Detail
-
values
public static OnDemandQuery.OnDemandQueryType[] 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 (OnDemandQuery.OnDemandQueryType c : OnDemandQuery.OnDemandQueryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OnDemandQuery.OnDemandQueryType 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
-
-