public class DomainType extends Type
Type.Category, Type.Codec
Constructor and Description |
---|
DomainType() |
Modifier and Type | Method and Description |
---|---|
Type |
getBase() |
String |
getDefaultValue() |
Map<String,Object> |
getModifiers() |
int |
getNumberOfDimensions() |
PrimitiveType |
getPrimitiveType() |
boolean |
isNullable() |
boolean |
isParameterFormatSupported(ResultField.Format format) |
boolean |
isResultFormatSupported(ResultField.Format format) |
void |
load(PgType.Row source,
Collection<PgAttribute.Row> attrs,
Registry registry)
Load this type from a "pg_type" table entry and, if available, a
collection of "pg_attribute" table entries.
|
void |
setBase(Type base) |
void |
setDefaultValue(String defaultValue) |
void |
setModifiers(Map<String,Object> modifiers) |
void |
setNullable(boolean nullable) |
void |
setNumberOfDimensions(int numberOfDimensions) |
Type |
unwrap()
Strips all "wrapping" type (e.g.
|
equals, getAlignment, getAlignment, getArrayTypeId, getBinaryCodec, getCategory, getCodec, getDelimeter, getId, getJavaType, getLength, getModifierParser, getName, getNamespace, getParameterFormat, getPreferredFormat, getRelationId, getResultFormat, getTextCodec, hashCode, setAlignment, setArrayTypeId, setBinaryCodec, setCategory, setDelimeter, setId, setLength, setModifierParser, setName, setNamespace, setRelationId, setTextCodec, toString
public Type getBase()
public void setBase(Type base)
public boolean isNullable()
public void setNullable(boolean nullable)
public boolean isParameterFormatSupported(ResultField.Format format)
isParameterFormatSupported
in class Type
public boolean isResultFormatSupported(ResultField.Format format)
isResultFormatSupported
in class Type
public PrimitiveType getPrimitiveType()
getPrimitiveType
in class Type
public int getNumberOfDimensions()
public void setNumberOfDimensions(int numberOfDimensions)
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
public Type unwrap()
Type
public void load(PgType.Row source, Collection<PgAttribute.Row> attrs, Registry registry)
Type
Copyright © 2013-2015 impossibl.com. All Rights Reserved.