com.hazelcast.query.impl
Enum AttributeType

java.lang.Object
  extended by java.lang.Enum<AttributeType>
      extended by com.hazelcast.query.impl.AttributeType
All Implemented Interfaces:
Serializable, Comparable<AttributeType>

public enum AttributeType
extends Enum<AttributeType>

Type of Attribute


Enum Constant Summary
BIG_DECIMAL
          Big Decimal
BIG_INTEGER
          Big Integer
BOOLEAN
          Boolean
BYTE
          Byte
CHAR
          Char
DATE
          Date
DOUBLE
          Double
ENUM
          Enum
FLOAT
          Float
INTEGER
          Integer
LONG
          Long
SHORT
          Short
SQL_DATE
          Sql Date
SQL_TIMESTAMP
          Sql Time Stamp
STRING
          String
UUID
          UUID
 
Method Summary
 TypeConverters.TypeConverter getConverter()
           
static AttributeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AttributeType[] 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

DOUBLE

public static final AttributeType DOUBLE
Double


LONG

public static final AttributeType LONG
Long


SHORT

public static final AttributeType SHORT
Short


BOOLEAN

public static final AttributeType BOOLEAN
Boolean


BYTE

public static final AttributeType BYTE
Byte


STRING

public static final AttributeType STRING
String


FLOAT

public static final AttributeType FLOAT
Float


CHAR

public static final AttributeType CHAR
Char


INTEGER

public static final AttributeType INTEGER
Integer


ENUM

public static final AttributeType ENUM
Enum


BIG_INTEGER

public static final AttributeType BIG_INTEGER
Big Integer


BIG_DECIMAL

public static final AttributeType BIG_DECIMAL
Big Decimal


SQL_TIMESTAMP

public static final AttributeType SQL_TIMESTAMP
Sql Time Stamp


SQL_DATE

public static final AttributeType SQL_DATE
Sql Date


DATE

public static final AttributeType DATE
Date


UUID

public static final AttributeType UUID
UUID

Method Detail

values

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

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

valueOf

public static AttributeType 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

getConverter

public TypeConverters.TypeConverter getConverter()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.