public class CompositeType extends Type
Modifier and Type | Class and Description |
---|---|
static class |
CompositeType.Attribute
An attribute of the composite type.
|
Type.Category, Type.Codec
Constructor and Description |
---|
CompositeType() |
CompositeType(int id,
String name,
int arrayTypeId,
Procs procs) |
CompositeType(int id,
String name,
int arrayTypeId,
String procName,
Procs procs) |
Modifier and Type | Method and Description |
---|---|
CompositeType.Attribute |
getAttribute(int number) |
List<CompositeType.Attribute> |
getAttributes() |
Class<?> |
getJavaType(ResultField.Format format,
Map<String,Class<?>> customizations) |
boolean |
isParameterFormatSupported(ResultField.Format format) |
boolean |
isResultFormatSupported(ResultField.Format format) |
void |
load(PgType.Row pgType,
Collection<PgAttribute.Row> pgAttrs,
Registry registry)
Load this type from a "pg_type" table entry and, if available, a
collection of "pg_attribute" table entries.
|
void |
setAttributes(List<CompositeType.Attribute> attributes) |
equals, getAlignment, getAlignment, getArrayTypeId, getBinaryCodec, getCategory, getCodec, getDelimeter, getId, getLength, getModifierParser, getName, getNamespace, getParameterFormat, getPreferredFormat, getPrimitiveType, getRelationId, getResultFormat, getTextCodec, hashCode, setAlignment, setArrayTypeId, setBinaryCodec, setCategory, setDelimeter, setId, setLength, setModifierParser, setName, setNamespace, setRelationId, setTextCodec, toString, unwrap
public CompositeType(int id, String name, int arrayTypeId, String procName, Procs procs)
public CompositeType()
public CompositeType.Attribute getAttribute(int number)
public List<CompositeType.Attribute> getAttributes()
public void setAttributes(List<CompositeType.Attribute> attributes)
public boolean isParameterFormatSupported(ResultField.Format format)
isParameterFormatSupported
in class Type
public boolean isResultFormatSupported(ResultField.Format format)
isResultFormatSupported
in class Type
public Class<?> getJavaType(ResultField.Format format, Map<String,Class<?>> customizations)
getJavaType
in class Type
public void load(PgType.Row pgType, Collection<PgAttribute.Row> pgAttrs, Registry registry)
Type
Copyright © 2013-2015 impossibl.com. All Rights Reserved.