com.neeve.sto
Enum StoField.Type

java.lang.Object
  extended by java.lang.Enum<StoField.Type>
      extended by 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.


Enum Constant Summary
BOOLEAN
           
BOOLEAN_ARRAY
           
BUFFER
           
BYTE
           
BYTE_ARRAY
           
COMPOUND
           
COMPOUND_ARRAY
           
DATE
           
DOUBLE
           
DOUBLE_ARRAY
           
FIXLEN_STRING
           
FLOAT
           
FLOAT_ARRAY
           
INTEGER
           
INTEGER_ARRAY
           
LONG
           
LONG_ARRAY
           
SHORT
           
SHORT_ARRAY
           
STRING
           
STRING_ARRAY
           
 
Field Summary
 byte encoding
           
 
Method Summary
static StoField.Type fromEncoding(byte encoding)
           
static StoField.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StoField.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Field Detail

encoding

public final byte encoding
Method Detail

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.