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,
java.lang.Object value)
Bind a new value to an indexed parameter.
|
Query |
Query.bind(int index,
java.lang.Object value)
Bind a new value to an indexed parameter.
|
ResultQuery<R> |
ResultQuery.bind(java.lang.String param,
java.lang.Object value)
Bind a new value to a named parameter.
|
Query |
Query.bind(java.lang.String param,
java.lang.Object value)
Bind a new value to a named parameter.
|
<T> T |
Record.get(Field<?> field,
java.lang.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,
java.lang.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,
java.lang.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(java.lang.String fieldName,
java.lang.Class<? extends T> type)
Get a converted value from this Record, providing a field name.
|
<U> U |
Record.get(java.lang.String fieldName,
Converter<?,? extends U> converter)
Get a converted value from this Record, providing a field name.
|
<T> T |
Record.getValue(Field<?> field,
java.lang.Class<? extends T> type)
Get a converted value from this Record, providing a field.
|
<T> T |
Record.getValue(Field<?> field,
java.lang.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,? extends U> converter)
Get a converted value from this Record, providing a field.
|
<T,U> U |
Record.getValue(Field<T> field,
Converter<? super T,? extends U> converter,
U defaultValue)
Deprecated.
- 3.3.0 - [#2878] - This method will be removed in jOOQ 4.0
|
<T> T |
Record.getValue(int index,
java.lang.Class<? extends T> type)
Get a converted value from this record, providing a field index.
|
<T> T |
Record.getValue(int index,
java.lang.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<?,? extends U> converter)
Get a converted value from this record, providing a field index.
|
<U> U |
Record.getValue(int index,
Converter<?,? extends U> converter,
U defaultValue)
Deprecated.
- 3.3.0 - [#2878] - This method will be removed in jOOQ 4.0
|
<T> T |
Record.getValue(Name fieldName,
java.lang.Class<? extends T> type)
Get a converted value from this Record, providing a field name.
|
<U> U |
Record.getValue(Name fieldName,
Converter<?,? extends U> converter)
Get a converted value from this Record, providing a field name.
|
<T> T |
Record.getValue(java.lang.String fieldName,
java.lang.Class<? extends T> type)
Get a converted value from this Record, providing a field name.
|
<T> T |
Record.getValue(java.lang.String fieldName,
java.lang.Class<? extends T> type,
T defaultValue)
Deprecated.
- 3.3.0 - [#2878] - This method will be removed in jOOQ 4.0
|
<U> U |
Record.getValue(java.lang.String fieldName,
Converter<?,? extends U> converter)
Get a converted value from this Record, providing a field name.
|
<U> U |
Record.getValue(java.lang.String fieldName,
Converter<?,? extends U> converter,
U defaultValue)
Deprecated.
- 3.3.0 - [#2878] - This method will be removed in jOOQ 4.0
|
<T> java.util.List<T> |
Result.getValues(int fieldIndex,
java.lang.Class<? extends T> type)
Convenience method to fetch all values for a given field.
|
<U> java.util.List<U> |
Result.getValues(int fieldIndex,
Converter<?,? extends U> converter)
Convenience method to fetch all values for a given field.
|
<T> java.util.List<T> |
Result.getValues(Name fieldName,
java.lang.Class<? extends T> type)
Convenience method to fetch all values for a given field.
|
<U> java.util.List<U> |
Result.getValues(Name fieldName,
Converter<?,? extends U> converter)
Convenience method to fetch all values for a given field.
|
<T> java.util.List<T> |
Result.getValues(java.lang.String fieldName,
java.lang.Class<? extends T> type)
Convenience method to fetch all values for a given field.
|
<U> java.util.List<U> |
Result.getValues(java.lang.String fieldName,
Converter<?,? extends U> converter)
Convenience method to fetch all values for a given field.
|
<T> T[] |
Result.intoArray(Field<?> field,
java.lang.Class<? extends T> type)
Return all values for a field from the result.
|
<T,U> U[] |
Result.intoArray(Field<T> field,
Converter<? super T,? extends U> converter)
Return all values for a field from the result.
|
<T> T[] |
Result.intoArray(int fieldIndex,
java.lang.Class<? extends T> type)
Return all values for a field index from the result.
|
<U> U[] |
Result.intoArray(int fieldIndex,
Converter<?,? extends U> converter)
Return all values for a field index from the result.
|
<T> T[] |
Result.intoArray(Name fieldName,
java.lang.Class<? extends T> type)
Return all values for a field name from the result.
|
<U> U[] |
Result.intoArray(Name fieldName,
Converter<?,? extends U> converter)
Return all values for a field name from the result.
|
<T> T[] |
Result.intoArray(java.lang.String fieldName,
java.lang.Class<? extends T> type)
Return all values for a field name from the result.
|
<U> U[] |
Result.intoArray(java.lang.String fieldName,
Converter<?,? extends U> converter)
Return all values for a field name from the result.
|
<T> java.util.Set<T> |
Result.intoSet(Field<?> field,
java.lang.Class<? extends T> type)
Return all values for a field from the result.
|
<T,U> java.util.Set<U> |
Result.intoSet(Field<T> field,
Converter<? super T,? extends U> converter)
Return all values for a field from the result.
|
<T> java.util.Set<T> |
Result.intoSet(int fieldIndex,
java.lang.Class<? extends T> type)
Return all values for a field index from the result.
|
<U> java.util.Set<U> |
Result.intoSet(int fieldIndex,
Converter<?,? extends U> converter)
Return all values for a field index from the result.
|
<T> java.util.Set<T> |
Result.intoSet(Name fieldName,
java.lang.Class<? extends T> type)
Return all values for a field name from the result.
|
<U> java.util.Set<U> |
Result.intoSet(Name fieldName,
Converter<?,? extends U> converter)
Return all values for a field name from the result.
|
<T> java.util.Set<T> |
Result.intoSet(java.lang.String fieldName,
java.lang.Class<? extends T> type)
Return all values for a field name from the result.
|
<U> java.util.Set<U> |
Result.intoSet(java.lang.String fieldName,
Converter<?,? extends U> converter)
Return all values for a field name from the result.
|
void |
Param.setConverted(java.lang.Object value)
|
Modifier and Type | Method and Description |
---|---|
static <T> java.util.List<T> |
Convert.convert(java.util.Collection<?> collection,
java.lang.Class<? extends T> type)
Convert a collection of objects to a list of
T , using
Convert.convert(Object, Class) |
static <U> java.util.List<U> |
Convert.convert(java.util.Collection<?> collection,
Converter<?,? extends U> converter)
Convert a collection of objects to a list of
T , using
Convert.convert(Object, Converter) |
static <T> T |
Convert.convert(java.lang.Object from,
java.lang.Class<? extends T> toClass)
Convert an object to a type.
|
static <U> U |
Convert.convert(java.lang.Object from,
Converter<?,? extends U> converter)
Convert an object to a type.
|
static java.lang.Object[] |
Convert.convertArray(java.lang.Object[] from,
java.lang.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(java.lang.Object[] from,
Converter<?,? extends 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 © 2018. All Rights Reserved.