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. |
Modifier and Type | Method and Description |
---|---|
RecordMapper<R,P> |
DAO.mapper()
Expose the
RecordMapper that is used internally by this
DAO to map from records of type R to POJOs of
type P . |
<R extends Record,E> |
RecordMapperProvider.provide(RecordType<R> recordType,
java.lang.Class<? extends E> type)
Provide a
RecordMapper instance. |
Modifier and Type | Method and Description |
---|---|
<E> java.util.List<E> |
ResultQuery.fetch(RecordMapper<? super R,E> mapper)
Fetch results into a custom mapper callback.
|
<E> java.util.List<E> |
Cursor.fetch(RecordMapper<? super R,E> mapper)
Fetch results into a custom mapper callback.
|
<E> java.util.Map<Record,java.util.List<E>> |
ResultQuery.fetchGroups(Field<?>[] keys,
RecordMapper<? super R,E> mapper)
Execute the query and return a
Map with results grouped by the
given keys and mapped by the given mapper. |
<K,E> java.util.Map<K,java.util.List<E>> |
ResultQuery.fetchGroups(Field<K> key,
RecordMapper<? super R,E> mapper)
Return a
Map with results grouped by the given key and mapped by
the given mapper. |
<E> java.util.Map<Record,java.util.List<E>> |
ResultQuery.fetchGroups(int[] keyFieldIndexes,
RecordMapper<? super R,E> mapper)
Execute the query and return a
Map with results grouped by the
given keys and mapped by the given mapper. |
<E> java.util.Map<?,java.util.List<E>> |
ResultQuery.fetchGroups(int keyFieldIndex,
RecordMapper<? super R,E> mapper)
Return a
Map with results grouped by the given key and mapped by
the given mapper. |
<E> java.util.Map<Record,java.util.List<E>> |
ResultQuery.fetchGroups(java.lang.String[] keyFieldNames,
RecordMapper<? super R,E> mapper)
Execute the query and return a
Map with results grouped by the
given keys and mapped by the given mapper. |
<E> java.util.Map<?,java.util.List<E>> |
ResultQuery.fetchGroups(java.lang.String keyFieldName,
RecordMapper<? super R,E> mapper)
Return a
Map with results grouped by the given key and mapped by
the given mapper. |
<E,S extends Record> |
ResultQuery.fetchGroups(Table<S> table,
RecordMapper<? super R,E> mapper)
Execute the query and return a
Map with results grouped by the
given table and mapped by the given mapper. |
<E> java.util.Map<java.util.List<?>,E> |
ResultQuery.fetchMap(Field<?>[] keys,
RecordMapper<? super R,E> mapper)
Execute the query and return a
Map with results grouped by the
given keys and mapped by the given mapper. |
<K,E> java.util.Map<K,E> |
ResultQuery.fetchMap(Field<K> key,
RecordMapper<? super R,E> mapper)
Execute the query and return a
Map with results grouped by the
given key and mapped by the given mapper. |
<E> java.util.Map<java.util.List<?>,E> |
ResultQuery.fetchMap(int[] keyFieldIndexes,
RecordMapper<? super R,E> mapper)
Execute the query and return a
Map with results grouped by the
given keys and mapped by the given mapper. |
<E> java.util.Map<?,E> |
ResultQuery.fetchMap(int keyFieldIndex,
RecordMapper<? super R,E> mapper)
Execute the query and return a
Map with results grouped by the
given key and mapped by the given mapper. |
<E> java.util.Map<java.util.List<?>,E> |
ResultQuery.fetchMap(java.lang.String[] keyFieldNames,
RecordMapper<? super R,E> mapper)
Execute the query and return a
Map with results grouped by the
given keys and mapped by the given mapper. |
<E> java.util.Map<?,E> |
ResultQuery.fetchMap(java.lang.String keyFieldName,
RecordMapper<? super R,E> mapper)
Execute the query and return a
Map with results grouped by the
given key and mapped by the given mapper. |
<E,S extends Record> |
ResultQuery.fetchMap(Table<S> table,
RecordMapper<? super R,E> mapper)
Execute the query and return a
Map with results grouped by the
given table and mapped by the given mapper. |
<E> E |
ResultQuery.fetchOne(RecordMapper<? super R,E> mapper)
Execute the query and return at most one resulting value into a
custom mapper callback.
|
<E> E |
Cursor.fetchOne(RecordMapper<? super R,E> mapper)
Fetch the next record into a custom mapper callback.
|
<E> java.util.Map<Record,java.util.List<E>> |
Result.intoGroups(Field<?>[] keys,
RecordMapper<? super R,E> mapper)
Return a
Map with results grouped by the given keys and mapped
into the given entity type. |
<K,E> java.util.Map<K,java.util.List<E>> |
Result.intoGroups(Field<K> key,
RecordMapper<? super R,E> mapper)
Return a
Map with results grouped by the given key and mapped by
the given mapper. |
<E> java.util.Map<Record,java.util.List<E>> |
Result.intoGroups(int[] keyFieldIndexes,
RecordMapper<? super R,E> mapper)
Return a
Map with results grouped by the given keys and mapped
into the given entity type. |
<E> java.util.Map<?,java.util.List<E>> |
Result.intoGroups(int keyFieldIndex,
RecordMapper<? super R,E> mapper)
Return a
Map with results grouped by the given key and mapped by
the given mapper. |
<E> java.util.Map<Record,java.util.List<E>> |
Result.intoGroups(java.lang.String[] keyFieldNames,
RecordMapper<? super R,E> mapper)
Return a
Map with results grouped by the given keys and mapped
into the given entity type. |
<E> java.util.Map<?,java.util.List<E>> |
Result.intoGroups(java.lang.String keyFieldName,
RecordMapper<? super R,E> mapper)
Return a
Map with results grouped by the given key and mapped by
the given mapper. |
<E,S extends Record> |
Result.intoGroups(Table<S> table,
RecordMapper<? super R,E> mapper)
Return a
Map with results grouped by the given key table and
mapped into the given entity type. |
<E> java.util.Map<java.util.List<?>,E> |
Result.intoMap(Field<?>[] keys,
RecordMapper<? super R,E> mapper)
Return a
Map with results grouped by the given keys and mapped by
the given mapper. |
<K,E> java.util.Map<K,E> |
Result.intoMap(Field<K> key,
RecordMapper<? super R,E> mapper)
Return a
Map with results grouped by the given key and mapped by
the given mapper. |
<E> java.util.Map<java.util.List<?>,E> |
Result.intoMap(int[] keyFieldIndexes,
RecordMapper<? super R,E> mapper)
Return a
Map with results grouped by the given keys and mapped by
the given mapper. |
<E> java.util.Map<?,E> |
Result.intoMap(int keyFieldIndex,
RecordMapper<? super R,E> mapper)
Return a
Map with results grouped by the given key and mapped by
the given mapper. |
<E> java.util.Map<java.util.List<?>,E> |
Result.intoMap(java.lang.String[] keyFieldNames,
RecordMapper<? super R,E> mapper)
Return a
Map with results grouped by the given keys and mapped by
the given mapper. |
<E> java.util.Map<?,E> |
Result.intoMap(java.lang.String keyFieldName,
RecordMapper<? super R,E> mapper)
Return a
Map with results grouped by the given key and mapped by
the given mapper. |
<E,S extends Record> |
Result.intoMap(Table<S> table,
RecordMapper<? super R,E> mapper)
Return a
Map with results grouped by the given key table and
mapped by the given mapper. |
<E> java.util.List<E> |
Result.map(RecordMapper<? super R,E> mapper)
Map results into a custom mapper callback.
|
<E> E |
Record.map(RecordMapper<Record,E> mapper)
Map this record into a custom mapper callback.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultRecordMapper<R extends Record,E>
This is the default implementation for
RecordMapper types. |
Modifier and Type | Method and Description |
---|---|
RecordMapper<R,P> |
DAOImpl.mapper()
Expose the
RecordMapper that is used internally by this
DAO to map from records of type R to POJOs of
type P . |
<R extends Record,E> |
DefaultRecordMapperProvider.provide(RecordType<R> rowType,
java.lang.Class<? extends E> type) |
Copyright © 2015. All Rights Reserved.