com.neeve.sto
Enum StoField.Type
java.lang.Object
java.lang.Enum<StoField.Type>
com.neeve.sto.StoField.Type
- All Implemented Interfaces:
- Serializable, Comparable<StoField.Type>
- Enclosing class:
- StoField
public static enum StoField.Type
- extends Enum<StoField.Type>
Enumerates the supported STO field types.
BYTE
public static final StoField.Type BYTE
SHORT
public static final StoField.Type SHORT
INTEGER
public static final StoField.Type INTEGER
FLOAT
public static final StoField.Type FLOAT
LONG
public static final StoField.Type LONG
DOUBLE
public static final StoField.Type DOUBLE
STRING
public static final StoField.Type STRING
FIXLEN_STRING
public static final StoField.Type FIXLEN_STRING
BOOLEAN
public static final StoField.Type BOOLEAN
BUFFER
public static final StoField.Type BUFFER
COMPOUND
public static final StoField.Type COMPOUND
BYTE_ARRAY
public static final StoField.Type BYTE_ARRAY
SHORT_ARRAY
public static final StoField.Type SHORT_ARRAY
INTEGER_ARRAY
public static final StoField.Type INTEGER_ARRAY
FLOAT_ARRAY
public static final StoField.Type FLOAT_ARRAY
LONG_ARRAY
public static final StoField.Type LONG_ARRAY
DOUBLE_ARRAY
public static final StoField.Type DOUBLE_ARRAY
STRING_ARRAY
public static final StoField.Type STRING_ARRAY
BOOLEAN_ARRAY
public static final StoField.Type BOOLEAN_ARRAY
COMPOUND_ARRAY
public static final StoField.Type COMPOUND_ARRAY
DATE
public static final StoField.Type DATE
encoding
public final byte encoding
values
public static StoField.Type[] 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 (StoField.Type c : StoField.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static StoField.Type 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 name
NullPointerException
- if the argument is null
fromEncoding
public static final StoField.Type fromEncoding(byte encoding)
Copyright © 2015 Neeve Research, LLC. All Rights Reserved.