Package | Description |
---|---|
org.jooq |
The
org.jooq package contains jOOQ's public API
This package mostly contains interfaces that are implemented by the
org.jooq.impl package. |
org.jooq.impl |
The
org.jooq.impl package contains jOOQ's implementation classes
This package provides implementations for the jOOQ API from
org.jooq , whose interfaces are constructed mostly through the
Factory class, which hides implementation facts from
the public API |
org.jooq.util.ase |
The
org.jooq.util.ase package contains classes related to the
SQLDialect.CUBRID dialect |
org.jooq.util.cubrid |
The
org.jooq.util.ase package contains classes related to the
SQLDialect.ASE dialect |
org.jooq.util.db2 |
The
org.jooq.util.ase package contains classes related to the
SQLDialect.DB2 dialect |
org.jooq.util.derby |
The
org.jooq.util.ase package contains classes related to the
SQLDialect.DERBY dialect |
org.jooq.util.firebird |
The
org.jooq.util.ase package contains classes related to the
SQLDialect.FIREBIRD dialect |
org.jooq.util.h2 |
The
org.jooq.util.ase package contains classes related to the
SQLDialect.H2 dialect |
org.jooq.util.hsqldb |
The
org.jooq.util.ase package contains classes related to the
SQLDialect.HSQLDB dialect |
org.jooq.util.ingres |
The
org.jooq.util.ase package contains classes related to the
SQLDialect.INGRES dialect |
org.jooq.util.mysql |
The
org.jooq.util.ase package contains classes related to the
SQLDialect.ORACLE dialect |
org.jooq.util.oracle |
The
org.jooq.util.ase package contains classes related to the
SQLDialect.MYSQL dialect |
org.jooq.util.postgres |
The
org.jooq.util.ase package contains classes related to the
SQLDialect.POSTGRES dialect |
org.jooq.util.sqlite |
The
org.jooq.util.ase package contains classes related to the
SQLDialect.SQLITE dialect |
org.jooq.util.sqlserver |
The
org.jooq.util.ase package contains classes related to the
SQLDialect.SQLSERVER dialect |
org.jooq.util.sybase |
The
org.jooq.util.ase package contains classes related to the
SQLDialect.SYBASE dialect |
Modifier and Type | Method and Description |
---|---|
<A extends ArrayRecord<T>> |
DataType.asArrayDataType(Class<A> arrayDataType)
Retrieve the data type for an Oracle-style ARRAY of this data type
|
<U> DataType<U> |
DataType.asConvertedDataType(Converter<? super T,U> converter)
Retrieve the data type for a given converter
|
<E extends EnumType> |
DataType.asEnumDataType(Class<E> enumDataType)
Retrieve the data type for a given enum data type
|
<M extends MasterDataType<T>> |
DataType.asMasterDataType(Class<M> masterDataType)
Deprecated.
- 2.5.0 [#1741] - This feature will be removed as of jOOQ 3.0
|
DataType<T[]> |
DataType.getArrayDataType()
Retrieve the data type for an ARRAY of this data type
|
DataType<R> |
UDT.getDataType()
The UDT's data type as known to the database
|
DataType<T> |
Sequence.getDataType()
Get the sequence data type
|
DataType<T> |
Parameter.getDataType()
The type of this parameter (might not be dialect-specific)
|
DataType<T> |
NamedTypeProviderQueryPart.getDataType()
Deprecated.
The type of this object (might not be dialect-specific)
|
DataType<T> |
Field.getDataType()
The type of this field (might not be dialect-specific)
|
DataType<E> |
ArrayRecord.getDataType()
Get the data type of the array type
|
DataType<T> |
Parameter.getDataType(Configuration configuration)
The dialect-specific type of this parameter
|
DataType<T> |
NamedTypeProviderQueryPart.getDataType(Configuration configuration)
Deprecated.
The dialect-specific type of this object
|
DataType<T> |
Field.getDataType(Configuration configuration)
The dialect-specific type of this field
|
DataType<T> |
DataType.getDataType(Configuration configuration)
The dialect-specific data type representing this data type.
|
Modifier and Type | Method and Description |
---|---|
<Z> Field<Z> |
Field.cast(DataType<Z> type)
Cast this field to a dialect-specific data type.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDataType<T>
A common base class for data types.
|
class |
SQLDataType<T>
The SQL standard data types, as described in
Types . |
Modifier and Type | Method and Description |
---|---|
<A extends ArrayRecord<T>> |
AbstractDataType.asArrayDataType(Class<A> arrayDataType) |
<U> DataType<U> |
AbstractDataType.asConvertedDataType(Converter<? super T,U> converter) |
<E extends EnumType> |
AbstractDataType.asEnumDataType(Class<E> enumDataType) |
<M extends MasterDataType<T>> |
AbstractDataType.asMasterDataType(Class<M> masterDataType) |
DataType<T[]> |
AbstractDataType.getArrayDataType() |
DataType<R> |
UDTImpl.getDataType() |
DataType<T> |
SequenceImpl.getDataType() |
DataType<T> |
ArrayRecordImpl.getDataType() |
static <T> DataType<T> |
Factory.getDataType(Class<? extends T> type)
Get the default data type for the
Factory 's underlying
SQLDialect and a given Java type. |
DataType<T> |
AbstractDataType.getDataType(Configuration configuration) |
static <T> DataType<T> |
FieldTypeHelper.getDataType(SQLDialect dialect,
Class<? extends T> type) |
protected static <T> DataType<T> |
AbstractDataType.getDataType(SQLDialect dialect,
Class<? extends T> type) |
protected static DataType<?> |
AbstractDataType.getDataType(SQLDialect dialect,
String typeName) |
protected static DataType<Object> |
AbstractDataType.getDefaultDataType(SQLDialect dialect,
String typeName) |
static DataType<?> |
FieldTypeHelper.getDialectDataType(SQLDialect dialect,
String t,
int p,
int s)
Convert a type name (using precision and scale) into a Java class
|
protected static <T> DataType<T> |
Factory.nullSafeDataType(Field<T> field)
Get a default data type if a field is null
|
Modifier and Type | Method and Description |
---|---|
static <T> Field<T> |
Factory.cast(Object value,
DataType<T> type)
Cast a value to another type
|
static <T> Field<T> |
Factory.castNull(DataType<T> type)
Cast null to a type
|
protected static <R extends UDTRecord<R>,T> |
UDTImpl.createField(String name,
DataType<T> type,
UDT<R> udt)
Subclasses may call this method to create
UDTField objects that
are linked to this table. |
protected static <T> Parameter<T> |
AbstractRoutine.createParameter(String name,
DataType<T> type)
Subclasses may call this method to create
UDTField objects that
are linked to this table. |
protected static <T> Parameter<T> |
AbstractRoutine.createParameter(String name,
DataType<T> type,
boolean isDefaulted)
Subclasses may call this method to create
UDTField objects that
are linked to this table. |
static <T> Field<T> |
Factory.field(String sql,
DataType<T> type)
A PlainSQLField is a field that can contain user-defined plain SQL,
because sometimes it is easier to express things directly in SQL, for
instance complex proprietary functions.
|
static <T> Field<T> |
Factory.field(String sql,
DataType<T> type,
Object... bindings)
A PlainSQLField is a field that can contain user-defined plain SQL,
because sometimes it is easier to express things directly in SQL, for
instance complex proprietary functions.
|
static <T> Field<T> |
Factory.field(String sql,
DataType<T> type,
QueryPart... parts)
A custom SQL clause that can render arbitrary SQL elements.
|
static <T> Field<T> |
Factory.fieldByName(DataType<T> type,
String... qualifiedName)
Create a qualified field, given its (qualified) field name.
|
static <T> Field<T> |
Factory.function(String name,
DataType<T> type,
Field<?>... arguments)
function() can be used to access native functions that are
not yet or insufficiently supported by jOOQ
NOTE: When inserting plain SQL into jOOQ objects, you must
guarantee syntax integrity. |
static <T> Param<T> |
Factory.inline(Object value,
DataType<T> type)
Create a bind value, that is always inlined.
|
static <T> Field<T> |
Factory.literal(Object literal,
DataType<T> type)
Deprecated.
- 2.3.0 - Use
Factory.field(String, DataType) , or
Factory.inline(Object, DataType) instead. |
static <T> Param<T> |
Factory.param(String name,
DataType<T> type)
Create a named parameter with a defined type and no initial value.
|
static <T> Field<T> |
Factory.val(Object value,
DataType<T> type)
Get a bind value with an associated type
This will try to bind
value as type in a
PreparedStatement . |
static <T> Field<T> |
Factory.value(Object value,
DataType<T> type)
A synonym for
Factory.val(Object, DataType) to be used in Scala and Groovy, where
val is a reserved keyword. |
Constructor and Description |
---|
AbstractRoutine(SQLDialect dialect,
String name,
Schema schema,
DataType<T> type)
Deprecated.
- 2.1.0 [#625] - Regenerate your schema
|
AbstractRoutine(SQLDialect dialect,
String name,
Schema schema,
Package pkg,
DataType<T> type)
Deprecated.
- 2.1.0 [#625] - Regenerate your schema
|
AbstractRoutine(String name,
Schema schema,
DataType<T> type) |
AbstractRoutine(String name,
Schema schema,
Package pkg,
DataType<T> type) |
ArrayRecordImpl(Schema schema,
String name,
DataType<T> type)
Create an empty array record
|
ArrayRecordImpl(Schema schema,
String name,
DataType<T> type,
Configuration configuration)
Create an empty array record
|
ArrayRecordImpl(String name,
DataType<T> type)
Deprecated.
- 2.0.5 [#1179] - Please regenerate your schema and use
ArrayRecordImpl.ArrayRecordImpl(Schema, String, DataType) instead |
ArrayRecordImpl(String name,
DataType<T> type,
Configuration configuration)
Deprecated.
- 2.0.5 [#1179] - Please regenerate your schema and use
ArrayRecordImpl.ArrayRecordImpl(Schema, String, DataType, Configuration)
instead |
CustomField(String name,
DataType<T> type) |
SequenceImpl(String name,
Schema schema,
DataType<T> type) |
Modifier and Type | Class and Description |
---|---|
class |
ASEDataType<T>
Supported data types for the
SQLDialect.ASE dialect |
Modifier and Type | Method and Description |
---|---|
static <T> DataType<T> |
ASEDataType.getDataType(Class<? extends T> type) |
static DataType<Object> |
ASEDataType.getDefaultDataType(String typeName) |
Modifier and Type | Class and Description |
---|---|
class |
CUBRIDDataType<T>
Supported data types for the
SQLDialect.CUBRID dialect |
Modifier and Type | Method and Description |
---|---|
static <T> DataType<T> |
CUBRIDDataType.getDataType(Class<? extends T> type) |
static DataType<Object> |
CUBRIDDataType.getDefaultDataType(String typeName) |
Modifier and Type | Class and Description |
---|---|
class |
DB2DataType<T>
Supported data types for the
SQLDialect.DB2 dialect |
Modifier and Type | Method and Description |
---|---|
static <T> DataType<T> |
DB2DataType.getDataType(Class<? extends T> type) |
static DataType<Object> |
DB2DataType.getDefaultDataType(String typeName) |
Modifier and Type | Class and Description |
---|---|
class |
DerbyDataType<T>
Supported data types for the
SQLDialect.DERBY dialect |
Modifier and Type | Method and Description |
---|---|
static <T> DataType<T> |
DerbyDataType.getDataType(Class<? extends T> type) |
static DataType<Object> |
DerbyDataType.getDefaultDataType(String typeName) |
Modifier and Type | Class and Description |
---|---|
class |
FirebirdDataType<T>
Supported data types for the
SQLDialect.FIREBIRD dialect |
Modifier and Type | Method and Description |
---|---|
static <T> DataType<T> |
FirebirdDataType.getDataType(Class<? extends T> type) |
static DataType<Object> |
FirebirdDataType.getDefaultDataType(String typeName) |
Modifier and Type | Class and Description |
---|---|
class |
H2DataType<T>
Supported data types for the
SQLDialect.H2 dialect |
Modifier and Type | Method and Description |
---|---|
static <T> DataType<T> |
H2DataType.getDataType(Class<? extends T> type) |
static DataType<Object> |
H2DataType.getDefaultDataType(String typeName) |
Modifier and Type | Class and Description |
---|---|
class |
HSQLDBDataType<T>
Supported data types for the
SQLDialect.HSQLDB dialect |
Modifier and Type | Method and Description |
---|---|
static <T> DataType<T> |
HSQLDBDataType.getDataType(Class<? extends T> type) |
static DataType<Object> |
HSQLDBDataType.getDefaultDataType(String typeName) |
Modifier and Type | Class and Description |
---|---|
class |
IngresDataType<T>
Supported data types for the
SQLDialect.INGRES dialect |
Modifier and Type | Method and Description |
---|---|
static <T> DataType<T> |
IngresDataType.getDataType(Class<? extends T> type) |
static DataType<Object> |
IngresDataType.getDefaultDataType(String typeName) |
Modifier and Type | Class and Description |
---|---|
class |
MySQLDataType<T>
Supported data types for the
SQLDialect.MYSQL dialect |
Modifier and Type | Method and Description |
---|---|
static <T> DataType<T> |
MySQLDataType.getDataType(Class<? extends T> type) |
static DataType<Object> |
MySQLDataType.getDefaultDataType(String typeName) |
Modifier and Type | Class and Description |
---|---|
class |
OracleDataType<T>
Supported data types for the
SQLDialect.ORACLE dialect |
Modifier and Type | Method and Description |
---|---|
static <T> DataType<T> |
OracleDataType.getDataType(Class<? extends T> type) |
static DataType<Object> |
OracleDataType.getDefaultDataType(String typeName) |
Modifier and Type | Class and Description |
---|---|
class |
PostgresDataType<T>
Supported data types for the
SQLDialect.POSTGRES dialect |
Modifier and Type | Method and Description |
---|---|
static <T> DataType<T> |
PostgresDataType.getDataType(Class<? extends T> type) |
static DataType<Object> |
PostgresDataType.getDefaultDataType(String typeName) |
Modifier and Type | Class and Description |
---|---|
class |
SQLiteDataType<T>
Supported data types for the
SQLDialect.SQLITE dialect |
Modifier and Type | Method and Description |
---|---|
static <T> DataType<T> |
SQLiteDataType.getDataType(Class<? extends T> type) |
static DataType<Object> |
SQLiteDataType.getDefaultDataType(String typeName) |
Modifier and Type | Class and Description |
---|---|
class |
SQLServerDataType<T>
Supported data types for the
SQLDialect.SQLSERVER dialect |
Modifier and Type | Method and Description |
---|---|
static <T> DataType<T> |
SQLServerDataType.getDataType(Class<? extends T> type) |
static DataType<Object> |
SQLServerDataType.getDefaultDataType(String typeName) |
Modifier and Type | Class and Description |
---|---|
class |
SybaseDataType<T>
Supported data types for the
SQLDialect.SYBASE dialect |
Modifier and Type | Method and Description |
---|---|
static <T> DataType<T> |
SybaseDataType.getDataType(Class<? extends T> type) |
static DataType<Object> |
SybaseDataType.getDefaultDataType(String typeName) |
Copyright © 2013. All Rights Reserved.