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.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
[#1886] If the bind value at
index is inlined (
Param.isInline() ) or if this query was created with
StatementType.STATIC_STATEMENT and there is an underlying
PreparedStatement kept open because of
Query.keepStatement(boolean) , the underlying
PreparedStatement will be closed automatically in order for
new bind values to have an effect. |
Query |
Query.bind(int index,
Object value)
Bind a new value to an indexed parameter
[#1886] If the bind value at
index is inlined (
Param.isInline() ) or if this query was created with
StatementType.STATIC_STATEMENT and there is an underlying
PreparedStatement kept open because of
Query.keepStatement(boolean) , the underlying
PreparedStatement will be closed automatically in order for
new bind values to have an effect. |
ResultQuery<R> |
ResultQuery.bind(String param,
Object value)
Bind a new value to a named parameter
[#1886] If the bind value with name
param is inlined (
Param.isInline() ) or if this query was created with
StatementType.STATIC_STATEMENT and there is an underlying
PreparedStatement kept open because of
Query.keepStatement(boolean) , the underlying
PreparedStatement will be closed automatically in order for
new bind values to have an effect. |
Query |
Query.bind(String param,
Object value)
Bind a new value to a named parameter
[#1886] If the bind value with name
param is inlined (
Param.isInline() ) or if this query was created with
StatementType.STATIC_STATEMENT and there is an underlying
PreparedStatement kept open because of
Query.keepStatement(boolean) , the underlying
PreparedStatement will be closed automatically in order for
new bind values to have an effect. |
<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)
Get a converted value from this record, providing a field.
|
<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)
Get a converted value from this record, providing a field.
|
<T> T |
Store.getValue(int index,
Class<? extends T> type)
Deprecated.
Get a converted value from this Store, providing a field index.
|
<T> T |
Record.getValue(int index,
Class<? extends T> type)
Get a converted value from this record, providing a field index.
|
<T> T |
Store.getValue(int index,
Class<? extends T> type,
T defaultValue)
Deprecated.
Get a converted value from this Store, providing a field index.
|
<T> T |
Record.getValue(int index,
Class<? extends T> type,
T defaultValue)
Get a converted value from this record, providing a field index.
|
<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)
Get a converted value from this record, providing a field index.
|
<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)
Get a converted value from this record, providing a field name.
|
<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)
Get a converted value from this record, providing a field name.
|
BigDecimal |
Record.getValueAsBigDecimal(Field<?> field)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
BigDecimal |
Record.getValueAsBigDecimal(Field<?> field,
BigDecimal defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
BigDecimal |
Store.getValueAsBigDecimal(int index)
Deprecated.
Get a value from this Store, providing a field index.
|
BigDecimal |
Store.getValueAsBigDecimal(int index,
BigDecimal defaultValue)
Deprecated.
Get a value from this Store, providing a field index.
|
BigDecimal |
Record.getValueAsBigDecimal(String fieldName)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
BigDecimal |
Record.getValueAsBigDecimal(String fieldName,
BigDecimal defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
BigInteger |
Record.getValueAsBigInteger(Field<?> field)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
BigInteger |
Record.getValueAsBigInteger(Field<?> field,
BigInteger defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
BigInteger |
Store.getValueAsBigInteger(int index)
Deprecated.
Get a value from this Store, providing a field index.
|
BigInteger |
Store.getValueAsBigInteger(int index,
BigInteger defaultValue)
Deprecated.
Get a value from this Store, providing a field index.
|
BigInteger |
Record.getValueAsBigInteger(String fieldName)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
BigInteger |
Record.getValueAsBigInteger(String fieldName,
BigInteger defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Boolean |
Record.getValueAsBoolean(Field<?> field)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Boolean |
Record.getValueAsBoolean(Field<?> field,
Boolean defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Boolean |
Store.getValueAsBoolean(int index)
Deprecated.
Get a value from this Store, providing a field index.
|
Boolean |
Store.getValueAsBoolean(int index,
Boolean defaultValue)
Deprecated.
Get a value from this Store, providing a field index.
|
Boolean |
Record.getValueAsBoolean(String fieldName)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Boolean |
Record.getValueAsBoolean(String fieldName,
Boolean defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Byte |
Record.getValueAsByte(Field<?> field)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Byte |
Record.getValueAsByte(Field<?> field,
Byte defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Byte |
Store.getValueAsByte(int index)
Deprecated.
Get a value from this Store, providing a field index.
|
Byte |
Store.getValueAsByte(int index,
Byte defaultValue)
Deprecated.
Get a value from this Store, providing a field index.
|
Byte |
Record.getValueAsByte(String fieldName)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Byte |
Record.getValueAsByte(String fieldName,
Byte defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Date |
Record.getValueAsDate(Field<?> field)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Date |
Record.getValueAsDate(Field<?> field,
Date defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Date |
Store.getValueAsDate(int index)
Deprecated.
Get a value from this Store, providing a field index.
|
Date |
Store.getValueAsDate(int index,
Date defaultValue)
Deprecated.
Get a value from this Store, providing a field index.
|
Date |
Record.getValueAsDate(String fieldName)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Date |
Record.getValueAsDate(String fieldName,
Date defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Double |
Record.getValueAsDouble(Field<?> field)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Double |
Record.getValueAsDouble(Field<?> field,
Double defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Double |
Store.getValueAsDouble(int index)
Deprecated.
Get a value from this Store, providing a field index.
|
Double |
Store.getValueAsDouble(int index,
Double defaultValue)
Deprecated.
Get a value from this Store, providing a field index.
|
Double |
Record.getValueAsDouble(String fieldName)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Double |
Record.getValueAsDouble(String fieldName,
Double defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Float |
Record.getValueAsFloat(Field<?> field)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Float |
Record.getValueAsFloat(Field<?> field,
Float defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Float |
Store.getValueAsFloat(int index)
Deprecated.
Get a value from this Store, providing a field index.
|
Float |
Store.getValueAsFloat(int index,
Float defaultValue)
Deprecated.
Get a value from this Store, providing a field index.
|
Float |
Record.getValueAsFloat(String fieldName)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Float |
Record.getValueAsFloat(String fieldName,
Float defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Integer |
Record.getValueAsInteger(Field<?> field)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Integer |
Record.getValueAsInteger(Field<?> field,
Integer defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Integer |
Store.getValueAsInteger(int index)
Deprecated.
Get a value from this Store, providing a field index.
|
Integer |
Store.getValueAsInteger(int index,
Integer defaultValue)
Deprecated.
Get a value from this Store, providing a field index.
|
Integer |
Record.getValueAsInteger(String fieldName)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Integer |
Record.getValueAsInteger(String fieldName,
Integer defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Long |
Record.getValueAsLong(Field<?> field)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Long |
Record.getValueAsLong(Field<?> field,
Long defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Long |
Store.getValueAsLong(int index)
Deprecated.
Get a value from this Store, providing a field index.
|
Long |
Store.getValueAsLong(int index,
Long defaultValue)
Deprecated.
Get a value from this Store, providing a field index.
|
Long |
Record.getValueAsLong(String fieldName)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Long |
Record.getValueAsLong(String fieldName,
Long defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Short |
Record.getValueAsShort(Field<?> field)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Short |
Record.getValueAsShort(Field<?> field,
Short defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Short |
Store.getValueAsShort(int index)
Deprecated.
Get a value from this Store, providing a field index.
|
Short |
Store.getValueAsShort(int index,
Short defaultValue)
Deprecated.
Get a value from this Store, providing a field index.
|
Short |
Record.getValueAsShort(String fieldName)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Short |
Record.getValueAsShort(String fieldName,
Short defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
String |
Record.getValueAsString(Field<?> field)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
String |
Record.getValueAsString(Field<?> field,
String defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
String |
Store.getValueAsString(int index)
Deprecated.
Get a value from this Store, providing a field index.
|
String |
Store.getValueAsString(int index,
String defaultValue)
Deprecated.
Get a value from this Store, providing a field index.
|
String |
Record.getValueAsString(String fieldName)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
String |
Record.getValueAsString(String fieldName,
String defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Time |
Record.getValueAsTime(Field<?> field)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Time |
Record.getValueAsTime(Field<?> field,
Time defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Time |
Store.getValueAsTime(int index)
Deprecated.
Get a value from this Store, providing a field index.
|
Time |
Store.getValueAsTime(int index,
Time defaultValue)
Deprecated.
Get a value from this Store, providing a field index.
|
Time |
Record.getValueAsTime(String fieldName)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Time |
Record.getValueAsTime(String fieldName,
Time defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Timestamp |
Record.getValueAsTimestamp(Field<?> field)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Timestamp |
Record.getValueAsTimestamp(Field<?> field,
Timestamp defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(Field, Class)
instead. |
Timestamp |
Store.getValueAsTimestamp(int index)
Deprecated.
Get a value from this Store, providing a field index.
|
Timestamp |
Store.getValueAsTimestamp(int index,
Timestamp defaultValue)
Deprecated.
Get a value from this Store, providing a field index.
|
Timestamp |
Record.getValueAsTimestamp(String fieldName)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
Timestamp |
Record.getValueAsTimestamp(String fieldName,
Timestamp defaultValue)
Deprecated.
- 2.6.0 [#1839] - These methods will be removed in the
future. Do not reuse. Use
Record.getValue(String, Class)
instead. |
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 © 2013. All Rights Reserved.