public enum SqlColumnType extends Enum<SqlColumnType>
| Enum Constant and Description | 
|---|
| BIGINTBIGINT type, represented by  Long | 
| BOOLEANBOOLEAN type, represented by  Boolean | 
| DATEDATE type, represented by  LocalDate | 
| DECIMALDECIMAL type, represented by  BigDecimal | 
| DOUBLEDOUBLE type, represented by  Double | 
| INTEGERINTEGER type, represented by  Integer | 
| NULLThe type of the generic SQL  NULLliteral. | 
| OBJECTOBJECT type, could be represented by any Java class. | 
| REALREAL type, represented by  Float | 
| SMALLINTSMALLINT type, represented by  Short | 
| TIMETIME type, represented by  LocalTime | 
| TIMESTAMPTIMESTAMP type, represented by  LocalDateTime | 
| TIMESTAMP_WITH_TIME_ZONETIMESTAMP_WITH_TIME_ZONE type, represented by  OffsetDateTime | 
| TINYINTTINYINT type, represented by  Byte | 
| VARCHARVARCHAR type, represented by  String | 
| Modifier and Type | Method and Description | 
|---|---|
| static SqlColumnType | getById(int id)Returns the IndexType as an enum. | 
| int | getId()Gets the ID for the given  SqlColumnType. | 
| Class<?> | getValueClass()Gets the Java class of the value of this SQL type. | 
| static SqlColumnType | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static SqlColumnType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final SqlColumnType VARCHAR
Stringpublic static final SqlColumnType BOOLEAN
Booleanpublic static final SqlColumnType TINYINT
Bytepublic static final SqlColumnType SMALLINT
Shortpublic static final SqlColumnType INTEGER
Integerpublic static final SqlColumnType BIGINT
Longpublic static final SqlColumnType DECIMAL
BigDecimalpublic static final SqlColumnType REAL
Floatpublic static final SqlColumnType DOUBLE
Doublepublic static final SqlColumnType DATE
LocalDatepublic static final SqlColumnType TIME
LocalTimepublic static final SqlColumnType TIMESTAMP
LocalDateTimepublic static final SqlColumnType TIMESTAMP_WITH_TIME_ZONE
OffsetDateTimepublic static final SqlColumnType OBJECT
public static final SqlColumnType NULL
NULL literal.
 
 The only valid value of NULL type is null.
public static SqlColumnType[] values()
for (SqlColumnType c : SqlColumnType.values()) System.out.println(c);
public static SqlColumnType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static SqlColumnType getById(int id)
public int getId()
SqlColumnType.Copyright © 2021 Hazelcast, Inc.. All rights reserved.