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
 Class<? extends R> getRecordType()
           
 Schema getSchema()
          Get the UDT schema
 Map<String,Class<?>> getTypeMapping()
          Deprecated. - 2.3.0 - Do not reuse this method. It will be moved to jOOQ's internals, soon
 
Methods inherited from interface org.jooq.NamedQueryPart
getName
 
Methods inherited from interface org.jooq.QueryPart
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
 

Method Detail

getSchema

Schema getSchema()
Get the UDT schema

Specified by:
getSchema in interface SchemaProvider
Returns:
The contained schema

getRecordType

Class<? extends R> getRecordType()
Specified by:
getRecordType in interface Type<R extends UDTRecord<R>>
Returns:
The record type produced by this table

getTypeMapping

@Deprecated
Map<String,Class<?>> getTypeMapping()
                                    throws SQLException
Deprecated. - 2.3.0 - Do not reuse this method. It will be moved to jOOQ's internals, soon

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.