Enum StatementType
- java.lang.Object
-
- java.lang.Enum<StatementType>
-
- org.apache.iotdb.db.mpp.plan.constant.StatementType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<StatementType>
public enum StatementType extends java.lang.Enum<StatementType>
Type code of statement.NOTE: If you want to add new StatementType, you must add it in the LAST.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StatementTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static StatementType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL
public static final StatementType NULL
-
AUTHOR
public static final StatementType AUTHOR
-
LOAD_DATA
public static final StatementType LOAD_DATA
-
CREATE_USER
public static final StatementType CREATE_USER
-
DELETE_USER
public static final StatementType DELETE_USER
-
MODIFY_PASSWORD
public static final StatementType MODIFY_PASSWORD
-
GRANT_USER_PRIVILEGE
public static final StatementType GRANT_USER_PRIVILEGE
-
REVOKE_USER_PRIVILEGE
public static final StatementType REVOKE_USER_PRIVILEGE
-
GRANT_USER_ROLE
public static final StatementType GRANT_USER_ROLE
-
REVOKE_USER_ROLE
public static final StatementType REVOKE_USER_ROLE
-
CREATE_ROLE
public static final StatementType CREATE_ROLE
-
DELETE_ROLE
public static final StatementType DELETE_ROLE
-
GRANT_ROLE_PRIVILEGE
public static final StatementType GRANT_ROLE_PRIVILEGE
-
REVOKE_ROLE_PRIVILEGE
public static final StatementType REVOKE_ROLE_PRIVILEGE
-
LIST_USER
public static final StatementType LIST_USER
-
LIST_ROLE
public static final StatementType LIST_ROLE
-
LIST_USER_PRIVILEGE
public static final StatementType LIST_USER_PRIVILEGE
-
LIST_ROLE_PRIVILEGE
public static final StatementType LIST_ROLE_PRIVILEGE
-
LIST_USER_ROLES
public static final StatementType LIST_USER_ROLES
-
LIST_ROLE_USERS
public static final StatementType LIST_ROLE_USERS
-
GRANT_WATERMARK_EMBEDDING
public static final StatementType GRANT_WATERMARK_EMBEDDING
-
REVOKE_WATERMARK_EMBEDDING
public static final StatementType REVOKE_WATERMARK_EMBEDDING
-
SET_STORAGE_GROUP
public static final StatementType SET_STORAGE_GROUP
-
DELETE_STORAGE_GROUP
public static final StatementType DELETE_STORAGE_GROUP
-
CREATE_TIMESERIES
public static final StatementType CREATE_TIMESERIES
-
CREATE_ALIGNED_TIMESERIES
public static final StatementType CREATE_ALIGNED_TIMESERIES
-
CREATE_MULTI_TIMESERIES
public static final StatementType CREATE_MULTI_TIMESERIES
-
DELETE_TIMESERIES
public static final StatementType DELETE_TIMESERIES
-
ALTER_TIMESERIES
public static final StatementType ALTER_TIMESERIES
-
CHANGE_ALIAS
public static final StatementType CHANGE_ALIAS
-
CHANGE_TAG_OFFSET
public static final StatementType CHANGE_TAG_OFFSET
-
INSERT
public static final StatementType INSERT
-
BATCH_INSERT
public static final StatementType BATCH_INSERT
-
BATCH_INSERT_ROWS
public static final StatementType BATCH_INSERT_ROWS
-
BATCH_INSERT_ONE_DEVICE
public static final StatementType BATCH_INSERT_ONE_DEVICE
-
MULTI_BATCH_INSERT
public static final StatementType MULTI_BATCH_INSERT
-
DELETE
public static final StatementType DELETE
-
QUERY
public static final StatementType QUERY
-
LAST
public static final StatementType LAST
-
GROUP_BY_TIME
public static final StatementType GROUP_BY_TIME
-
GROUP_BY_FILL
public static final StatementType GROUP_BY_FILL
-
AGGREGATION
public static final StatementType AGGREGATION
-
FILL
public static final StatementType FILL
-
UDAF
public static final StatementType UDAF
-
UDTF
public static final StatementType UDTF
-
SELECT_INTO
public static final StatementType SELECT_INTO
-
CREATE_FUNCTION
public static final StatementType CREATE_FUNCTION
-
DROP_FUNCTION
public static final StatementType DROP_FUNCTION
-
SHOW
public static final StatementType SHOW
-
SHOW_MERGE_STATUS
public static final StatementType SHOW_MERGE_STATUS
-
CREATE_INDEX
public static final StatementType CREATE_INDEX
-
DROP_INDEX
public static final StatementType DROP_INDEX
-
QUERY_INDEX
public static final StatementType QUERY_INDEX
-
LOAD_FILES
public static final StatementType LOAD_FILES
-
REMOVE_FILE
public static final StatementType REMOVE_FILE
-
UNLOAD_FILE
public static final StatementType UNLOAD_FILE
-
CREATE_TRIGGER
public static final StatementType CREATE_TRIGGER
-
DROP_TRIGGER
public static final StatementType DROP_TRIGGER
-
START_TRIGGER
public static final StatementType START_TRIGGER
-
STOP_TRIGGER
public static final StatementType STOP_TRIGGER
-
CREATE_TEMPLATE
public static final StatementType CREATE_TEMPLATE
-
SET_TEMPLATE
public static final StatementType SET_TEMPLATE
-
ACTIVATE_TEMPLATE
public static final StatementType ACTIVATE_TEMPLATE
-
MERGE
public static final StatementType MERGE
-
FULL_MERGE
public static final StatementType FULL_MERGE
-
MNODE
public static final StatementType MNODE
-
MEASUREMENT_MNODE
public static final StatementType MEASUREMENT_MNODE
-
STORAGE_GROUP_MNODE
public static final StatementType STORAGE_GROUP_MNODE
-
AUTO_CREATE_DEVICE_MNODE
public static final StatementType AUTO_CREATE_DEVICE_MNODE
-
TTL
public static final StatementType TTL
-
KILL
public static final StatementType KILL
-
FLUSH
public static final StatementType FLUSH
-
TRACING
public static final StatementType TRACING
-
CLEAR_CACHE
public static final StatementType CLEAR_CACHE
-
DELETE_PARTITION
public static final StatementType DELETE_PARTITION
-
LOAD_CONFIGURATION
public static final StatementType LOAD_CONFIGURATION
-
CREATE_SCHEMA_SNAPSHOT
public static final StatementType CREATE_SCHEMA_SNAPSHOT
-
CREATE_CONTINUOUS_QUERY
public static final StatementType CREATE_CONTINUOUS_QUERY
-
DROP_CONTINUOUS_QUERY
public static final StatementType DROP_CONTINUOUS_QUERY
-
SHOW_CONTINUOUS_QUERIES
public static final StatementType SHOW_CONTINUOUS_QUERIES
-
SET_SYSTEM_MODE
public static final StatementType SET_SYSTEM_MODE
-
SETTLE
public static final StatementType SETTLE
-
UNSET_TEMPLATE
public static final StatementType UNSET_TEMPLATE
-
PRUNE_TEMPLATE
public static final StatementType PRUNE_TEMPLATE
-
APPEND_TEMPLATE
public static final StatementType APPEND_TEMPLATE
-
DROP_TEMPLATE
public static final StatementType DROP_TEMPLATE
-
SHOW_SCHEMA_TEMPLATE
public static final StatementType SHOW_SCHEMA_TEMPLATE
-
SHOW_NODES_IN_SCHEMA_TEMPLATE
public static final StatementType SHOW_NODES_IN_SCHEMA_TEMPLATE
-
SHOW_PATH_SET_SCHEMA_TEMPLATE
public static final StatementType SHOW_PATH_SET_SCHEMA_TEMPLATE
-
SHOW_PATH_USING_SCHEMA_TEMPLATE
public static final StatementType SHOW_PATH_USING_SCHEMA_TEMPLATE
-
SHOW_QUERY_RESOURCE
public static final StatementType SHOW_QUERY_RESOURCE
-
FETCH_SCHEMA
public static final StatementType FETCH_SCHEMA
-
INTERNAL_CREATE_TIMESERIES
public static final StatementType INTERNAL_CREATE_TIMESERIES
-
COUNT
public static final StatementType COUNT
-
CREATE_PIPESINK
public static final StatementType CREATE_PIPESINK
-
DROP_PIPESINK
public static final StatementType DROP_PIPESINK
-
CREATE_PIPE
public static final StatementType CREATE_PIPE
-
START_PIPE
public static final StatementType START_PIPE
-
STOP_PIPE
public static final StatementType STOP_PIPE
-
DROP_PIPE
public static final StatementType DROP_PIPE
-
-
Method Detail
-
values
public static StatementType[] 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 (StatementType c : StatementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StatementType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-