public enum JDBCTypes extends java.lang.Enum<JDBCTypes> implements JDBCType
DatabaseType.DatabaseTypeHelper
ARGNAME_SIZE_LIMIT, COMPAT_SHORT_PREFIX, COMPAT_SUFFIX, TARGET_SHORT_PREFIX, TARGET_SUFFIX
Modifier and Type | Method and Description |
---|---|
void |
buildBeginBlock(java.lang.StringBuilder sb,
PLSQLargument arg,
PLSQLStoredProcedureCall call) |
void |
buildInDeclare(java.lang.StringBuilder sb,
PLSQLargument inArg) |
void |
buildOutAssignment(java.lang.StringBuilder sb,
PLSQLargument outArg,
PLSQLStoredProcedureCall call) |
void |
buildOutDeclare(java.lang.StringBuilder sb,
PLSQLargument outArg) |
void |
buildOutputRow(PLSQLargument outArg,
AbstractRecord outputRow,
DatabaseRecord newOutputRow,
java.util.List<DatabaseField> outputRowFields,
java.util.List outputRowValues) |
int |
computeInIndex(PLSQLargument inArg,
int newIndex,
java.util.ListIterator<PLSQLargument> i) |
int |
computeOutIndex(PLSQLargument outArg,
int newIndex,
java.util.ListIterator<PLSQLargument> i) |
static java.lang.Class<?> |
getClassForCode(int typeCode) |
int |
getConversionCode() |
static DatabaseType |
getDatabaseTypeForCode(int typeCode) |
int |
getSqlCode() |
java.lang.String |
getTypeName() |
boolean |
isComplexDatabaseType() |
boolean |
isJDBCType() |
void |
logParameter(java.lang.StringBuilder sb,
java.lang.Integer direction,
PLSQLargument arg,
AbstractRecord translationRow,
DatabasePlatform platform) |
void |
translate(PLSQLargument arg,
AbstractRecord translationRow,
AbstractRecord copyOfTranslationRow,
java.util.List<DatabaseField> copyOfTranslationFields,
java.util.List<DatabaseField> translationRowFields,
java.util.List translationRowValues,
StoredProcedureCall call) |
static JDBCTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JDBCTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JDBCTypes ARRAY_TYPE
public static final JDBCTypes BIGINT_TYPE
public static final JDBCTypes BINARY_TYPE
public static final JDBCTypes BIT_TYPE
public static final JDBCTypes BLOB_TYPE
public static final JDBCTypes BOOLEAN_TYPE
public static final JDBCTypes CHAR_TYPE
public static final JDBCTypes NCHAR_TYPE
public static final JDBCTypes CLOB_TYPE
public static final JDBCTypes DATALINK_TYPE
public static final JDBCTypes DATE_TYPE
public static final JDBCTypes DECIMAL_TYPE
public static final JDBCTypes DISTINCT_TYPE
public static final JDBCTypes DOUBLE_TYPE
public static final JDBCTypes FLOAT_TYPE
public static final JDBCTypes INTEGER_TYPE
public static final JDBCTypes JAVA_OBJECT_TYPE
public static final JDBCTypes LONGVARBINARY_TYPE
public static final JDBCTypes LONGVARCHAR_TYPE
public static final JDBCTypes NULL_TYPE
public static final JDBCTypes NUMERIC_TYPE
public static final JDBCTypes OTHER_TYPE
public static final JDBCTypes REAL_TYPE
public static final JDBCTypes REF_TYPE
public static final JDBCTypes SMALLINT_TYPE
public static final JDBCTypes STRUCT_TYPE
public static final JDBCTypes TIME_TYPE
public static final JDBCTypes TIMESTAMP_TYPE
public static final JDBCTypes TINYINT_TYPE
public static final JDBCTypes VARBINARY_TYPE
public static final JDBCTypes VARCHAR_TYPE
public static final JDBCTypes NVARCHAR_TYPE
public static final JDBCTypes NVARCHAR2_TYPE
public static JDBCTypes[] values()
for (JDBCTypes c : JDBCTypes.values()) System.out.println(c);
public static JDBCTypes valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isComplexDatabaseType()
isComplexDatabaseType
in interface DatabaseType
public boolean isJDBCType()
isJDBCType
in interface DatabaseType
public int getSqlCode()
getSqlCode
in interface DatabaseType
public int getConversionCode()
getConversionCode
in interface DatabaseType
public java.lang.String getTypeName()
getTypeName
in interface DatabaseType
public int computeInIndex(PLSQLargument inArg, int newIndex, java.util.ListIterator<PLSQLargument> i)
computeInIndex
in interface DatabaseType
public int computeOutIndex(PLSQLargument outArg, int newIndex, java.util.ListIterator<PLSQLargument> i)
computeOutIndex
in interface DatabaseType
public void buildInDeclare(java.lang.StringBuilder sb, PLSQLargument inArg)
buildInDeclare
in interface DatabaseType
public void buildOutDeclare(java.lang.StringBuilder sb, PLSQLargument outArg)
buildOutDeclare
in interface DatabaseType
public void buildBeginBlock(java.lang.StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)
buildBeginBlock
in interface DatabaseType
public void buildOutAssignment(java.lang.StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)
buildOutAssignment
in interface DatabaseType
public void translate(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, java.util.List<DatabaseField> copyOfTranslationFields, java.util.List<DatabaseField> translationRowFields, java.util.List translationRowValues, StoredProcedureCall call)
translate
in interface DatabaseType
public void buildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, java.util.List<DatabaseField> outputRowFields, java.util.List outputRowValues)
buildOutputRow
in interface DatabaseType
public void logParameter(java.lang.StringBuilder sb, java.lang.Integer direction, PLSQLargument arg, AbstractRecord translationRow, DatabasePlatform platform)
logParameter
in interface DatabaseType
public static DatabaseType getDatabaseTypeForCode(int typeCode)
public static java.lang.Class<?> getClassForCode(int typeCode)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference