Package | Description |
---|---|
org.jooq |
The
org.jooq package contains jOOQ's public API. |
org.jooq.impl |
The
org.jooq.impl package contains jOOQ's implementation classes. |
org.jooq.tools |
The
org.jooq.tools package contains jOOQ's public utilities. |
Modifier and Type | Method and Description |
---|---|
Converter<?,T> |
Field.getConverter()
The field's underlying
Converter . |
Modifier and Type | Method and Description |
---|---|
<U> DataType<U> |
DataType.asConvertedDataType(Converter<? super T,U> converter)
Retrieve the data type for a given converter.
|
<T,U> List<U> |
ResultQuery.fetch(Field<T> field,
Converter<? super T,U> converter)
Execute the query and return all values for a field from the generated
result.
|
<U> List<U> |
ResultQuery.fetch(int fieldIndex,
Converter<?,U> converter)
Execute the query and return all values for a field index from the
generated result.
|
<U> List<U> |
ResultQuery.fetch(String fieldName,
Converter<?,U> converter)
Execute the query and return all values for a field name from the
generated result.
|
<T,U> U[] |
ResultQuery.fetchArray(Field<T> field,
Converter<? super T,U> converter)
Execute the query and return all values for a field from the generated
result.
|
<U> U[] |
ResultQuery.fetchArray(int fieldIndex,
Converter<?,U> converter)
Execute the query and return all values for a field index from the
generated result.
|
<U> U[] |
ResultQuery.fetchArray(String fieldName,
Converter<?,U> converter)
Execute the query and return all values for a field name from the
generated result.
|
<T,U> U |
ResultQuery.fetchOne(Field<T> field,
Converter<? super T,U> converter)
Execute the query and return return at most one resulting value for a
field from the generated result.
|
<U> U |
ResultQuery.fetchOne(int fieldIndex,
Converter<?,U> converter)
Execute the query and return return at most one resulting value for a
field index from the generated result.
|
<U> U |
ResultQuery.fetchOne(String fieldName,
Converter<?,U> converter)
Execute the query and return return at most one resulting value for a
field name from the generated result.
|
<T,U> U |
Record.getValue(Field<T> field,
Converter<? super T,U> converter)
Get a converted value from this Record, providing a field.
|
<T,U> U |
Record.getValue(Field<T> field,
Converter<? super T,U> converter,
U defaultValue)
Deprecated.
- 3.3.0 - [#2878] - This method will be removed in jOOQ 4.0
|
<U> U |
Record.getValue(int index,
Converter<?,U> converter)
Get a converted value from this record, providing a field index.
|
<U> U |
Record.getValue(int index,
Converter<?,U> converter,
U defaultValue)
Deprecated.
- 3.3.0 - [#2878] - This method will be removed in jOOQ 4.0
|
<U> U |
Record.getValue(String fieldName,
Converter<?,U> converter)
Get a converted value from this Record, providing a field name.
|
<U> U |
Record.getValue(String fieldName,
Converter<?,U> converter,
U defaultValue)
Deprecated.
- 3.3.0 - [#2878] - This method will be removed in jOOQ 4.0
|
<T,U> List<U> |
Result.getValues(Field<T> field,
Converter<? super T,U> converter)
Convenience method to fetch all values for a given field.
|
<U> List<U> |
Result.getValues(int fieldIndex,
Converter<?,U> converter)
Convenience method to fetch all values for a given field.
|
<U> List<U> |
Result.getValues(String fieldName,
Converter<?,U> converter)
Convenience method to fetch all values for a given field.
|
<T,U> U[] |
Result.intoArray(Field<T> field,
Converter<? super T,U> converter)
Return all values for a field from the result.
|
<U> U[] |
Result.intoArray(int fieldIndex,
Converter<?,U> converter)
Return all values for a field index from the result.
|
<U> U[] |
Result.intoArray(String fieldName,
Converter<?,U> converter)
Return all values for a field name from the result.
|
<T,U> void |
Record.setValue(Field<T> field,
U value,
Converter<T,? super U> converter)
Set a value into this record.
|
Modifier and Type | Class and Description |
---|---|
class |
EnumConverter<T,U extends Enum<U>>
A base class for enum conversion.
|
Modifier and Type | Method and Description |
---|---|
<U> DataType<U> |
DefaultDataType.asConvertedDataType(Converter<? super T,U> converter) |
Modifier and Type | Method and Description |
---|---|
static <U> List<U> |
Convert.convert(Collection<?> collection,
Converter<?,U> converter)
Convert a collection of objects to a list of
T , using
Convert.convert(Object, Converter) |
static <U> U |
Convert.convert(Object from,
Converter<?,U> converter)
Convert an object to a type.
|
static <U> U[] |
Convert.convertArray(Object[] from,
Converter<?,U> converter)
Convert an array into another one using a converter
This uses
Convert.convertArray(Object[], Class) to convert the array to
an array of fromType() first, before converting that
array again to toType() |
Copyright © 2014. All Rights Reserved.