com.netflix.astyanax.serializers
Enum ComparatorType

java.lang.Object
  extended by java.lang.Enum<ComparatorType>
      extended by com.netflix.astyanax.serializers.ComparatorType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ComparatorType>

public enum ComparatorType
extends java.lang.Enum<ComparatorType>


Enum Constant Summary
ASCIITYPE
           
BOOLEANTYPE
           
BYTESTYPE
           
COMPOSITETYPE
           
COUNTERTYPE
           
DATETYPE
           
DECIMALTYPE
           
DOUBLETYPE
           
DYNAMICCOMPOSITETYPE
           
FLOATTYPE
           
INT32TYPE
           
INTEGERTYPE
           
LEXICALUUIDTYPE
           
LOCALBYPARTITIONERTYPE
           
LONGTYPE
           
TIMEUUIDTYPE
           
UTF8TYPE
           
UUIDTYPE
           
 
Method Summary
static ComparatorType getByClassName(java.lang.String className)
           
 java.lang.String getClassName()
           
 Serializer<?> getSerializer()
           
 java.lang.String getTypeName()
           
static ComparatorType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ComparatorType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ASCIITYPE

public static final ComparatorType ASCIITYPE

BYTESTYPE

public static final ComparatorType BYTESTYPE

INTEGERTYPE

public static final ComparatorType INTEGERTYPE

INT32TYPE

public static final ComparatorType INT32TYPE

DECIMALTYPE

public static final ComparatorType DECIMALTYPE

LEXICALUUIDTYPE

public static final ComparatorType LEXICALUUIDTYPE

LOCALBYPARTITIONERTYPE

public static final ComparatorType LOCALBYPARTITIONERTYPE

LONGTYPE

public static final ComparatorType LONGTYPE

TIMEUUIDTYPE

public static final ComparatorType TIMEUUIDTYPE

UTF8TYPE

public static final ComparatorType UTF8TYPE

COMPOSITETYPE

public static final ComparatorType COMPOSITETYPE

DYNAMICCOMPOSITETYPE

public static final ComparatorType DYNAMICCOMPOSITETYPE

UUIDTYPE

public static final ComparatorType UUIDTYPE

COUNTERTYPE

public static final ComparatorType COUNTERTYPE

DOUBLETYPE

public static final ComparatorType DOUBLETYPE

FLOATTYPE

public static final ComparatorType FLOATTYPE

BOOLEANTYPE

public static final ComparatorType BOOLEANTYPE

DATETYPE

public static final ComparatorType DATETYPE
Method Detail

values

public static ComparatorType[] 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 (ComparatorType c : ComparatorType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ComparatorType 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 name
java.lang.NullPointerException - if the argument is null

getClassName

public java.lang.String getClassName()

getTypeName

public java.lang.String getTypeName()

getSerializer

public Serializer<?> getSerializer()

getByClassName

public static ComparatorType getByClassName(java.lang.String className)