Enum TemplateInternalRPCUpdateType
- java.lang.Object
-
- java.lang.Enum<TemplateInternalRPCUpdateType>
-
- org.apache.iotdb.db.metadata.template.TemplateInternalRPCUpdateType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TemplateInternalRPCUpdateType>
public enum TemplateInternalRPCUpdateType extends java.lang.Enum<TemplateInternalRPCUpdateType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_TEMPLATE_SET_INFOINVALIDATE_TEMPLATE_SET_INFO
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TemplateInternalRPCUpdateTypedeserialize(java.nio.ByteBuffer buffer)static TemplateInternalRPCUpdateTypegetType(byte type)voidserialize(java.io.OutputStream stream)bytetoByte()static TemplateInternalRPCUpdateTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TemplateInternalRPCUpdateType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD_TEMPLATE_SET_INFO
public static final TemplateInternalRPCUpdateType ADD_TEMPLATE_SET_INFO
-
INVALIDATE_TEMPLATE_SET_INFO
public static final TemplateInternalRPCUpdateType INVALIDATE_TEMPLATE_SET_INFO
-
-
Method Detail
-
values
public static TemplateInternalRPCUpdateType[] 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 (TemplateInternalRPCUpdateType c : TemplateInternalRPCUpdateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TemplateInternalRPCUpdateType 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
-
toByte
public byte toByte()
-
serialize
public void serialize(java.io.OutputStream stream) throws java.io.IOException- Throws:
java.io.IOException
-
deserialize
public static TemplateInternalRPCUpdateType deserialize(java.nio.ByteBuffer buffer)
-
getType
public static TemplateInternalRPCUpdateType getType(byte type)
-
-