Package org.teiid.odbc
Class PGUtil
- java.lang.Object
-
- org.teiid.odbc.PGUtil
-
public class PGUtil extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PGUtil.PgColInfo
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PGUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
convertType(int type, String typeName)
Types.ARRAY is not supported
-
-
-
Field Detail
-
PG_TYPE_UNSPECIFIED
public static final int PG_TYPE_UNSPECIFIED
- See Also:
- Constant Field Values
-
PG_TYPE_VARCHAR
public static final int PG_TYPE_VARCHAR
- See Also:
- Constant Field Values
-
PG_TYPE_BOOL
public static final int PG_TYPE_BOOL
- See Also:
- Constant Field Values
-
PG_TYPE_BYTEA
public static final int PG_TYPE_BYTEA
- See Also:
- Constant Field Values
-
PG_TYPE_CHAR
public static final int PG_TYPE_CHAR
- See Also:
- Constant Field Values
-
PG_TYPE_BPCHAR
public static final int PG_TYPE_BPCHAR
- See Also:
- Constant Field Values
-
PG_TYPE_INT8
public static final int PG_TYPE_INT8
- See Also:
- Constant Field Values
-
PG_TYPE_INT2
public static final int PG_TYPE_INT2
- See Also:
- Constant Field Values
-
PG_TYPE_INT4
public static final int PG_TYPE_INT4
- See Also:
- Constant Field Values
-
PG_TYPE_TEXT
public static final int PG_TYPE_TEXT
- See Also:
- Constant Field Values
-
PG_TYPE_XML
public static final int PG_TYPE_XML
- See Also:
- Constant Field Values
-
PG_TYPE_FLOAT4
public static final int PG_TYPE_FLOAT4
- See Also:
- Constant Field Values
-
PG_TYPE_FLOAT8
public static final int PG_TYPE_FLOAT8
- See Also:
- Constant Field Values
-
PG_TYPE_UNKNOWN
public static final int PG_TYPE_UNKNOWN
- See Also:
- Constant Field Values
-
PG_TYPE_GEOMETRY
public static final int PG_TYPE_GEOMETRY
- See Also:
- Constant Field Values
-
PG_TYPE_GEOMETRYARRAY
public static final int PG_TYPE_GEOMETRYARRAY
- See Also:
- Constant Field Values
-
PG_TYPE_GEOGRAPHY
public static final int PG_TYPE_GEOGRAPHY
- See Also:
- Constant Field Values
-
PG_TYPE_GEOGRAPHYARRAY
public static final int PG_TYPE_GEOGRAPHYARRAY
- See Also:
- Constant Field Values
-
PG_TYPE_JSON
public static final int PG_TYPE_JSON
- See Also:
- Constant Field Values
-
PG_TYPE_JSONARRAY
public static final int PG_TYPE_JSONARRAY
- See Also:
- Constant Field Values
-
PG_TYPE_OIDVECTOR
public static final int PG_TYPE_OIDVECTOR
- See Also:
- Constant Field Values
-
PG_TYPE_INT2VECTOR
public static final int PG_TYPE_INT2VECTOR
- See Also:
- Constant Field Values
-
PG_TYPE_OIDARRAY
public static final int PG_TYPE_OIDARRAY
- See Also:
- Constant Field Values
-
PG_TYPE_CHARARRAY
public static final int PG_TYPE_CHARARRAY
- See Also:
- Constant Field Values
-
PG_TYPE_TEXTARRAY
public static final int PG_TYPE_TEXTARRAY
- See Also:
- Constant Field Values
-
PG_TYPE_DATE
public static final int PG_TYPE_DATE
- See Also:
- Constant Field Values
-
PG_TYPE_TIME
public static final int PG_TYPE_TIME
- See Also:
- Constant Field Values
-
PG_TYPE_TIMESTAMP_NO_TMZONE
public static final int PG_TYPE_TIMESTAMP_NO_TMZONE
- See Also:
- Constant Field Values
-
PG_TYPE_NUMERIC
public static final int PG_TYPE_NUMERIC
- See Also:
- Constant Field Values
-
PG_TYPE_BOOLARRAY
public static final int PG_TYPE_BOOLARRAY
- See Also:
- Constant Field Values
-
PG_TYPE_BYTEAARRAY
public static final int PG_TYPE_BYTEAARRAY
- See Also:
- Constant Field Values
-
PG_TYPE_INT8ARRAY
public static final int PG_TYPE_INT8ARRAY
- See Also:
- Constant Field Values
-
PG_TYPE_INT2ARRAY
public static final int PG_TYPE_INT2ARRAY
- See Also:
- Constant Field Values
-
PG_TYPE_INT4ARRAY
public static final int PG_TYPE_INT4ARRAY
- See Also:
- Constant Field Values
-
PG_TYPE_FLOAT4ARRAY
public static final int PG_TYPE_FLOAT4ARRAY
- See Also:
- Constant Field Values
-
PG_TYPE_FLOAT8ARRAY
public static final int PG_TYPE_FLOAT8ARRAY
- See Also:
- Constant Field Values
-
PG_TYPE_DATEARRAY
public static final int PG_TYPE_DATEARRAY
- See Also:
- Constant Field Values
-
PG_TYPE_TIMEARRAY
public static final int PG_TYPE_TIMEARRAY
- See Also:
- Constant Field Values
-
PG_TYPE_TIMESTAMP_NO_TMZONEARRAY
public static final int PG_TYPE_TIMESTAMP_NO_TMZONEARRAY
- See Also:
- Constant Field Values
-
PG_TYPE_NUMERICARRAY
public static final int PG_TYPE_NUMERICARRAY
- See Also:
- Constant Field Values
-
PG_TYPE_XMLARRAY
public static final int PG_TYPE_XMLARRAY
- See Also:
- Constant Field Values
-
-
Method Detail
-
convertType
public static int convertType(int type, String typeName)
Types.ARRAY is not supported
-
-