-
- All Superinterfaces:
QueryPart,Serializable
public interface Keyword extends QueryPart
A SQL keyword.A
Keywordis aQueryPartthat renders a SQL keyword according to the settings specified inSettings.getRenderKeywordCase(). It is useful mostly in jOOQ's internals and for users who wish to make extensive use of "plain SQL templating".Example:
// Assuming import static org.jooq.impl.DSL.*; Field<Integer> field = field( "{0}({1} {2} {3})", SQLDataType.INTEGER, keyword("extract"), keyword("year"), keyword("from"), ACTOR.LAST_UPDATE );Instances can be created using
DSL.keyword(String)and overloads.- Author:
- Lukas Eder