org.jooq
Interface UDT<R extends UDTRecord<R>>

Type Parameters:
R - The record type
All Superinterfaces:
Adapter, Attachable, Comparable<NamedQueryPart>, FieldProvider, NamedQueryPart, QueryPart, SchemaProvider, Serializable, Type<R>
All Known Implementing Classes:
UDTImpl

public interface UDT<R extends UDTRecord<R>>
extends Type<R>

UDT definition

Author:
Lukas Eder

Method Summary
 DataType<R> getDataType()
          The UDT's data type as known to the database
 Map<String,Class<?>> getTypeMapping()
          The complete type mapping for this UDT.
 
Methods inherited from interface org.jooq.Type
getRecordType
 
Methods inherited from interface org.jooq.NamedQueryPart
getName
 
Methods inherited from interface org.jooq.Attachable
attach
 
Methods inherited from interface org.jooq.Adapter
internalAPI
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.jooq.FieldProvider
getField, getField, getField, getFields, getIndex
 
Methods inherited from interface org.jooq.SchemaProvider
getSchema
 

Method Detail

getTypeMapping

Map<String,Class<?>> getTypeMapping()
                                    throws SQLException
The complete type mapping for this UDT.

This method returns all types involved with this UDT, including nested types. The result can be used in ResultSet.getObject(int, Map) and similar methods.

Throws:
SQLException
See Also:
for the {@link Schema}'s complete type mapping

getDataType

DataType<R> getDataType()
The UDT's data type as known to the database



Copyright © 2012. All Rights Reserved.