Package tech.ytsaurus.skiff
Enum WireType
- java.lang.Object
-
- java.lang.Enum<WireType>
-
- tech.ytsaurus.skiff.WireType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisSimpleType()booleanisVariant()java.lang.StringtoString()static WireTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WireType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOTHING
public static final WireType NOTHING
-
INT_8
public static final WireType INT_8
-
INT_16
public static final WireType INT_16
-
INT_32
public static final WireType INT_32
-
INT_64
public static final WireType INT_64
-
INT_128
public static final WireType INT_128
-
UINT_8
public static final WireType UINT_8
-
UINT_16
public static final WireType UINT_16
-
UINT_32
public static final WireType UINT_32
-
UINT_64
public static final WireType UINT_64
-
UINT_128
public static final WireType UINT_128
-
DOUBLE
public static final WireType DOUBLE
-
BOOLEAN
public static final WireType BOOLEAN
-
STRING_32
public static final WireType STRING_32
-
YSON_32
public static final WireType YSON_32
-
TUPLE
public static final WireType TUPLE
-
VARIANT_8
public static final WireType VARIANT_8
-
VARIANT_16
public static final WireType VARIANT_16
-
REPEATED_VARIANT_8
public static final WireType REPEATED_VARIANT_8
-
REPEATED_VARIANT_16
public static final WireType REPEATED_VARIANT_16
-
-
Method Detail
-
values
public static WireType[] 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 (WireType c : WireType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WireType 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
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<WireType>
-
isSimpleType
public boolean isSimpleType()
-
isVariant
public boolean isVariant()
-
-