Uses of Interface
org.jooq.SQL
Package
Description
This package contains jOOQ's public API.
This package contains jOOQ's implementation classes.
-
Uses of SQL in org.jooq
Modifier and TypeMethodDescription@NotNull Condition
Combine this condition with another one using theOperator.AND
operator.@NotNull DeleteConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.AND
operator@NotNull DivideByOnConditionStep
Combine the currently assembled conditions with another one using theOperator.AND
operator.@NotNull InsertOnConflictConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.AND
operator and proceed to the next step.@NotNull MergeOnConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.AND
operator and proceed to the next step.@NotNull SelectConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.AND
operator and proceed to the next step.@NotNull SelectConnectByAfterStartWithConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.AND
operator and proceed to the next step.@NotNull SelectConnectByConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.AND
operator and proceed to the next step.@NotNull SelectHavingConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.AND
operator and proceed to the next step.@NotNull SelectOnConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.AND
operator and proceed to the next step.@NotNull SelectQualifyConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.AND
operator and proceed to the next step.@NotNull TableOnConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.AND
operator.@NotNull UpdateConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.AND
operator@NotNull CreateViewFinalStep
Add theAS
clause to theCREATE VIEW
statement.@NotNull SelectConnectByAfterStartWithConditionStep
<R> Add an Oracle-specificCONNECT BY
clause to the query@NotNull SelectConnectByConditionStep
<R> Add an Oracle-specificCONNECT BY
clause to the query.@NotNull SelectConnectByAfterStartWithConditionStep
<R> SelectConnectByAfterStartWithStep.connectByNoCycle
(SQL sql) Add an Oracle-specificCONNECT BY NOCYCLE
clause to the query@NotNull SelectConnectByConditionStep
<R> SelectConnectByStep.connectByNoCycle
(SQL sql) Add an Oracle-specificCONNECT BY NOCYCLE
clause to the query@NotNull SelectJoinStep
<R> SelectJoinStep.crossApply
(SQL sql) CROSS APPLY
a table to this table.Table.crossApply
(SQL sql) CROSS APPLY
a table to this table.@NotNull SelectJoinStep
<R> Convenience method toCROSS JOIN
a table to the last table added to theFROM
clause usingTable.crossJoin(String)
CROSS JOIN
a table to this table.int
Execute a query holding plain SQL.Execute a new query holding plain SQL.@NotNull CompletionStage
<Result<Record>> DSLContext.fetchAsync
(Executor executor, SQL sql) Fetch results in a newCompletionStage
that is asynchronously completed by a task running in the given executor.@NotNull CompletionStage
<Result<Record>> DSLContext.fetchAsync
(SQL sql) Fetch results in a newCompletionStage
.Execute a new query holding plain SQL and "lazily" return the generated result.@NotNull Results
Execute a new query holding plain SQL, possibly returning several result sets.@Nullable Record
Execute a new query holding plain SQL.DSLContext.fetchOptional
(SQL sql) Execute a new query holding plain SQL.@NotNull Optional
<?> DSLContext.fetchOptionalValue
(SQL sql) Execute a new query holding plain SQL.@NotNull Record
DSLContext.fetchSingle
(SQL sql) Execute a new query holding plain SQL.DSLContext.fetchStream
(SQL sql) Execute a new query holding plain SQL and "lazily" return the generated result.@Nullable Object
DSLContext.fetchValue
(SQL sql) Execute a new query holding plain SQL.@NotNull List
<?> DSLContext.fetchValues
(SQL sql) Execute a new query holding plain SQL.@NotNull WindowBeforeOverStep
<T> AggregateFilterStep.filterWhere
(SQL sql) Add aFILTER clause
to the aggregate function.@NotNull SelectJoinStep
<R> Add aFROM
clause to the query.@NotNull UpdateWhereStep
<R> Add aFROM
clause to the query.@NotNull SelectOnStep
<R> Convenience method toFULL OUTER JOIN
a table to the last table added to theFROM
clause usingTable.fullOuterJoin(String)
.@NotNull TablePartitionByStep
<Record> FULL OUTER JOIN
a table to this table.@NotNull TablePartitionByStep
<Record> FULL OUTER JOIN
a table to this table.@NotNull SelectOnStep
<R> SelectJoinStep.fullOuterJoin
(SQL sql) Convenience method toFULL OUTER JOIN
a table to the last table added to theFROM
clause usingTable.fullOuterJoin(String)
@NotNull TablePartitionByStep
<Record> Table.fullOuterJoin
(SQL sql) FULL OUTER JOIN
a table to this table.@NotNull TablePartitionByStep
<Record> TableOuterJoinStep.fullOuterJoin
(SQL sql) FULL OUTER JOIN
a table to this table.@NotNull SelectHavingConditionStep
<R> Add aHAVING
clause to the query.@NotNull SelectOnStep
<R> Convenience method toINNER JOIN
a table to the last table added to theFROM
clause usingTable.join(String)
.@NotNull TableOnStep
<Record> INNER JOIN
a table to this table.@NotNull SelectOnStep
<R> Convenience method toINNER JOIN
a table to the last table added to theFROM
clause usingTable.join(String)
.@NotNull TableOnStep
<Record> INNER JOIN
a table to this table.@NotNull SelectJoinPartitionByStep
<R> Convenience method toLEFT OUTER JOIN
a table to the last table added to theFROM
clause usingTable.leftOuterJoin(String)
.@NotNull TablePartitionByStep
<Record> LEFT OUTER JOIN
a table to this table.@NotNull TablePartitionByStep
<Record> LEFT OUTER JOIN
a table to this table.@NotNull SelectJoinPartitionByStep
<R> SelectJoinStep.leftOuterJoin
(SQL sql) Convenience method toLEFT OUTER JOIN
a table to the last table added to theFROM
clause usingTable.leftOuterJoin(String)
@NotNull TablePartitionByStep
<Record> Table.leftOuterJoin
(SQL sql) LEFT OUTER JOIN
a table to this table.@NotNull TablePartitionByStep
<Record> TableOuterJoinStep.leftOuterJoin
(SQL sql) LEFT OUTER JOIN
a table to this table.@NotNull SelectJoinStep
<R> SelectJoinStep.naturalFullOuterJoin
(SQL sql) Convenience method toNATURAL FULL OUTER JOIN
a table to the last table added to theFROM
clause usingTable.naturalFullOuterJoin(String)
Table.naturalFullOuterJoin
(SQL sql) NATURAL FULL OUTER JOIN
a table to this table.@NotNull SelectJoinStep
<R> SelectJoinStep.naturalJoin
(SQL sql) Convenience method toNATURAL JOIN
a table to the last table added to theFROM
clause usingTable.naturalJoin(String)
Table.naturalJoin
(SQL sql) NATURAL JOIN
a table to this table.@NotNull SelectJoinStep
<R> SelectJoinStep.naturalLeftOuterJoin
(SQL sql) Convenience method toNATURAL LEFT OUTER JOIN
a table to the last table added to theFROM
clause usingTable.naturalLeftOuterJoin(String)
Table.naturalLeftOuterJoin
(SQL sql) NATURAL LEFT OUTER JOIN
a table to this table.@NotNull SelectJoinStep
<R> SelectJoinStep.naturalRightOuterJoin
(SQL sql) Convenience method toNATURAL RIGHT OUTER JOIN
a table to the last table added to theFROM
clause usingTable.naturalRightOuterJoin(String)
Table.naturalRightOuterJoin
(SQL sql) NATURAL RIGHT OUTER JOIN
a table to this table.@NotNull DivideByOnConditionStep
Add a division condition to theDIVIDE BY
clause@NotNull MergeOnConditionStep
<R> Provide join conditions and proceed to the next step@NotNull SelectOnConditionStep
<R> Add anON
clause to the previousJOIN
.@NotNull TableOnConditionStep
<R> Add anON
clause to theJOIN
.@NotNull Condition
Combine this condition with another one using theOperator.OR
operator.@NotNull DeleteConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.OR
operator@NotNull DivideByOnConditionStep
Combine the currently assembled conditions with another one using theOperator.OR
operator.@NotNull InsertOnConflictConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.OR
operator and proceed to the next step.@NotNull MergeOnConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.OR
operator and proceed to the next step.@NotNull SelectConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.OR
operator and proceed to the next step.@NotNull SelectHavingConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.OR
operator and proceed to the next step.@NotNull SelectOnConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.OR
operator and proceed to the next step.@NotNull SelectQualifyConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.OR
operator and proceed to the next step.@NotNull TableOnConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.OR
operator.@NotNull UpdateConditionStep
<R> Combine the currently assembled conditions with another one using theOperator.OR
operator@NotNull SelectJoinStep
<R> SelectJoinStep.outerApply
(SQL sql) OUTER APPLY
a table to this table.Table.outerApply
(SQL sql) OUTER APPLY
a table to this table.@NotNull SelectQualifyConditionStep
<R> Add aQUALIFY
clause to the query.@NotNull RowCountQuery
Create a new query holding plain SQL.@NotNull ResultQuery
<Record> DSLContext.resultQuery
(SQL sql) Create a new query holding plain SQL.@NotNull SelectJoinPartitionByStep
<R> Convenience method toRIGHT OUTER JOIN
a table to the last table added to theFROM
clause usingTable.rightOuterJoin(String)
.@NotNull TablePartitionByStep
<Record> RIGHT OUTER JOIN
a table to this table.@NotNull TablePartitionByStep
<Record> RIGHT OUTER JOIN
a table to this table.@NotNull SelectJoinPartitionByStep
<R> SelectJoinStep.rightOuterJoin
(SQL sql) Convenience method toRIGHT OUTER JOIN
a table to the last table added to theFROM
clause usingTable.rightOuterJoin(String)
@NotNull TablePartitionByStep
<Record> Table.rightOuterJoin
(SQL sql) RIGHT OUTER JOIN
a table to this table.@NotNull TablePartitionByStep
<Record> TableOuterJoinStep.rightOuterJoin
(SQL sql) RIGHT OUTER JOIN
a table to this table.@NotNull SelectWhereStep
<Record> DSLContext.selectFrom
(SQL sql) Create a new DSL select statement, projecting*
.@NotNull SelectWhereStep
<Record> WithStep.selectFrom
(SQL sql) Create a new DSL select statement, projecting*
.@NotNull SelectConnectByAfterStartWithStep
<R> Add an Oracle-specificSTART WITH
clause to the query'sCONNECT BY
clause.@NotNull SelectGroupByStep
<R> Add an Oracle-specificSTART WITH
clause to the query'sCONNECT BY
clause.@NotNull CreateTableFinalStep
Add theSTORAGE
clause to theCREATE TABLE
statement.@NotNull SelectOnStep
<R> SelectJoinStep.straightJoin
(SQL sql) STRAIGHT_JOIN
a table to this table.@NotNull TableOnStep
<Record> Table.straightJoin
(SQL sql) STRAIGHT_JOIN
a table to this table.@NotNull DeleteWhereStep
<R> Add aUSING
clause to the query.@NotNull CreateTriggerActionStep
Add theWHEN
clause to theCREATE TRIGGER
statement.@NotNull MergeMatchedThenStep
<R> MergeMatchedStep.whenMatchedAnd
(SQL sql) Add theWHEN MATCHED AND
clause to theMERGE
statement.@NotNull MergeNotMatchedThenStep
<R> MergeNotMatchedStep.whenNotMatchedAnd
(SQL sql) Add theWHEN NOT MATCHED AND
clause to theMERGE
statement.@NotNull MergeMatchedThenStep
<R> MergeNotMatchedStep.whenNotMatchedBySourceAnd
(SQL sql) Add theWHEN NOT MATCHED BY SOURCE AND
clause to theMERGE
statement.@NotNull MergeNotMatchedThenStep
<R> MergeNotMatchedStep.whenNotMatchedByTargetAnd
(SQL sql) Add theWHEN NOT MATCHED BY TARGET AND
clause to theMERGE
statement.@NotNull CreateIndexFinalStep
Add theWHERE
clause to theCREATE INDEX
statement.@NotNull DeleteConditionStep
<R> Add conditions to the query.@NotNull InsertOnConflictDoUpdateStep
<R> Add aWHERE
clause to supply an index predicate to theINSERT
statement'sON CONFLICT …
clause.@NotNull InsertOnConflictConditionStep
<R> Add aWHERE
clause to theINSERT
statement'sON DUPLICATE KEY UPDATE
orON CONFLICT … DO UPDATE
clause.@NotNull SelectConditionStep
<R> Add aWHERE
clause to the query.Add aWHERE
clause to the table.@NotNull UpdateConditionStep
<R> Add conditions to the querySpecify a SQL Server style table hint for query optimisation.@NotNull Condition
Combine this condition with another one using theOperator.XOR
operator. -
Uses of SQL in org.jooq.impl
Modifier and TypeMethodDescription@Nullable SQL
QOM.CreateTable.$storage()
static @NotNull SQL
A custom SQL clause that can render arbitrary expressions.static @NotNull SQL
A custom SQL clause that can render arbitrary expressions.static @NotNull SQL
A custom SQL clause that can render arbitrary expressions.static @NotNull SQL
A custom SQL clause that can render arbitrary expressions.Modifier and TypeMethodDescription@NotNull QOM.CreateTable
static @NotNull Condition
Create a new condition holding plain SQL.int
DefaultDSLContext.fetchAsync
(Executor executor, SQL sql) DefaultDSLContext.fetchAsync
(SQL sql) DefaultDSLContext.fetchOptional
(SQL sql) Optional
<?> DefaultDSLContext.fetchOptionalValue
(SQL sql) DefaultDSLContext.fetchSingle
(SQL sql) DefaultDSLContext.fetchStream
(SQL sql) DefaultDSLContext.fetchValue
(SQL sql) List
<?> DefaultDSLContext.fetchValues
(SQL sql) Create a "plain SQL" field.static <T> @NotNull Field
<T> Create a "plain SQL" field.static <T> @NotNull Field
<T> Create a "plain SQL" field.static @NotNull RowCountQuery
Create a new query holding plain SQL.DefaultDSLContext.resultQuery
(SQL sql) static @NotNull ResultQuery
<Record> DSL.resultQuery
(SQL sql) Create a new query holding plain SQL.DefaultDSLContext.selectFrom
(SQL sql) static @NotNull SelectWhereStep
<Record> DSL.selectFrom
(SQL sql) Create a new DSL select statement, projecting*
.static @NotNull Statement
A custom procedural fragment that can render arbitrary statements.A custom SQL clause that can render arbitrary table expressions.