Class SqlTypes
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeARRAY.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBIGINT.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBINARY.static final intOracle BINARY_DOUBLEstatic final Stringstatic final intOracle BINARY_FLOATstatic final Stringstatic final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBIT.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBLOB.static final Stringstatic final intThe constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL typeBOOLEAN.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeCHAR.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeCLOB.static final Stringstatic final intThe constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL typeDATALINK.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDATE.static final Stringstatic final intMSSQL DateTimeOffsetstatic final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDECIMAL.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDISTINCT.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDOUBLE.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeFLOAT.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeINTEGER.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeJAVA_OBJECT.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeLONGNVARCHAR.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeLONGVARBINARY.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeLONGVARCHAR.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNCHARstatic final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNCLOB.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNULL.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNUMERIC.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNVARCHAR.static final Stringstatic final intThe constant in the Java programming language that indicates that the SQL type is database-specific and gets mapped to a Java object that can be accessed via the methodsgetObjectandsetObject.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeREAL.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeREF.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeROWIDstatic final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeSMALLINT.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeXML.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeSTRUCT.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTIME.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTIMESTAMP.static final Stringstatic final intOracle Timestamp with Local Timezonestatic final Stringstatic final intOracle Timestamp with Timezonestatic final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTINYINT.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeVARBINARY.static final Stringstatic final intThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeVARCHAR.static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringbooleanstatic booleanstatic booleanisDateLikeType(Integer type) booleanisFloatingPoint(Integer type) static booleanbooleanstatic booleanisNumerical(Integer type) static booleanstatic booleanstatic booleanisTimeStamp(Integer type)
-
Field Details
-
BIT
public static final int BITThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
BIT.- See Also:
-
BIT_NAME
- See Also:
-
TINYINT
public static final int TINYINTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
TINYINT.- See Also:
-
TINYINT_NAME
- See Also:
-
SMALLINT
public static final int SMALLINTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
SMALLINT.- See Also:
-
SMALLINT_NAME
- See Also:
-
INTEGER
public static final int INTEGERThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
INTEGER.- See Also:
-
INTEGER_NAME
- See Also:
-
BIGINT
public static final int BIGINTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
BIGINT.- See Also:
-
BIGINT_NAME
- See Also:
-
FLOAT
public static final int FLOATThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
FLOAT.- See Also:
-
FLOAT_NAME
- See Also:
-
REAL
public static final int REALThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
REAL.- See Also:
-
REAL_NAME
- See Also:
-
DOUBLE
public static final int DOUBLEThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
DOUBLE.- See Also:
-
DOUBLE_NAME
- See Also:
-
NUMERIC
public static final int NUMERICThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
NUMERIC.- See Also:
-
NUMERIC_NAME
- See Also:
-
DECIMAL
public static final int DECIMALThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
DECIMAL.- See Also:
-
DECIMAL_NAME
- See Also:
-
CHAR
public static final int CHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
CHAR.- See Also:
-
CHAR_NAME
- See Also:
-
VARCHAR
public static final int VARCHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
VARCHAR.- See Also:
-
VARCHAR_NAME
- See Also:
-
LONGVARCHAR
public static final int LONGVARCHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
LONGVARCHAR.- See Also:
-
LONGVARCHAR_NAME
- See Also:
-
DATE
public static final int DATEThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
DATE.- See Also:
-
DATE_NAME
- See Also:
-
TIME
public static final int TIMEThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
TIME.- See Also:
-
TIME_NAME
- See Also:
-
TIMESTAMP
public static final int TIMESTAMPThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
TIMESTAMP.- See Also:
-
TIMESTAMP_NAME
- See Also:
-
BINARY
public static final int BINARYThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
BINARY.- See Also:
-
BINARY_NAME
- See Also:
-
VARBINARY
public static final int VARBINARYThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
VARBINARY.- See Also:
-
VARBINARY_NAME
- See Also:
-
LONGVARBINARY
public static final int LONGVARBINARYThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
LONGVARBINARY.- See Also:
-
LONGVARBINARY_NAME
- See Also:
-
NULL
public static final int NULLThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
NULL.- See Also:
-
NULL_NAME
- See Also:
-
OTHER
public static final int OTHERThe constant in the Java programming language that indicates that the SQL type is database-specific and gets mapped to a Java object that can be accessed via the methodsgetObjectandsetObject.- See Also:
-
OTHER_NAME
- See Also:
-
JAVA_OBJECT
public static final int JAVA_OBJECTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeJAVA_OBJECT.- Since:
- 1.2
- See Also:
-
JAVA_OBJECT_NAME
- See Also:
-
DISTINCT
public static final int DISTINCTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDISTINCT.- Since:
- 1.2
- See Also:
-
DISTINCT_NAME
- See Also:
-
STRUCT
public static final int STRUCTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeSTRUCT.- Since:
- 1.2
- See Also:
-
STRUCT_NAME
- See Also:
-
ARRAY
public static final int ARRAYThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeARRAY.- Since:
- 1.2
- See Also:
-
ARRAY_NAME
- See Also:
-
BLOB
public static final int BLOBThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBLOB.- Since:
- 1.2
- See Also:
-
BLOB_NAME
- See Also:
-
CLOB
public static final int CLOBThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeCLOB.- Since:
- 1.2
- See Also:
-
CLOB_NAME
- See Also:
-
REF
public static final int REFThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeREF.- Since:
- 1.2
- See Also:
-
REF_NAME
- See Also:
-
DATALINK
public static final int DATALINKThe constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL typeDATALINK.- Since:
- 1.4
- See Also:
-
DATALINK_NAME
- See Also:
-
BOOLEAN
public static final int BOOLEANThe constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL typeBOOLEAN.- Since:
- 1.4
- See Also:
-
BOOLEAN_NAME
- See Also:
-
ROWID
public static final int ROWIDThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeROWID- Since:
- 1.6
- See Also:
-
ROWID_NAME
- See Also:
-
NCHAR
public static final int NCHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNCHAR- Since:
- 1.6
- See Also:
-
NCHAR_NAME
- See Also:
-
NVARCHAR
public static final int NVARCHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNVARCHAR.- Since:
- 1.6
- See Also:
-
NVARCHAR_NAME
- See Also:
-
LONGNVARCHAR
public static final int LONGNVARCHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeLONGNVARCHAR.- Since:
- 1.6
- See Also:
-
LONGNVARCHAR_NAME
- See Also:
-
NCLOB
public static final int NCLOBThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNCLOB.- Since:
- 1.6
- See Also:
-
NCLOB_NAME
- See Also:
-
SQLXML
public static final int SQLXMLThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeXML.- Since:
- 1.6
- See Also:
-
SQLXML_NAME
- See Also:
-
TIMESTAMPTZ
public static final int TIMESTAMPTZOracle Timestamp with Timezone- See Also:
-
TIMESTAMPTZ_NAME
- See Also:
-
TIMESTAMPLTZ
public static final int TIMESTAMPLTZOracle Timestamp with Local Timezone- See Also:
-
TIMESTAMPLTZ_NAME
- See Also:
-
BINARY_DOUBLE
public static final int BINARY_DOUBLEOracle BINARY_DOUBLE- See Also:
-
BINARY_DOUBLE_NAME
- See Also:
-
BINARY_FLOAT
public static final int BINARY_FLOATOracle BINARY_FLOAT- See Also:
-
BINARY_FLOAT_NAME
- See Also:
-
DATE_TIME_OFFSET
public static final int DATE_TIME_OFFSETMSSQL DateTimeOffset- See Also:
-
DATE_TIME_OFFSET_NAME
- See Also:
-
-
Constructor Details
-
SqlTypes
public SqlTypes()
-
-
Method Details
-
getName
-
isString
-
isNumerical
-
isInteger
-
isDateLikeType
-
isTimeStamp
-
isTime
-
isDate
-
isFloatingPoint
-
isLob
-
isBinary
-