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 |
---|---|
Param<?> |
DSLContext.extractParam(QueryPart part,
String name)
Get a named parameter from a
QueryPart , provided its name. |
Param<?> |
Query.getParam(String name)
Get a named parameter from the
Query , provided its name. |
Modifier and Type | Method and Description |
---|---|
Map<String,Param<?>> |
DSLContext.extractParams(QueryPart part)
Get a
Map of named parameters. |
Map<String,Param<?>> |
Query.getParams()
Get a
Map of named parameters. |
Modifier and Type | Method and Description |
---|---|
void |
SelectQuery.addLimit(int offset,
Param<Integer> numberOfRows)
Limit the results of this select using named parameters.
|
void |
SelectQuery.addLimit(Param<Integer> numberOfRows)
Limit the results of this select using named parameters.
|
void |
SelectQuery.addLimit(Param<Integer> offset,
int numberOfRows)
Limit the results of this select.
|
void |
SelectQuery.addLimit(Param<Integer> offset,
Param<Integer> numberOfRows)
Limit the results of this select using named parameters.
|
void |
SelectQuery.addLimit(Param<Integer> offset,
Param<Integer> numberOfRows)
Limit the results of this select using named parameters.
|
SelectForUpdateStep<R> |
SelectLimitStep.limit(int offset,
Param<Integer> numberOfRows)
Add a
LIMIT clause to the query using named parameters
Note that some dialects do not support bind values at all in
LIMIT or TOP clauses! |
SelectForUpdateStep<R> |
SelectSeekLimitStep.limit(Param<Integer> numberOfRows)
Add a
LIMIT clause to the query using named parameters. |
SelectOffsetStep<R> |
SelectLimitStep.limit(Param<Integer> numberOfRows)
Add a
LIMIT clause to the query using named parameters
Note that some dialects do not support bind values at all in
LIMIT or TOP clauses! |
SelectForUpdateStep<R> |
SelectLimitStep.limit(Param<Integer> offset,
int numberOfRows)
Add a
LIMIT clause to the query using named parameters
Note that some dialects do not support bind values at all in
LIMIT or TOP clauses! |
SelectForUpdateStep<R> |
SelectLimitStep.limit(Param<Integer> offset,
Param<Integer> numberOfRows)
Add a
LIMIT clause to the query using named parameters
Note that some dialects do not support bind values at all in
LIMIT or TOP clauses! |
SelectForUpdateStep<R> |
SelectLimitStep.limit(Param<Integer> offset,
Param<Integer> numberOfRows)
Add a
LIMIT clause to the query using named parameters
Note that some dialects do not support bind values at all in
LIMIT or TOP clauses! |
SelectForUpdateStep<R> |
SelectOffsetStep.offset(Param<Integer> offset)
Add an
OFFSET clause to the query using a named parameter
If there is no LIMIT .. |
Modifier and Type | Method and Description |
---|---|
Param<?> |
DefaultDSLContext.extractParam(QueryPart part,
String name) |
static Param<String> |
DSL.inline(char character)
Create a bind value, that is always inlined.
|
static Param<String> |
DSL.inline(Character character)
Create a bind value, that is always inlined.
|
static Param<String> |
DSL.inline(CharSequence character)
Create a bind value, that is always inlined.
|
static <T> Param<T> |
DSL.inline(Object value,
Class<T> type)
Create a bind value, that is always inlined.
|
static <T> Param<T> |
DSL.inline(Object value,
DataType<T> type)
Create a bind value, that is always inlined.
|
static <T> Param<T> |
DSL.inline(Object value,
Field<T> field)
Create a bind value, that is always inlined.
|
static <T> Param<T> |
DSL.inline(T value)
Create a bind value, that is always inlined.
|
static <T> Param<Object> |
DSL.param()
Create an unnamed parameter with a generic type (
Object /
SQLDataType.OTHER ) and no initial value. |
static <T> Param<T> |
DSL.param(Class<T> type)
Create an unnamed parameter with a defined type and no initial value.
|
static <T> Param<T> |
DSL.param(DataType<T> type)
Create an unnamed parameter with a defined type and no initial value.
|
static <T> Param<T> |
DSL.param(Field<T> field)
Create an unnamed parameter with the defined type of another field and no
initial value.
|
static Param<Object> |
DSL.param(String name)
Create a named parameter with a generic type (
Object /
SQLDataType.OTHER ) and no initial value. |
static <T> Param<T> |
DSL.param(String name,
Class<T> type)
Create a named parameter with a defined type and no initial value.
|
static <T> Param<T> |
DSL.param(String name,
DataType<T> type)
Create a named parameter with a defined type and no initial value.
|
static <T> Param<T> |
DSL.param(String name,
Field<T> type)
Create a named parameter with a defined type of another field and no
initial value.
|
static <T> Param<T> |
DSL.param(String name,
T value)
Create a named parameter with an initial value.
|
static <T> Param<T> |
DSL.val(Object value,
Class<T> type)
Get a bind value with an associated type, taken from a field.
|
static <T> Param<T> |
DSL.val(Object value,
DataType<T> type)
Get a bind value with an associated type.
|
static <T> Param<T> |
DSL.val(Object value,
Field<T> field)
Get a bind value with an associated type, taken from a field.
|
static <T> Param<T> |
DSL.val(T value)
Get a bind value.
|
static <T> Param<T> |
DSL.value(Object value,
Class<T> type)
A synonym for
DSL.val(Object, Class) to be used in Scala and Groovy, where
val is a reserved keyword. |
static <T> Param<T> |
DSL.value(Object value,
DataType<T> type)
A synonym for
DSL.val(Object, DataType) to be used in Scala and Groovy, where
val is a reserved keyword. |
static <T> Param<T> |
DSL.value(Object value,
Field<T> field)
A synonym for
DSL.val(Object, Field) to be used in Scala and Groovy, where
val is a reserved keyword. |
static <T> Param<T> |
DSL.value(T value)
A synonym for
DSL.val(Object) to be used in Scala and Groovy, where
val is a reserved keyword. |
Modifier and Type | Method and Description |
---|---|
Map<String,Param<?>> |
DefaultDSLContext.extractParams(QueryPart part) |
Copyright © 2015. All Rights Reserved.