Package | Description |
---|---|
org.jooq |
The
org.jooq package contains jOOQ's public API. |
org.jooq.tools |
The
org.jooq.tools package contains jOOQ's public utilities. |
Modifier and Type | Method and Description |
---|---|
ResultQuery<R> |
ResultQuery.bind(int index,
Object value)
Bind a new value to an indexed parameter.
|
Query |
Query.bind(int index,
Object value)
Bind a new value to an indexed parameter.
|
ResultQuery<R> |
ResultQuery.bind(String param,
Object value)
Bind a new value to a named parameter.
|
Query |
Query.bind(String param,
Object value)
Bind a new value to a named parameter.
|
<T> T |
Record.get(Field<?> field,
Class<? extends T> type)
Get a converted value from this Record, providing a field.
|
<T,U> U |
Record.get(Field<T> field,
Converter<? super T,? extends U> converter)
Get a converted value from this Record, providing a field.
|
<T> T |
Record.get(int index,
Class<? extends T> type)
Get a converted value from this record, providing a field index.
|
<U> U |
Record.get(int index,
Converter<?,? extends U> converter)
Get a converted value from this record, providing a field index.
|
<T> T |
Record.get(Name fieldName,
Class<? extends T> type)
Get a converted value from this Record, providing a field name.
|
<U> U |
Record.get(Name fieldName,
Converter<?,? extends U> converter)
Get a converted value from this Record, providing a field name.
|
<T> T |
Record.get(String fieldName,
Class<? extends T> type)
Get a converted value from this Record, providing a field name.
|
<U> U |
Record.get(String fieldName,
Converter<?,? extends U> converter)
Get a converted value from this Record, providing a field name.
|
<T> T |
Record.getValue(Field<?> field,
Class<? extends T> type)
Get a converted value from this Record, providing a field.
|
<T> T |
Record.getValue(Field<?> field,
Class<? extends T> type,
T defaultValue)
Deprecated.
- 3.3.0 - [#2878] - This method will be removed in jOOQ 4.0
|
<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
|
<T> T |
Record.getValue(int index,
Class<? extends T> type)
Get a converted value from this record, providing a field index.
|
<T> T |
Record.getValue(int index,
Class<? extends T> type,
T 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
|
<T> T |
Record.getValue(Name fieldName,
Class<? extends T> type)
Get a converted value from this Record, providing a field name.
|
<U> U |
Record.getValue(Name fieldName,
Converter<?,U> converter)
Get a converted value from this Record, providing a field name.
|
<T> T |
Record.getValue(String fieldName,
Class<? extends T> type)
Get a converted value from this Record, providing a field name.
|
<T> T |
Record.getValue(String fieldName,
Class<? extends T> type,
T 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> List<T> |
Result.getValues(int fieldIndex,
Class<? extends T> type)
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.
|
<T> List<T> |
Result.getValues(Name fieldName,
Class<? extends T> type)
Convenience method to fetch all values for a given field.
|
<U> List<U> |
Result.getValues(Name fieldName,
Converter<?,U> converter)
Convenience method to fetch all values for a given field.
|
<T> List<T> |
Result.getValues(String fieldName,
Class<? extends T> type)
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> T[] |
Result.intoArray(Field<?> field,
Class<? extends T> type)
Return all values for a field from the result.
|
<T,U> U[] |
Result.intoArray(Field<T> field,
Converter<? super T,U> converter)
Return all values for a field from the result.
|
<T> T[] |
Result.intoArray(int fieldIndex,
Class<? extends T> type)
Return all values for a field index from the result.
|
<U> U[] |
Result.intoArray(int fieldIndex,
Converter<?,U> converter)
Return all values for a field index from the result.
|
<T> T[] |
Result.intoArray(Name fieldName,
Class<? extends T> type)
Return all values for a field name from the result.
|
<U> U[] |
Result.intoArray(Name fieldName,
Converter<?,U> converter)
Return all values for a field name from the result.
|
<T> T[] |
Result.intoArray(String fieldName,
Class<? extends T> type)
Return all values for a field name from the result.
|
<U> U[] |
Result.intoArray(String fieldName,
Converter<?,U> converter)
Return all values for a field name from the result.
|
<T> Set<T> |
Result.intoSet(Field<?> field,
Class<? extends T> type)
Return all values for a field from the result.
|
<T,U> Set<U> |
Result.intoSet(Field<T> field,
Converter<? super T,U> converter)
Return all values for a field from the result.
|
<T> Set<T> |
Result.intoSet(int fieldIndex,
Class<? extends T> type)
Return all values for a field index from the result.
|
<U> Set<U> |
Result.intoSet(int fieldIndex,
Converter<?,U> converter)
Return all values for a field index from the result.
|
<T> Set<T> |
Result.intoSet(Name fieldName,
Class<? extends T> type)
Return all values for a field name from the result.
|
<U> Set<U> |
Result.intoSet(Name fieldName,
Converter<?,U> converter)
Return all values for a field name from the result.
|
<T> Set<T> |
Result.intoSet(String fieldName,
Class<? extends T> type)
Return all values for a field name from the result.
|
<U> Set<U> |
Result.intoSet(String fieldName,
Converter<?,U> converter)
Return all values for a field name from the result.
|
void |
Param.setConverted(Object value)
|
Modifier and Type | Method and Description |
---|---|
static <T> List<T> |
Convert.convert(Collection<?> collection,
Class<? extends T> type)
Convert a collection of objects to a list of
T , using
Convert.convert(Object, Class) |
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 <T> T |
Convert.convert(Object from,
Class<? extends T> toClass)
Convert an object to a type.
|
static <U> U |
Convert.convert(Object from,
Converter<?,U> converter)
Convert an object to a type.
|
static Object[] |
Convert.convertArray(Object[] from,
Class<?> toClass)
Convert an array into another one by these rules
If
toClass is not an array class, then make it an array
class first
If toClass is an array class, then create an instance
from it, and convert all elements in the from array one by
one, using Convert.convert(Object, Class)
|
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 Converter.fromType() first, before converting that
array again to Converter.toType() |
Copyright © 2016. All Rights Reserved.