public static class PostgresTypes.PostgresType extends Object implements io.r2dbc.spi.Type, PostgresTypeIdentifier
| Constructor and Description |
|---|
PostgresType(int oid,
long unsignedOid,
int typarray,
long unsignedTyparray,
String name,
String category) |
| Modifier and Type | Method and Description |
|---|---|
PostgresTypes.PostgresType |
asArrayType()
Return the type as array type.
|
boolean |
equals(Object o) |
int |
getArrayObjectId() |
Class<?> |
getJavaType() |
String |
getName() |
int |
getObjectId()
Postgres type identifier.
|
int |
getOid() |
long |
getUnsignedArrayObjectId() |
long |
getUnsignedObjectId() |
int |
hashCode() |
boolean |
isArray() |
boolean |
isBitString() |
boolean |
isBoolean() |
boolean |
isComposite() |
boolean |
isDateTime() |
boolean |
isEnum() |
boolean |
isGeometric() |
boolean |
isNetworkAddress() |
boolean |
isNumeric() |
boolean |
isPseudo() |
boolean |
isString() |
boolean |
isTimespan() |
boolean |
isUnknown() |
boolean |
isUserDefinedType() |
String |
toString() |
public int getObjectId()
PostgresTypeIdentifiergetObjectId in interface PostgresTypeIdentifierpublic PostgresTypes.PostgresType asArrayType()
public int getOid()
public Class<?> getJavaType()
getJavaType in interface io.r2dbc.spi.Typepublic int getArrayObjectId()
public long getUnsignedObjectId()
public long getUnsignedArrayObjectId()
public String getName()
getName in interface io.r2dbc.spi.Typepublic boolean isArray()
true if the type is an array type (category code A)public boolean isBoolean()
true if the type is a boolean type (category code B)public boolean isComposite()
true if the type is a composite type (category code C)public boolean isDateTime()
true if the type is a date/time type (category code D)public boolean isEnum()
true if the type is an enum type (category code E)public boolean isGeometric()
true if the type is a geometric type (category code G)public boolean isNetworkAddress()
true if the type is a network address type (category code I)public boolean isNumeric()
true if the type is a numeric type (category code N)public boolean isPseudo()
true if the type is a pseudo-type (category code P)public boolean isString()
true if the type is a string type (category code S)public boolean isTimespan()
true if the type is a timespan type (category code T)public boolean isUserDefinedType()
true if the type is a user-defined type (category code U)public boolean isBitString()
true if the type is a bit-string type (category code V)public boolean isUnknown()
true if the type is an unknown type (category code X)Copyright © 2024. All rights reserved.