Module org.jooq
Package org.jooq.impl

Class Internal


  • @Internal
    public final class Internal
    extends Object
    A utility class that grants access to internal API, to be used only by generated code.

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

    Author:
    Lukas Eder
    • Method Detail

      • createEmbeddable

        public static final <R extends Record,​T extends RecordTableField<R,​T> createEmbeddable​(Name name,
                                                                                                             Class<T> recordType,
                                                                                                             Table<R> table,
                                                                                                             TableField<R,​?>... fields)
        Factory method for embeddable types.
      • createIndex

        public static final Index createIndex​(String name,
                                              Table<?> table,
                                              OrderField<?>[] sortFields,
                                              boolean unique)
        Factory method for indexes.
      • createIndex

        public static final Index createIndex​(Name name,
                                              Table<?> table,
                                              OrderField<?>[] sortFields,
                                              boolean unique)
        Factory method for indexes.
      • createIdentity

        public static final <R extends Record,​T> Identity<R,​T> createIdentity​(Table<R> table,
                                                                                          TableField<R,​T> field)
        Factory method for identities.
      • createPathAlias

        public static final Name createPathAlias​(Table<?> child,
                                                 ForeignKey<?,​?> path)
        Factory method for path aliases.
      • createParameter

        public static final <T> Parameter<T> createParameter​(String name,
                                                             DataType<T> type,
                                                             boolean isDefaulted,
                                                             boolean isUnnamed)
        Factory method for parameters.
      • createParameter

        public static final <T,​U> Parameter<U> createParameter​(String name,
                                                                     DataType<T> type,
                                                                     boolean isDefaulted,
                                                                     boolean isUnnamed,
                                                                     Converter<T,​U> converter)
        Factory method for parameters.
      • createParameter

        public static final <T,​U> Parameter<U> createParameter​(String name,
                                                                     DataType<T> type,
                                                                     boolean isDefaulted,
                                                                     boolean isUnnamed,
                                                                     Binding<T,​U> binding)
        Factory method for parameters.
      • createParameter

        public static final <T,​X,​U> Parameter<U> createParameter​(String name,
                                                                             DataType<T> type,
                                                                             boolean isDefaulted,
                                                                             boolean isUnnamed,
                                                                             Converter<X,​U> converter,
                                                                             Binding<T,​X> binding)
        Factory method for parameters.