Top Description Methods
org.jooq.impl

pack-priv Interface SimpleCheckQueryPart

extends QueryPartInternal
Known Direct Implementers
org.jooq.impl.SortFieldImpl, org.jooq.impl.FieldAlias, org.jooq.impl.Alias, org.jooq.impl.TableAlias, org.jooq.impl.TableImpl, org.jooq.impl.QueryPartCollectionView
Imports
org.jooq.Context, .OrderField, .QueryPart, .QueryPartInternal

A marker interface for all query parts that are capable of generating "simple" SQL. This information is used mainly for formatting decisions.

Unlike SimpleQueryPart, which marks a QueryPart that is unconditionally simple, this allows for checking whether a QueryPart is isSimple(Context)

Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public default boolean
isSimple(Context<?> ctx)

Whether the QueryPart really is simple.

Inherited from org.jooq.QueryPartInternal:
acceptclausesdeclaresCTEdeclaresFieldsdeclaresTablesdeclaresWindowsgeneratesCastrendersContent

Method Detail

isSimpleback to summary
public default boolean isSimple(Context<?> ctx)

Whether the QueryPart really is simple.

e.g. an OrderField can be simple if its contents are also simple.