|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jdbwc.util.PgSQLTypes
public class PgSQLTypes
PostgtreSQL types.
Field Summary | |
---|---|
static int |
BIT
|
static int |
BIT_ARRAY
|
static int |
BOOL
|
static int |
BOOL_ARRAY
|
static int |
BPCHAR
|
static int |
BPCHAR_ARRAY
|
static int |
BYTEA
|
static int |
BYTEA_ARRAY
|
static int |
CHAR
|
static int |
CHAR_ARRAY
|
static int |
DATE
|
static int |
DATE_ARRAY
|
static int |
FLOAT4
|
static int |
FLOAT4_ARRAY
|
static int |
FLOAT8
|
static int |
FLOAT8_ARRAY
|
static int |
INT2
|
static int |
INT2_ARRAY
|
static int |
INT4
|
static int |
INT4_ARRAY
|
static int |
INT8
|
static int |
INT8_ARRAY
|
static int |
INTERVAL
|
static int |
INTERVAL_ARRAY
|
protected static long |
LENGTH_BLOB
|
protected static long |
LENGTH_LONGBLOB
|
protected static long |
LENGTH_MEDIUMBLOB
|
protected static long |
LENGTH_TINYBLOB
|
protected static int |
MAX_ROWS
|
static int |
MONEY
|
static int |
MONEY_ARRAY
|
static int |
NAME
|
static int |
NAME_ARRAY
|
protected static int |
NO_CHARSET_INFO
Used to indicate that the server sent no field-level character set information, so the driver should use the connection-level character encoding instead. |
static int |
NUMERIC
|
static int |
NUMERIC_ARRAY
|
static int |
OID
|
static int |
OID_ARRAY
|
protected static byte |
OPEN_CURSOR_FLAG
|
static int |
TEXT
|
static int |
TEXT_ARRAY
|
static int |
TIME
|
static int |
TIME_ARRAY
|
static int |
TIMESTAMP
|
static int |
TIMESTAMP_ARRAY
|
static int |
TIMESTAMPTZ
|
static int |
TIMESTAMPTZ_ARRAY
|
static int |
TIMETZ
|
static int |
TIMETZ_ARRAY
|
static int |
UNSPECIFIED
|
static int |
VARBIT
|
static int |
VARBIT_ARRAY
|
static int |
VARCHAR
|
static int |
VARCHAR_ARRAY
|
static int |
VOID
|
Constructor Summary | |
---|---|
PgSQLTypes()
|
Method Summary | |
---|---|
static java.lang.String |
pgsqlNameToJdbcName(java.lang.String pgsqlType)
|
static int |
pgsqlNameToType(java.lang.String pgsqlType)
Maps the given PgSQL type name to the correct PgSQL type. |
static int |
pgsqlToJavaType(int pgsqlType)
Maps the given PgSQL type to the correct JDBC type. |
static int |
pgsqlToJavaType(java.lang.String pgsqlType)
Maps the given MySQL type to the correct JDBC type. |
static java.lang.String |
pgSqlTypeToJavaTypeName(int pgsqlType)
|
static java.lang.String |
typeToName(int pgsqlType)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int UNSPECIFIED
public static final int INT2
public static final int INT2_ARRAY
public static final int INT4
public static final int INT4_ARRAY
public static final int INT8
public static final int INT8_ARRAY
public static final int TEXT
public static final int TEXT_ARRAY
public static final int NUMERIC
public static final int NUMERIC_ARRAY
public static final int FLOAT4
public static final int FLOAT4_ARRAY
public static final int FLOAT8
public static final int FLOAT8_ARRAY
public static final int BOOL
public static final int BOOL_ARRAY
public static final int DATE
public static final int DATE_ARRAY
public static final int TIME
public static final int TIME_ARRAY
public static final int TIMETZ
public static final int TIMETZ_ARRAY
public static final int TIMESTAMP
public static final int TIMESTAMP_ARRAY
public static final int TIMESTAMPTZ
public static final int TIMESTAMPTZ_ARRAY
public static final int BYTEA
public static final int BYTEA_ARRAY
public static final int VARCHAR
public static final int VARCHAR_ARRAY
public static final int OID
public static final int OID_ARRAY
public static final int BPCHAR
public static final int BPCHAR_ARRAY
public static final int MONEY
public static final int MONEY_ARRAY
public static final int NAME
public static final int NAME_ARRAY
public static final int BIT
public static final int BIT_ARRAY
public static final int VOID
public static final int INTERVAL
public static final int INTERVAL_ARRAY
public static final int CHAR
public static final int CHAR_ARRAY
public static final int VARBIT
public static final int VARBIT_ARRAY
protected static final long LENGTH_BLOB
protected static final long LENGTH_LONGBLOB
protected static final long LENGTH_MEDIUMBLOB
protected static final long LENGTH_TINYBLOB
protected static final int MAX_ROWS
protected static final int NO_CHARSET_INFO
protected static final byte OPEN_CURSOR_FLAG
Constructor Detail |
---|
public PgSQLTypes()
Method Detail |
---|
public static java.lang.String pgsqlNameToJdbcName(java.lang.String pgsqlType)
public static int pgsqlNameToType(java.lang.String pgsqlType)
public static int pgsqlToJavaType(int pgsqlType)
public static int pgsqlToJavaType(java.lang.String pgsqlType)
public static java.lang.String typeToName(int pgsqlType)
pgsqlType
- numeric type index
public static java.lang.String pgSqlTypeToJavaTypeName(int pgsqlType)
pgsqlType
- numeric type index
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |