Enum TemplateQueryType
- java.lang.Object
-
- java.lang.Enum<TemplateQueryType>
-
- org.apache.iotdb.db.metadata.template.TemplateQueryType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TemplateQueryType>
public enum TemplateQueryType extends java.lang.Enum<TemplateQueryType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COUNT_MEASUREMENTSIS_MEASUREMENTPATH_EXISTSHOW_MEASUREMENTSSHOW_SET_TEMPLATESSHOW_TEMPLATESSHOW_USING_TEMPLATES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TemplateQueryTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TemplateQueryType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COUNT_MEASUREMENTS
public static final TemplateQueryType COUNT_MEASUREMENTS
-
IS_MEASUREMENT
public static final TemplateQueryType IS_MEASUREMENT
-
PATH_EXIST
public static final TemplateQueryType PATH_EXIST
-
SHOW_MEASUREMENTS
public static final TemplateQueryType SHOW_MEASUREMENTS
-
SHOW_TEMPLATES
public static final TemplateQueryType SHOW_TEMPLATES
-
SHOW_SET_TEMPLATES
public static final TemplateQueryType SHOW_SET_TEMPLATES
-
SHOW_USING_TEMPLATES
public static final TemplateQueryType SHOW_USING_TEMPLATES
-
-
Method Detail
-
values
public static TemplateQueryType[] 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 (TemplateQueryType c : TemplateQueryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TemplateQueryType 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
-
-