|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jooq.impl.FieldTypeHelper
public final class FieldTypeHelper
Utility methods related to the treatment of fields and their types
This class is for JOOQ INTERNAL USE only. Do not reference directly
| Method Summary | ||
|---|---|---|
static Class<?> |
getClass(int sqlType,
int precision,
int scale)
|
|
static
|
getDataType(SQLDialect dialect,
Class<? extends T> type)
|
|
static DataType<?> |
getDialectDataType(SQLDialect dialect,
String t,
int p,
int s)
Convert a type name (using precision and scale) into a Java class |
|
static Class<?> |
getDialectJavaType(SQLDialect dialect,
String t,
int p,
int s)
Convert a type name (using precision and scale) into a Java class |
|
static
|
getFromSQLInput(Configuration configuration,
SQLInput stream,
Field<T> field)
|
|
static
|
getFromStatement(ExecuteContext ctx,
Class<? extends T> type,
int index)
|
|
static Map<String,Class<?>> |
getTypeMapping(Class<?> udtType)
|
|
static String |
normalise(String typeName)
|
|
static
|
writeToSQLOutput(SQLOutput stream,
Class<? extends T> type,
T value)
|
|
static
|
writeToSQLOutput(SQLOutput stream,
Field<T> field,
T value)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T> T getFromSQLInput(Configuration configuration,
SQLInput stream,
Field<T> field)
throws SQLException
SQLException
public static <T> void writeToSQLOutput(SQLOutput stream,
Field<T> field,
T value)
throws SQLException
SQLException
public static <T> void writeToSQLOutput(SQLOutput stream,
Class<? extends T> type,
T value)
throws SQLException
SQLException
public static Map<String,Class<?>> getTypeMapping(Class<?> udtType)
throws SQLException
SQLException
public static <T> T getFromStatement(ExecuteContext ctx,
Class<? extends T> type,
int index)
throws SQLException
SQLException
public static Class<?> getClass(int sqlType,
int precision,
int scale)
public static <T> DataType<T> getDataType(SQLDialect dialect,
Class<? extends T> type)
public static String normalise(String typeName)
public static DataType<?> getDialectDataType(SQLDialect dialect,
String t,
int p,
int s)
throws SQLDialectNotSupportedException
SQLDialectNotSupportedException
public static Class<?> getDialectJavaType(SQLDialect dialect,
String t,
int p,
int s)
throws SQLDialectNotSupportedException
SQLDialectNotSupportedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||