Module org.jooq
Package org.jooq

Interface ResultQuery<R extends Record>

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods 
      Modifier and Type Method Description
      ResultQuery<R> bind​(int index, Object value)
      Bind a new value to an indexed parameter.
      ResultQuery<R> bind​(String param, Object value)
      Bind a new value to a named parameter.
      ResultQuery<Record> coerce​(Collection<? extends Field<?>> fields)
      Coerce the result record type of this query to that of a set of fields.
      ResultQuery<Record> coerce​(Field<?>... fields)
      Coerce the result record type of this query to that of a set of fields.
      <T1> ResultQuery<Record1<T1>> coerce​(Field<T1> field1)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2>
      ResultQuery<Record2<T1,​T2>>
      coerce​(Field<T1> field1, Field<T2> field2)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3>
      ResultQuery<Record3<T1,​T2,​T3>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4>
      ResultQuery<Record4<T1,​T2,​T3,​T4>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4,​T5>
      ResultQuery<Record5<T1,​T2,​T3,​T4,​T5>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4,​T5,​T6>
      ResultQuery<Record6<T1,​T2,​T3,​T4,​T5,​T6>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7>
      ResultQuery<Record7<T1,​T2,​T3,​T4,​T5,​T6,​T7>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>
      ResultQuery<Record8<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9>
      ResultQuery<Record9<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10>
      ResultQuery<Record10<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11>
      ResultQuery<Record11<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12>
      ResultQuery<Record12<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13>
      ResultQuery<Record13<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14>
      ResultQuery<Record14<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15>
      ResultQuery<Record15<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16>
      ResultQuery<Record16<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16,​T17>
      ResultQuery<Record17<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16,​T17>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16,​T17,​T18>
      ResultQuery<Record18<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16,​T17,​T18>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16,​T17,​T18,​T19>
      ResultQuery<Record19<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16,​T17,​T18,​T19>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16,​T17,​T18,​T19,​T20>
      ResultQuery<Record20<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16,​T17,​T18,​T19,​T20>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16,​T17,​T18,​T19,​T20,​T21>
      ResultQuery<Record21<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16,​T17,​T18,​T19,​T20,​T21>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21)
      Coerce the result record type of this query to that of a set of fields.
      <T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16,​T17,​T18,​T19,​T20,​T21,​T22>
      ResultQuery<Record22<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​T9,​T10,​T11,​T12,​T13,​T14,​T15,​T16,​T17,​T18,​T19,​T20,​T21,​T22>>
      coerce​(Field<T1> field1, Field<T2> field2, Field<T3> field3, Field<T4> field4, Field<T5> field5, Field<T6> field6, Field<T7> field7, Field<T8> field8, Field<T9> field9, Field<T10> field10, Field<T11> field11, Field<T12> field12, Field<T13> field13, Field<T14> field14, Field<T15> field15, Field<T16> field16, Field<T17> field17, Field<T18> field18, Field<T19> field19, Field<T20> field20, Field<T21> field21, Field<T22> field22)
      Coerce the result record type of this query to that of a set of fields.
      <X extends Record>
      ResultQuery<X>
      coerce​(Table<X> table)
      Coerce the result record type of this query to that of a table.
      <X,​A>
      X
      collect​(Collector<? super R,​A,​X> collector)
      Reduce the execution results of this query using a Collector.
      Result<R> fetch()
      Execute the query and return the generated result.
      List<?> fetch​(int fieldIndex)
      Execute the query and return all values for a field index from the generated result.
      <T> List<T> fetch​(int fieldIndex, Class<? extends T> type)
      Execute the query and return all values for a field index from the generated result.
      <U> List<U> fetch​(int fieldIndex, Converter<?,​? extends U> converter)
      Execute the query and return all values for a field index from the generated result.
      List<?> fetch​(String fieldName)
      Execute the query and return all values for a field name from the generated result.
      <T> List<T> fetch​(String fieldName, Class<? extends T> type)
      Execute the query and return all values for a field name from the generated result.
      <U> List<U> fetch​(String fieldName, Converter<?,​? extends U> converter)
      Execute the query and return all values for a field name from the generated result.
      <T> List<T> fetch​(Field<?> field, Class<? extends T> type)
      Execute the query and return all values for a field from the generated result.
      <T> List<T> fetch​(Field<T> field)
      Execute the query and return all values for a field from the generated result.
      <T,​U>
      List<U>
      fetch​(Field<T> field, Converter<? super T,​? extends U> converter)
      Execute the query and return all values for a field from the generated result.
      List<?> fetch​(Name fieldName)
      Execute the query and return all values for a field name from the generated result.
      <T> List<T> fetch​(Name fieldName, Class<? extends T> type)
      Execute the query and return all values for a field name from the generated result.
      <U> List<U> fetch​(Name fieldName, Converter<?,​? extends U> converter)
      Execute the query and return all values for a field name from the generated result.
      <E> List<E> fetch​(RecordMapper<? super R,​E> mapper)
      Fetch results into a custom mapper callback.
      R fetchAny()
      Execute the query and return at most one resulting record.
      Object fetchAny​(int fieldIndex)
      Execute the query and return at most one resulting value for a field index from the generated result.
      <T> T fetchAny​(int fieldIndex, Class<? extends T> type)
      Execute the query and return at most one resulting value for a field index from the generated result.
      <U> U fetchAny​(int fieldIndex, Converter<?,​? extends U> converter)
      Execute the query and return at most one resulting value for a field index from the generated result.
      Object fetchAny​(String fieldName)
      Execute the query and return at most one resulting value for a field name from the generated result.
      <T> T fetchAny​(String fieldName, Class<? extends T> type)
      Execute the query and return at most one resulting value for a field name from the generated result.
      <U> U fetchAny​(String fieldName, Converter<?,​? extends U> converter)
      Execute the query and return at most one resulting value for a field name from the generated result.
      <T> T fetchAny​(Field<?> field, Class<? extends T> type)
      Execute the query and return at most one resulting value for a field from the generated result.
      <T> T fetchAny​(Field<T> field)
      Execute the query and return at most one resulting value for a field from the generated result.
      <T,​U>
      U
      fetchAny​(Field<T> field, Converter<? super T,​? extends U> converter)
      Execute the query and return at most one resulting value for a field from the generated result.
      Object fetchAny​(Name fieldName)
      Execute the query and return at most one resulting value for a field name from the generated result.
      <T> T fetchAny​(Name fieldName, Class<? extends T> type)
      Execute the query and return at most one resulting value for a field name from the generated result.
      <U> U fetchAny​(Name fieldName, Converter<?,​? extends U> converter)
      Execute the query and return at most one resulting value for a field name from the generated result.
      <E> E fetchAny​(RecordMapper<? super R,​E> mapper)
      Execute the query and return at most one resulting record.
      Object[] fetchAnyArray()
      Execute the query and return at most one resulting record as an array
      <E> E fetchAnyInto​(Class<? extends E> type)
      Map resulting records onto a custom type.
      <Z extends Record>
      Z
      fetchAnyInto​(Table<Z> table)
      Map resulting records onto a custom record.
      Map<String,​Object> fetchAnyMap()
      Execute the query and return at most one resulting record as a name/value map.
      R[] fetchArray()
      Execute the query and return the generated result as an array of records.
      Object[] fetchArray​(int fieldIndex)
      Execute the query and return all values for a field index from the generated result.
      <T> T[] fetchArray​(int fieldIndex, Class<? extends T> type)
      Execute the query and return all values for a field index from the generated result.
      <U> U[] fetchArray​(int fieldIndex, Converter<?,​? extends U> converter)
      Execute the query and return all values for a field index from the generated result.
      Object[] fetchArray​(String fieldName)
      Execute the query and return all values for a field name from the generated result.
      <T> T[] fetchArray​(String fieldName, Class<? extends T> type)
      Execute the query and return all values for a field name from the generated result.
      <U> U[] fetchArray​(String fieldName, Converter<?,​? extends U> converter)
      Execute the query and return all values for a field name from the generated result.
      <T> T[] fetchArray​(Field<?> field, Class<? extends T> type)
      Execute the query and return all values for a field from the generated result.
      <T> T[] fetchArray​(Field<T> field)
      Execute the query and return all values for a field from the generated result.
      <T,​U>
      U[]
      fetchArray​(Field<T> field, Converter<? super T,​? extends U> converter)
      Execute the query and return all values for a field from the generated result.
      Object[] fetchArray​(Name fieldName)
      Execute the query and return all values for a field name from the generated result.
      <T> T[] fetchArray​(Name fieldName, Class<? extends T> type)
      Execute the query and return all values for a field name from the generated result.
      <U> U[] fetchArray​(Name fieldName, Converter<?,​? extends U> converter)
      Execute the query and return all values for a field name from the generated result.
      Object[][] fetchArrays()
      Execute the query and return the generated result as an Object matrix.
      CompletionStage<Result<R>> fetchAsync()
      Fetch results in a new CompletionStage.
      CompletionStage<Result<R>> fetchAsync​(Executor executor)
      Fetch results in a new CompletionStage that is asynchronously completed by a task running in the given executor.
      Map<?,​Result<R>> fetchGroups​(int keyFieldIndex)
      Execute the query and return a Map with one of the result's columns as key and a list of corresponding records as value.
      Map<Record,​Result<R>> fetchGroups​(int[] keyFieldIndexes)
      Execute the query and return a Map with the result grouped by the given keys.
      Map<Record,​Result<Record>> fetchGroups​(int[] keyFieldIndexes, int[] valueFieldIndexes)
      Execute the query and return a Map with the result grouped by the given keys.
      <E> Map<Record,​List<E>> fetchGroups​(int[] keyFieldIndexes, Class<? extends E> type)
      Execute the query and return a Map with results grouped by the given keys and mapped into the given entity type.
      <E> Map<Record,​List<E>> 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.
      Map<?,​List<?>> fetchGroups​(int keyFieldIndex, int valueFieldIndex)
      Execute the query and return a Map with one of the result's columns as key and another one of the result's columns as value
      <E> Map<?,​List<E>> fetchGroups​(int keyFieldIndex, Class<? extends E> type)
      Return a Map with results grouped by the given key and mapped into the given entity type.
      <E> Map<?,​List<E>> fetchGroups​(int keyFieldIndex, RecordMapper<? super R,​E> mapper)
      Return a Map with results grouped by the given key and mapped by the given mapper.
      <K> Map<K,​Result<R>> fetchGroups​(Class<? extends K> keyType)
      Execute the query and return a Map with results grouped by the given key entity.
      <K,​V>
      Map<K,​List<V>>
      fetchGroups​(Class<? extends K> keyType, Class<? extends V> valueType)
      Execute the query and return a Map with results grouped by the given key entity and mapped into the given entity type.
      <K,​V>
      Map<K,​List<V>>
      fetchGroups​(Class<? extends K> keyType, RecordMapper<? super R,​V> valueMapper)
      Execute the query and return a Map with results grouped by the given key entity and mapped into the given entity type.
      Map<?,​Result<R>> fetchGroups​(String keyFieldName)
      Execute the query and return a Map with one of the result's columns as key and a list of corresponding records as value.
      Map<Record,​Result<R>> fetchGroups​(String[] keyFieldNames)
      Execute the query and return a Map with the result grouped by the given keys.
      <E> Map<Record,​List<E>> fetchGroups​(String[] keyFieldNames, Class<? extends E> type)
      Execute the query and return a Map with results grouped by the given keys and mapped into the given entity type.
      Map<Record,​Result<Record>> fetchGroups​(String[] keyFieldNames, String[] valueFieldNames)
      Execute the query and return a Map with the result grouped by the given keys.
      <E> Map<Record,​List<E>> fetchGroups​(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> Map<?,​List<E>> fetchGroups​(String keyFieldName, Class<? extends E> type)
      Return a Map with results grouped by the given key and mapped into the given entity type.
      Map<?,​List<?>> fetchGroups​(String keyFieldName, String valueFieldName)
      Execute the query and return a Map with one of the result's columns as key and another one of the result's columns as value
      <E> Map<?,​List<E>> fetchGroups​(String keyFieldName, RecordMapper<? super R,​E> mapper)
      Return a Map with results grouped by the given key and mapped by the given mapper.
      Map<Record,​Result<R>> fetchGroups​(Field<?>[] keys)
      Execute the query and return a Map with the result grouped by the given keys.
      <E> Map<Record,​List<E>> fetchGroups​(Field<?>[] keys, Class<? extends E> type)
      Execute the query and return a Map with results grouped by the given keys and mapped into the given entity type.
      Map<Record,​Result<Record>> fetchGroups​(Field<?>[] keys, Field<?>[] values)
      Execute the query and return a Map with the result grouped by the given keys.
      <E> Map<Record,​List<E>> 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> Map<K,​Result<R>> fetchGroups​(Field<K> key)
      Execute the query and return a Map with one of the result's columns as key and a list of corresponding records as value.
      <K,​E>
      Map<K,​List<E>>
      fetchGroups​(Field<K> key, Class<? extends E> type)
      Return a Map with results grouped by the given key and mapped into the given entity type.
      <K,​V>
      Map<K,​List<V>>
      fetchGroups​(Field<K> key, Field<V> value)
      Execute the query and return a Map with one of the result's columns as key and another one of the result's columns as value
      <K,​E>
      Map<K,​List<E>>
      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.
      Map<?,​Result<R>> fetchGroups​(Name keyFieldName)
      Execute the query and return a Map with one of the result's columns as key and a list of corresponding records as value.
      Map<Record,​Result<R>> fetchGroups​(Name[] keyFieldNames)
      Execute the query and return a Map with the result grouped by the given keys.
      <E> Map<Record,​List<E>> fetchGroups​(Name[] keyFieldNames, Class<? extends E> type)
      Execute the query and return a Map with results grouped by the given keys and mapped into the given entity type.
      Map<Record,​Result<Record>> fetchGroups​(Name[] keyFieldNames, Name[] valueFieldNames)
      Execute the query and return a Map with the result grouped by the given keys.
      <E> Map<Record,​List<E>> fetchGroups​(Name[] 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> Map<?,​List<E>> fetchGroups​(Name keyFieldName, Class<? extends E> type)
      Return a Map with results grouped by the given key and mapped into the given entity type.
      Map<?,​List<?>> fetchGroups​(Name keyFieldName, Name valueFieldName)
      Execute the query and return a Map with one of the result's columns as key and another one of the result's columns as value
      <E> Map<?,​List<E>> fetchGroups​(Name keyFieldName, RecordMapper<? super R,​E> mapper)
      Return a Map with results grouped by the given key and mapped by the given mapper.
      <K> Map<K,​Result<R>> fetchGroups​(RecordMapper<? super R,​K> keyMapper)
      Execute the query and return a Map with results grouped by the given key entity and mapped into the given entity type.
      <K,​V>
      Map<K,​List<V>>
      fetchGroups​(RecordMapper<? super R,​K> keyMapper, Class<V> valueType)
      Execute the query and return a Map with results grouped by the given key entity and mapped into the given entity type.
      <K,​V>
      Map<K,​List<V>>
      fetchGroups​(RecordMapper<? super R,​K> keyMapper, RecordMapper<? super R,​V> valueMapper)
      Execute the query and return a Map with results grouped by the given key entity and mapped into the given entity type.
      <S extends Record>
      Map<S,​Result<R>>
      fetchGroups​(Table<S> table)
      Execute the query and return a Map with the result grouped by the given table.
      <E,​S extends Record>
      Map<S,​List<E>>
      fetchGroups​(Table<S> table, Class<? extends E> type)
      Execute the query and return a Map with results grouped by the given table and mapped into the given entity type.
      <E,​S extends Record>
      Map<S,​List<E>>
      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.
      <S extends Record,​T extends Record>
      Map<S,​Result<T>>
      fetchGroups​(Table<S> keyTable, Table<T> valueTable)
      Execute the query and return a Map with the result grouped by the given table.
      <H extends RecordHandler<? super R>>
      H
      fetchInto​(H handler)
      Fetch results into a custom handler callback.
      <E> List<E> fetchInto​(Class<? extends E> type)
      Map resulting records onto a custom type.
      <Z extends Record>
      Result<Z>
      fetchInto​(Table<Z> table)
      Map resulting records onto a custom record.
      FutureResult<R> fetchLater()
      Deprecated.
      - 3.2.0 - [#2581] - This method will be removed in jOOQ 4.0
      FutureResult<R> fetchLater​(ExecutorService executor)
      Deprecated.
      - 3.2.0 - [#2581] - This method will be removed in jOOQ 4.0
      Cursor<R> fetchLazy()
      Execute the query and "lazily" return the generated result.
      Cursor<R> fetchLazy​(int fetchSize)
      Deprecated.
      - [#2811] - 3.3.0 - Use fetchSize(int) and fetchLazy() instead.
      Results fetchMany()
      Execute a query, possibly returning several result sets.
      Map<?,​R> fetchMap​(int keyFieldIndex)
      Execute the query and return a Map with one of the result's columns as key and the corresponding records as value.
      Map<Record,​R> fetchMap​(int[] keyFieldIndexes)
      Execute the query and return a Map with keys as a map key and the corresponding record as value.
      Map<Record,​Record> fetchMap​(int[] keyFieldIndexes, int[] valueFieldIndexes)
      Execute the query and return a Map with keys as a map key and the corresponding record as value.
      <E> Map<List<?>,​E> fetchMap​(int[] keyFieldIndexes, Class<? extends E> type)
      Execute the query and return a Map with results grouped by the given keys and mapped into the given entity type.
      <E> Map<List<?>,​E> 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.
      Map<?,​?> fetchMap​(int keyFieldIndex, int valueFieldIndex)
      Execute the query and return a Map with one of the result's columns as key and another one of the result's columns as value
      <E> Map<?,​E> fetchMap​(int keyFieldIndex, Class<? extends E> type)
      Execute the query and return a Map with results grouped by the given key and mapped into the given entity type.
      <E> Map<?,​E> 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.
      <K> Map<K,​R> fetchMap​(Class<? extends K> keyType)
      Execute the query and return a Map with results grouped by the given key entity.
      <K,​V>
      Map<K,​V>
      fetchMap​(Class<? extends K> keyType, Class<? extends V> valueType)
      Execute the query and return a Map with results grouped by the given key entity and mapped into the given entity type.
      <K,​V>
      Map<K,​V>
      fetchMap​(Class<? extends K> keyType, RecordMapper<? super R,​V> valueMapper)
      Execute the query and return a Map with results grouped by the given key entity and mapped into the given entity type.
      Map<?,​R> fetchMap​(String keyFieldName)
      Execute the query and return a Map with one of the result's columns as key and the corresponding records as value.
      Map<Record,​R> fetchMap​(String[] keyFieldNames)
      Execute the query and return a Map with keys as a map key and the corresponding record as value.
      <E> Map<List<?>,​E> fetchMap​(String[] keyFieldNames, Class<? extends E> type)
      Execute the query and return a Map with results grouped by the given keys and mapped into the given entity type.
      Map<Record,​Record> fetchMap​(String[] keyFieldNames, String[] valueFieldNames)
      Execute the query and return a Map with keys as a map key and the corresponding record as value.
      <E> Map<List<?>,​E> fetchMap​(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> Map<?,​E> fetchMap​(String keyFieldName, Class<? extends E> type)
      Execute the query and return a Map with results grouped by the given key and mapped into the given entity type.
      Map<?,​?> fetchMap​(String keyFieldName, String valueFieldName)
      Execute the query and return a Map with one of the result's columns as key and another one of the result's columns as value
      <E> Map<?,​E> fetchMap​(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.
      Map<Record,​R> fetchMap​(Field<?>[] keys)
      Execute the query and return a Map with keys as a map key and the corresponding record as value.
      <E> Map<List<?>,​E> fetchMap​(Field<?>[] keys, Class<? extends E> type)
      Execute the query and return a Map with results grouped by the given keys and mapped into the given entity type.
      Map<Record,​Record> fetchMap​(Field<?>[] keys, Field<?>[] values)
      Execute the query and return a Map with keys as a map key and the corresponding record as value.
      <E> Map<List<?>,​E> 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> Map<K,​R> fetchMap​(Field<K> key)
      Execute the query and return a Map with one of the result's columns as key and the corresponding records as value.
      <K,​E>
      Map<K,​E>
      fetchMap​(Field<K> key, Class<? extends E> type)
      Execute the query and return a Map with results grouped by the given key and mapped into the given entity type.
      <K,​V>
      Map<K,​V>
      fetchMap​(Field<K> key, Field<V> value)
      Execute the query and return a Map with one of the result's columns as key and another one of the result's columns as value
      <K,​E>
      Map<K,​E>
      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.
      Map<?,​R> fetchMap​(Name keyFieldName)
      Execute the query and return a Map with one of the result's columns as key and the corresponding records as value.
      Map<Record,​R> fetchMap​(Name[] keyFieldNames)
      Execute the query and return a Map with keys as a map key and the corresponding record as value.
      <E> Map<List<?>,​E> fetchMap​(Name[] keyFieldNames, Class<? extends E> type)
      Execute the query and return a Map with results grouped by the given keys and mapped into the given entity type.
      Map<Record,​Record> fetchMap​(Name[] keyFieldNames, Name[] valueFieldNames)
      Execute the query and return a Map with keys as a map key and the corresponding record as value.
      <E> Map<List<?>,​E> fetchMap​(Name[] 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> Map<?,​E> fetchMap​(Name keyFieldName, Class<? extends E> type)
      Execute the query and return a Map with results grouped by the given key and mapped into the given entity type.
      Map<?,​?> fetchMap​(Name keyFieldName, Name valueFieldName)
      Execute the query and return a Map with one of the result's columns as key and another one of the result's columns as value
      <E> Map<?,​E> fetchMap​(Name 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.
      <K> Map<K,​R> fetchMap​(RecordMapper<? super R,​K> keyMapper)
      Execute the query and return a Map with results grouped by the given key entity and mapped into the given entity type.
      <K,​V>
      Map<K,​V>
      fetchMap​(RecordMapper<? super R,​K> keyMapper, Class<V> valueType)
      Execute the query and return a Map with results grouped by the given key entity and mapped into the given entity type.
      <K,​V>
      Map<K,​V>
      fetchMap​(RecordMapper<? super R,​K> keyMapper, RecordMapper<? super R,​V> valueMapper)
      Execute the query and return a Map with results grouped by the given key entity and mapped into the given entity type.
      <S extends Record>
      Map<S,​R>
      fetchMap​(Table<S> table)
      Execute the query and return a Map with table as a map key and the corresponding record as value.
      <E,​S extends Record>
      Map<S,​E>
      fetchMap​(Table<S> table, Class<? extends E> type)
      Execute the query and return a Map with results grouped by the given table and mapped into the given entity type.
      <E,​S extends Record>
      Map<S,​E>
      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.
      <S extends Record,​T extends Record>
      Map<S,​T>
      fetchMap​(Table<S> keyTable, Table<T> valueTable)
      Execute the query and return a Map with table as a map key and the corresponding record as value.
      List<Map<String,​Object>> fetchMaps()
      Execute the query and return the generated result as a list of name/value maps.
      R fetchOne()
      Execute the query and return at most one resulting record.
      Object fetchOne​(int fieldIndex)
      Execute the query and return at most one resulting value for a field index from the generated result.
      <T> T fetchOne​(int fieldIndex, Class<? extends T> type)
      Execute the query and return at most one resulting value for a field index from the generated result.
      <U> U fetchOne​(int fieldIndex, Converter<?,​? extends U> converter)
      Execute the query and return at most one resulting value for a field index from the generated result.
      Object fetchOne​(String fieldName)
      Execute the query and return at most one resulting value for a field name from the generated result.
      <T> T fetchOne​(String fieldName, Class<? extends T> type)
      Execute the query and return at most one resulting value for a field name from the generated result.
      <U> U fetchOne​(String fieldName, Converter<?,​? extends U> converter)
      Execute the query and return at most one resulting value for a field name from the generated result.
      <T> T fetchOne​(Field<?> field, Class<? extends T> type)
      Execute the query and return at most one resulting value for a field from the generated result.
      <T> T fetchOne​(Field<T> field)
      Execute the query and return at most one resulting value for a field from the generated result.
      <T,​U>
      U
      fetchOne​(Field<T> field, Converter<? super T,​? extends U> converter)
      Execute the query and return at most one resulting value for a field from the generated result.
      Object fetchOne​(Name fieldName)
      Execute the query and return at most one resulting value for a field name from the generated result.
      <T> T fetchOne​(Name fieldName, Class<? extends T> type)
      Execute the query and return at most one resulting value for a field name from the generated result.
      <U> U fetchOne​(Name fieldName, Converter<?,​? extends U> converter)
      Execute the query and return at most one resulting value for a field name from the generated result.
      <E> E fetchOne​(RecordMapper<? super R,​E> mapper)
      Execute the query and return at most one resulting value into a custom mapper callback.
      Object[] fetchOneArray()
      Execute the query and return at most one resulting record as an array
      <E> E fetchOneInto​(Class<? extends E> type)
      Map resulting records onto a custom type.
      <Z extends Record>
      Z
      fetchOneInto​(Table<Z> table)
      Map resulting records onto a custom record.
      Map<String,​Object> fetchOneMap()
      Execute the query and return at most one resulting record as a name/value map.
      Optional<R> fetchOptional()
      Execute the query and return at most one resulting record.
      Optional<?> fetchOptional​(int fieldIndex)
      Execute the query and return at most one resulting value for a field index from the generated result.
      <T> Optional<T> fetchOptional​(int fieldIndex, Class<? extends T> type)
      Execute the query and return at most one resulting value for a field index from the generated result.
      <U> Optional<U> fetchOptional​(int fieldIndex, Converter<?,​? extends U> converter)
      Execute the query and return at most one resulting value for a field index from the generated result.
      Optional<?> fetchOptional​(String fieldName)
      Execute the query and return at most one resulting value for a field name from the generated result.
      <T> Optional<T> fetchOptional​(String fieldName, Class<? extends T> type)
      Execute the query and return at most one resulting value for a field name from the generated result.
      <U> Optional<U> fetchOptional​(String fieldName, Converter<?,​? extends U> converter)
      Execute the query and return at most one resulting value for a field name from the generated result.
      <T> Optional<T> fetchOptional​(Field<?> field, Class<? extends T> type)
      Execute the query and return at most one resulting value for a field from the generated result.
      <T> Optional<T> fetchOptional​(Field<T> field)
      Execute the query and return at most one resulting value for a field from the generated result.
      <T,​U>
      Optional<U>
      fetchOptional​(Field<T> field, Converter<? super T,​? extends U> converter)
      Execute the query and return at most one resulting value for a field from the generated result.
      Optional<?> fetchOptional​(Name fieldName)
      Execute the query and return at most one resulting value for a field name from the generated result.
      <T> Optional<T> fetchOptional​(Name fieldName, Class<? extends T> type)
      Execute the query and return at most one resulting value for a field name from the generated result.
      <U> Optional<U> fetchOptional​(Name fieldName, Converter<?,​? extends U> converter)
      Execute the query and return at most one resulting value for a field name from the generated result.
      <E> Optional<E> fetchOptional​(RecordMapper<? super R,​E> mapper)
      Execute the query and return at most one resulting value into a custom mapper callback.
      Optional<Object[]> fetchOptionalArray()
      Execute the query and return at most one resulting record as an array.
      <E> Optional<E> fetchOptionalInto​(Class<? extends E> type)
      Map resulting records onto a custom type.
      <Z extends Record>
      Optional<Z>
      fetchOptionalInto​(Table<Z> table)
      Map resulting records onto a custom record.
      Optional<Map<String,​Object>> fetchOptionalMap()
      Execute the query and return at most one resulting record as a name/value map.
      ResultSet fetchResultSet()
      Execute the query and return the generated result as a JDBC ResultSet.
      Set<?> fetchSet​(int fieldIndex)
      Execute the query and return all values for a field index from the generated result.
      <T> Set<T> fetchSet​(int fieldIndex, Class<? extends T> type)
      Execute the query and return all values for a field index from the generated result.
      <U> Set<U> fetchSet​(int fieldIndex, Converter<?,​? extends U> converter)
      Execute the query and return all values for a field index from the generated result.
      Set<?> fetchSet​(String fieldName)
      Execute the query and return all values for a field name from the generated result.
      <T> Set<T> fetchSet​(String fieldName, Class<? extends T> type)
      Execute the query and return all values for a field name from the generated result.
      <U> Set<U> fetchSet​(String fieldName, Converter<?,​? extends U> converter)
      Execute the query and return all values for a field name from the generated result.
      <T> Set<T> fetchSet​(Field<?> field, Class<? extends T> type)
      Execute the query and return all values for a field from the generated result.
      <T> Set<T> fetchSet​(Field<T> field)
      Execute the query and return all values for a field from the generated result.
      <T,​U>
      Set<U>
      fetchSet​(Field<T> field, Converter<? super T,​? extends U> converter)
      Execute the query and return all values for a field from the generated result.
      Set<?> fetchSet​(Name fieldName)
      Execute the query and return all values for a field name from the generated result.
      <T> Set<T> fetchSet​(Name fieldName, Class<? extends T> type)
      Execute the query and return all values for a field name from the generated result.
      <U> Set<U> fetchSet​(Name fieldName, Converter<?,​? extends U> converter)
      Execute the query and return all values for a field name from the generated result.
      <E> Set<E> fetchSet​(RecordMapper<? super R,​E> mapper)
      Fetch results into a custom mapper callback.
      R fetchSingle()
      Execute the query and return exactly one resulting record.
      Object fetchSingle​(int fieldIndex)
      Execute the query and return exactly one resulting value for a field index from the generated result.
      <T> T fetchSingle​(int fieldIndex, Class<? extends T> type)
      Execute the query and return exactly one resulting value for a field index from the generated result.
      <U> U fetchSingle​(int fieldIndex, Converter<?,​? extends U> converter)
      Execute the query and return exactly one resulting value for a field index from the generated result.
      Object fetchSingle​(String fieldName)
      Execute the query and return exactly one resulting value for a field name from the generated result.
      <T> T fetchSingle​(String fieldName, Class<? extends T> type)
      Execute the query and return exactly one resulting value for a field name from the generated result.
      <U> U fetchSingle​(String fieldName, Converter<?,​? extends U> converter)
      Execute the query and return exactly one resulting value for a field name from the generated result.
      <T> T fetchSingle​(Field<?> field, Class<? extends T> type)
      Execute the query and return exactly one resulting value for a field from the generated result.
      <T> T fetchSingle​(Field<T> field)
      Execute the query and return exactly one resulting value for a field from the generated result.
      <T,​U>
      U
      fetchSingle​(Field<T> field, Converter<? super T,​? extends U> converter)
      Execute the query and return exactly one resulting value for a field from the generated result.
      Object fetchSingle​(Name fieldName)
      Execute the query and return exactly one resulting value for a field name from the generated result.
      <T> T fetchSingle​(Name fieldName, Class<? extends T> type)
      Execute the query and return exactly one resulting value for a field name from the generated result.
      <U> U fetchSingle​(Name fieldName, Converter<?,​? extends U> converter)
      Execute the query and return exactly one resulting value for a field name from the generated result.
      <E> E fetchSingle​(RecordMapper<? super R,​E> mapper)
      Execute the query and return exactly one resulting value into a custom mapper callback.
      Object[] fetchSingleArray()
      Execute the query and return exactly one resulting record as an array
      <E> E fetchSingleInto​(Class<? extends E> type)
      Map resulting records onto a custom type.
      <Z extends Record>
      Z
      fetchSingleInto​(Table<Z> table)
      Map resulting records onto a custom record.
      Map<String,​Object> fetchSingleMap()
      Execute the query and return exactly one resulting record as a name/value map.
      ResultQuery<R> fetchSize​(int rows)
      Specify the fetch size of the underlying Statement.
      Stream<R> fetchStream()
      Stream this query.
      <E> Stream<E> fetchStreamInto​(Class<? extends E> type)
      Stream this query, mapping records into a custom type.
      <Z extends Record>
      Stream<Z>
      fetchStreamInto​(Table<Z> table)
      Stream this query, mapping records into a custom record.
      default void forEach​(Consumer<? super R> action)
      Execute the query using fetch() and pass all results to a consumer.
      Class<? extends R> getRecordType()
      The record type produced by this query.
      Result<R> getResult()
      Return the result generated by a previous call to execute().
      ResultQuery<R> intern​(int... fieldIndexes)
      Deprecated.
      - 3.10 - [#6254] - This functionality is no longer supported and will be removed in 4.0
      ResultQuery<R> intern​(String... fieldNames)
      Deprecated.
      - 3.10 - [#6254] - This functionality is no longer supported and will be removed in 4.0
      ResultQuery<R> intern​(Field<?>... fields)
      Deprecated.
      - 3.10 - [#6254] - This functionality is no longer supported and will be removed in 4.0
      ResultQuery<R> intern​(Name... fieldNames)
      Deprecated.
      - 3.10 - [#6254] - This functionality is no longer supported and will be removed in 4.0
      Iterator<R> iterator()
      Execute the query using fetch() and return the generated result as an Iterator.
      ResultQuery<R> keepStatement​(boolean keepStatement)
      Keep the query's underlying statement open after execution.
      ResultQuery<R> maxRows​(int rows)
      Specify the maximum number of rows returned by the underlying Statement.
      ResultQuery<R> poolable​(boolean poolable)
      Specify whether any JDBC Statement created by this query should be Statement.setPoolable(boolean).
      ResultQuery<R> queryTimeout​(int timeout)
      Specify the query timeout in number of seconds for the underlying JDBC Statement.
      ResultQuery<R> resultSetConcurrency​(int resultSetConcurrency)
      Specify the ResultSet concurrency of ResultSet objects created by jOOQ.
      ResultQuery<R> resultSetHoldability​(int resultSetHoldability)
      Specify the ResultSet holdability of ResultSet objects created by jOOQ.
      ResultQuery<R> resultSetType​(int resultSetType)
      Specify the ResultSet type of ResultSet objects created by jOOQ.
      default Spliterator<R> spliterator()
      Execute the query using fetch() and return the generated result as an Spliterator.
      Stream<R> stream()
      Stream this query.
      • Methods inherited from interface org.reactivestreams.Publisher

        subscribe