public class PostgresType extends Object
| Modifier and Type | Field and Description |
|---|---|
private PostgresType |
elementType |
private int |
jdbcId |
private String |
name |
private int |
oid |
private org.postgresql.core.TypeInfo |
typeInfo |
static PostgresType |
UNKNOWN |
| Constructor and Description |
|---|
PostgresType(String name,
int oid,
int jdbcId,
org.postgresql.core.TypeInfo typeInfo) |
PostgresType(String name,
int oid,
int jdbcId,
org.postgresql.core.TypeInfo typeInfo,
PostgresType elementType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getDefaultLength() |
int |
getDefaultScale() |
PostgresType |
getElementType() |
int |
getJdbcId() |
String |
getName() |
int |
getOid() |
org.postgresql.core.TypeInfo |
getTypeInfo()
Get the underlying postgres type information object
|
int |
hashCode() |
boolean |
isArrayType() |
int |
length(int modifier) |
int |
scale(int modifier) |
String |
toString() |
public static final PostgresType UNKNOWN
private final String name
private final int oid
private final int jdbcId
private final PostgresType elementType
private final org.postgresql.core.TypeInfo typeInfo
public PostgresType(String name, int oid, int jdbcId, org.postgresql.core.TypeInfo typeInfo)
public PostgresType(String name, int oid, int jdbcId, org.postgresql.core.TypeInfo typeInfo, PostgresType elementType)
public boolean isArrayType()
public String getName()
public int getOid()
public int getJdbcId()
public PostgresType getElementType()
public int getDefaultLength()
public int getDefaultScale()
public int length(int modifier)
modifier - - type modifier coming from decoderpublic org.postgresql.core.TypeInfo getTypeInfo()
public int scale(int modifier)
modifier - - type modifier coming from decoderCopyright © 2019 JBoss by Red Hat. All rights reserved.