Module org.jooq
Package org.jooq

Interface QueryPartInternal

All Superinterfaces:
QueryPart, Serializable
All Known Implementing Classes:
AbstractRoutine, BuiltInDataType, CatalogImpl, CustomCondition, CustomField, CustomQueryPart, CustomStatement, CustomTable, DefaultDataType, LazyCatalog, LazySchema, PackageImpl, SchemaImpl, SequenceImpl, TableImpl, UDTImpl, UDTPathFieldImpl, UDTPathTableFieldImpl

@Internal public interface QueryPartInternal extends QueryPart
Base functionality declaration for all query objects

This interface is for JOOQ INTERNAL USE only. Do not reference directly

Author:
Lukas Eder
  • Method Details

    • rendersContent

      @Deprecated boolean rendersContent(Context<?> ctx)
      Deprecated.
      - Calling rendersContent(Context) directly on a QueryPart is almost always a mistake.
      Whether a call to accept(Context) would render content.
    • accept

      @Deprecated void accept(Context<?> ctx)
      Deprecated.
      - Calling accept(Context) directly on a QueryPart is almost always a mistake. Instead, Context.visit(QueryPart) should be called.
      This QueryPart can accept a Context object in order to render a SQL string or to bind its variables.
    • clauses

      Clause[] clauses(Context<?> ctx)
      The Clauses that are represented by this query part.

      QueryParts can specify several Clauses for which an event will be emitted before (in forward order) and after (in reverse order) visiting the the query part through Context.visit(QueryPart)

      This method is for JOOQ INTERNAL USE only. Do not reference directly

      Returns:
      The Clauses represented by this query part or null or an empty array if this query part does not represent a clause.
    • declaresFields

      boolean declaresFields()
      Check whether this QueryPart is able to declare fields in a SELECT clause.

      This method can be used by any Context to check how a certain SQL clause should be rendered.

      This method is for JOOQ INTERNAL USE only. Do not reference directly

    • declaresTables

      boolean declaresTables()
      Check whether this QueryPart is able to declare tables in a FROM clause or JOIN clause.

      This method can be used by any Context to check how a certain SQL clause should be rendered.

      This method is for JOOQ INTERNAL USE only. Do not reference directly

    • declaresWindows

      boolean declaresWindows()
      Check whether this QueryPart is able to declare windows in a WINDOW clause.

      This method can be used by any Context to check how a certain SQL clause should be rendered.

      This method is for JOOQ INTERNAL USE only. Do not reference directly

    • declaresCTE

      boolean declaresCTE()
      Check whether this QueryPart is able to declare common table expressions in a WITH clause.

      This method can be used by any Context to check how a certain SQL clause should be rendered.

      This method is for JOOQ INTERNAL USE only. Do not reference directly

    • declaresParameters

      @Pro boolean declaresParameters()
      Check whether this QueryPart is able to declare function or procedure parameters.

      This method can be used by any Context to check how a certain SQL clause should be rendered.

      This method is for JOOQ INTERNAL USE only. Do not reference directly

    • generatesCast

      boolean generatesCast()
      Check whether this QueryPart is able to generate CAST expressions around bind variables.

      This method can be used by any Context to check how a certain SQL clause should be rendered.

      This method is for JOOQ INTERNAL USE only. Do not reference directly