public enum Type extends Enum<Type>
| Modifier and Type | Method and Description |
|---|---|
Type |
getElementType() |
String |
getName() |
long |
getOid() |
boolean |
isPGArray() |
void |
setElementType(Type elementType) |
void |
setName(String name) |
void |
setOid(long oid) |
static Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type INT2
public static final Type INT2_ARRAY
public static final Type INT4
public static final Type INT4_ARRAY
public static final Type OID
public static final Type OID_ARRAY
public static final Type INT8
public static final Type INT8_ARRAY
public static final Type MONEY
public static final Type MONEY_ARRAY
public static final Type NUMERIC
public static final Type NUMERIC_ARRAY
public static final Type FLOAT4
public static final Type FLOAT4_ARRAY
public static final Type FLOAT8
public static final Type FLOAT8_ARRAY
public static final Type CHAR
public static final Type CHAR_ARRAY
public static final Type BPCHAR
public static final Type BPCHAR_ARRAY
public static final Type VARCHAR
public static final Type VARCHAR_ARRAY
public static final Type TEXT
public static final Type TEXT_ARRAY
public static final Type NAME
public static final Type NAME_ARRAY
public static final Type BYTEA
public static final Type BYTEA_ARRAY
public static final Type BOOL
public static final Type BOOL_ARRAY
public static final Type BIT
public static final Type BIT_ARRAY
public static final Type DATE
public static final Type DATE_ARRAY
public static final Type TIME
public static final Type TIME_ARRAY
public static final Type TIMETZ
public static final Type TIMETZ_ARRAY
public static final Type TIMESTAMP
public static final Type TIMESTAMP_ARRAY
public static final Type TIMESTAMPTZ
public static final Type TIMESTAMPTZ_ARRAY
public static final Type GEOMETRY
public static final Type GEOMETRY_ARRAY
public static final Type BOX3D
public static final Type BOX3D_ARRAY
public static final Type BOX2D
public static final Type BOX2D_ARRAY
public static Type[] values()
for (Type c : Type.values()) System.out.println(c);
public static Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic long getOid()
public void setOid(long oid)
public String getName()
public void setName(String name)
public Type getElementType()
public void setElementType(Type elementType)
public boolean isPGArray()
Copyright © 2017 The CLARUS Consortium. All rights reserved.