Uses of Interface
org.jooq.SQL
Packages that use 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 ConditionCombine this condition with another one using theOperator.ANDoperator.@NotNull DeleteConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ANDoperator@NotNull DivideByOnConditionStepCombine the currently assembled conditions with another one using theOperator.ANDoperator.@NotNull InsertOnConflictConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ANDoperator and proceed to the next step.@NotNull MergeOnConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ANDoperator and proceed to the next step.@NotNull SelectConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ANDoperator and proceed to the next step.@NotNull SelectConnectByAfterStartWithConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ANDoperator and proceed to the next step.@NotNull SelectConnectByConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ANDoperator and proceed to the next step.@NotNull SelectHavingConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ANDoperator and proceed to the next step.@NotNull SelectOnConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ANDoperator and proceed to the next step.@NotNull SelectQualifyConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ANDoperator and proceed to the next step.@NotNull TableOnConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ANDoperator.@NotNull UpdateConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ANDoperator@NotNull CreateViewFinalStepAdd anASclause to theCREATE VIEWstatement.@NotNull SelectConnectByAfterStartWithConditionStep<R>Add an Oracle-specificCONNECT BYclause to the query@NotNull SelectConnectByConditionStep<R>Add an Oracle-specificCONNECT BYclause to the query.@NotNull SelectConnectByAfterStartWithConditionStep<R>SelectConnectByAfterStartWithStep.connectByNoCycle(SQL sql) Add an Oracle-specificCONNECT BY NOCYCLEclause to the query@NotNull SelectConnectByConditionStep<R>SelectConnectByStep.connectByNoCycle(SQL sql) Add an Oracle-specificCONNECT BY NOCYCLEclause to the query@NotNull SelectJoinStep<R>SelectJoinStep.crossApply(SQL sql) CROSS APPLYa table to this table.Table.crossApply(SQL sql) CROSS APPLYa table to this table.@NotNull SelectJoinStep<R>Convenience method toCROSS JOINa table to the last table added to theFROMclause usingTable.crossJoin(String)CROSS JOINa table to this table.intExecute 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 newCompletionStagethat 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 ResultsExecute a new query holding plain SQL, possibly returning several result sets.@Nullable RecordExecute 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 RecordDSLContext.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 ObjectDSLContext.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 clauseto the aggregate function.@NotNull SelectJoinStep<R>Add aFROMclause to the query.@NotNull UpdateWhereStep<R>Add aFROMclause to the query.@NotNull SelectOnStep<R>Convenience method toFULL OUTER JOINa table to the last table added to theFROMclause usingTable.fullOuterJoin(String).@NotNull TableOnStep<Record>FULL OUTER JOINa table to this table.@NotNull SelectOnStep<R>SelectJoinStep.fullOuterJoin(SQL sql) Convenience method toFULL OUTER JOINa table to the last table added to theFROMclause usingTable.fullOuterJoin(String)@NotNull TableOnStep<Record>Table.fullOuterJoin(SQL sql) FULL OUTER JOINa table to this table.@NotNull SelectHavingConditionStep<R>Add aHAVINGclause to the query.@NotNull SelectOnStep<R>Convenience method toINNER JOINa table to the last table added to theFROMclause usingTable.join(String).@NotNull TableOnStep<Record>INNER JOINa table to this table.@NotNull SelectOnStep<R>Convenience method toINNER JOINa table to the last table added to theFROMclause usingTable.join(String).@NotNull TableOnStep<Record>INNER JOINa table to this table.@NotNull SelectJoinPartitionByStep<R>Convenience method toLEFT OUTER JOINa table to the last table added to theFROMclause usingTable.leftOuterJoin(String).@NotNull TablePartitionByStep<Record>LEFT OUTER JOINa table to this table.@NotNull TableOnStep<Record>LEFT OUTER JOINa table to this table.@NotNull SelectJoinPartitionByStep<R>SelectJoinStep.leftOuterJoin(SQL sql) Convenience method toLEFT OUTER JOINa table to the last table added to theFROMclause usingTable.leftOuterJoin(String)@NotNull TablePartitionByStep<Record>Table.leftOuterJoin(SQL sql) LEFT OUTER JOINa table to this table.@NotNull TableOnStep<Record>TableOuterJoinStep.leftOuterJoin(SQL sql) LEFT OUTER JOINa table to this table.@NotNull SelectJoinStep<R>SelectJoinStep.naturalFullOuterJoin(SQL sql) Convenience method toNATURAL FULL OUTER JOINa table to the last table added to theFROMclause usingTable.naturalFullOuterJoin(String)Table.naturalFullOuterJoin(SQL sql) NATURAL FULL OUTER JOINa table to this table.@NotNull SelectJoinStep<R>SelectJoinStep.naturalJoin(SQL sql) Convenience method toNATURAL JOINa table to the last table added to theFROMclause usingTable.naturalJoin(String)Table.naturalJoin(SQL sql) NATURAL JOINa table to this table.@NotNull SelectJoinStep<R>SelectJoinStep.naturalLeftOuterJoin(SQL sql) Convenience method toNATURAL LEFT OUTER JOINa table to the last table added to theFROMclause usingTable.naturalLeftOuterJoin(String)Table.naturalLeftOuterJoin(SQL sql) NATURAL LEFT OUTER JOINa table to this table.@NotNull SelectJoinStep<R>SelectJoinStep.naturalRightOuterJoin(SQL sql) Convenience method toNATURAL RIGHT OUTER JOINa table to the last table added to theFROMclause usingTable.naturalRightOuterJoin(String)Table.naturalRightOuterJoin(SQL sql) NATURAL RIGHT OUTER JOINa table to this table.@NotNull DivideByOnConditionStepAdd a division condition to theDIVIDE BYclause@NotNull MergeOnConditionStep<R>Provide join conditions and proceed to the next step@NotNull SelectOnConditionStep<R>Add anONclause to the previousJOIN.@NotNull TableOnConditionStep<R>Add anONclause to theJOIN.@NotNull ConditionCombine this condition with another one using theOperator.ORoperator.@NotNull DeleteConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ORoperator@NotNull DivideByOnConditionStepCombine the currently assembled conditions with another one using theOperator.ORoperator.@NotNull InsertOnConflictConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ORoperator and proceed to the next step.@NotNull MergeOnConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ORoperator and proceed to the next step.@NotNull SelectConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ORoperator and proceed to the next step.@NotNull SelectHavingConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ORoperator and proceed to the next step.@NotNull SelectOnConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ORoperator and proceed to the next step.@NotNull SelectQualifyConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ORoperator and proceed to the next step.@NotNull TableOnConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ORoperator.@NotNull UpdateConditionStep<R>Combine the currently assembled conditions with another one using theOperator.ORoperator@NotNull SelectJoinStep<R>SelectJoinStep.outerApply(SQL sql) OUTER APPLYa table to this table.Table.outerApply(SQL sql) OUTER APPLYa table to this table.@NotNull SelectQualifyConditionStep<R>Add aQUALIFYclause to the query.@NotNull RowCountQueryCreate 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 JOINa table to the last table added to theFROMclause usingTable.rightOuterJoin(String).@NotNull TablePartitionByStep<Record>RIGHT OUTER JOINa table to this table.@NotNull TableOnStep<Record>RIGHT OUTER JOINa table to this table.@NotNull SelectJoinPartitionByStep<R>SelectJoinStep.rightOuterJoin(SQL sql) Convenience method toRIGHT OUTER JOINa table to the last table added to theFROMclause usingTable.rightOuterJoin(String)@NotNull TablePartitionByStep<Record>Table.rightOuterJoin(SQL sql) RIGHT OUTER JOINa table to this table.@NotNull TableOnStep<Record>TableOuterJoinStep.rightOuterJoin(SQL sql) RIGHT OUTER JOINa 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 WITHclause to the query'sCONNECT BYclause.@NotNull SelectGroupByStep<R>Add an Oracle-specificSTART WITHclause to the query'sCONNECT BYclause.@NotNull CreateTableFinalStepAdd vendor-specific storage clauses to theCREATE TABLEstatement.@NotNull SelectOnStep<R>SelectJoinStep.straightJoin(SQL sql) STRAIGHT_JOINa table to this table.@NotNull TableOnStep<Record>Table.straightJoin(SQL sql) STRAIGHT_JOINa table to this table.@NotNull DeleteWhereStep<R>Add aUSINGclause to the query.@NotNull CreateTriggerActionStepAdd theWHENclause to theCREATE TRIGGERstatement.@NotNull MergeMatchedThenStep<R>MergeMatchedStep.whenMatchedAnd(SQL sql) Add theWHEN MATCHED ANDclause to theMERGEstatement.@NotNull CreateIndexFinalStepAdd theWHEREclause to theCREATE INDEXstatement.@NotNull DeleteConditionStep<R>Add conditions to the query.@NotNull InsertOnConflictDoUpdateStep<R>Add aWHEREclause to supply an index predicate to theINSERTstatement'sON CONFLICT …clause.@NotNull InsertOnConflictConditionStep<R>Add aWHEREclause to theINSERTstatement'sON DUPLICATE KEY UPDATEorON CONFLICT … DO UPDATEclause.@NotNull SelectConditionStep<R>Add aWHEREclause to the query.Add aWHEREclause to the table.@NotNull UpdateConditionStep<R>Add conditions to the querySpecify a SQL Server style table hint for query optimisation. -
Uses of SQL in org.jooq.impl
Methods in org.jooq.impl that return SQLModifier and TypeMethodDescriptionstatic @NotNull SQLA custom SQL clause that can render arbitrary expressions.static @NotNull SQLA custom SQL clause that can render arbitrary expressions.static @NotNull SQLA custom SQL clause that can render arbitrary expressions.Methods in org.jooq.impl with parameters of type SQLModifier and TypeMethodDescriptionstatic @NotNull ConditionCreate a new condition holding plain SQL.intDefaultDSLContext.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 RowCountQueryCreate 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 StatementA custom procedural fragment that can render arbitrary statements.A custom SQL clause that can render arbitrary table expressions.