- java.lang.Object
-
- org.jooq.impl.Internal
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <R extends Record>
@NotNull Check<R>createCheck(Table<R> table, Name name, String condition)
Factory method for check constraints.static <R extends Record>
@NotNull Check<R>createCheck(Table<R> table, Name name, String condition, boolean enforced)
Factory method for check constraints.static <T> @NotNull Domain<T>
createDomain(Schema schema, Name name, DataType<T> type, Check<?>... checks)
Factory method for domain specifications.static <R extends Record,E extends EmbeddableRecord<E>>
@NotNull TableField<R,E>createEmbeddable(Name name, Class<E> recordType, boolean replacesFields, Table<R> table, TableField<R,?>... fields)
Factory method for embeddable types.static <R extends Record,E extends EmbeddableRecord<E>>
@NotNull TableField<R,E>createEmbeddable(Name name, Class<E> recordType, Table<R> table, TableField<R,?>... fields)
Factory method for embeddable types.static <R extends Record,U extends Record>
@NotNull ForeignKey<R,U>createForeignKey(Table<R> table, Name name, TableField<R,?>[] fkFields, UniqueKey<U> uk, TableField<U,?>[] ukFields, boolean enforced)
Factory method for foreign keys.static <R extends Record,U extends Record,ER extends EmbeddableRecord<ER>>
@NotNull ForeignKey<R,U>createForeignKey(Table<R> table, Name name, TableField<R,ER> fkEmbeddableField, UniqueKey<U> uk, TableField<U,ER> ukEmbeddableField, boolean enforced)
Factory method for foreign keys.static <R extends Record,U extends Record>
@NotNull ForeignKey<R,U>createForeignKey(UniqueKey<U> key, Table<R> table, String name, TableField<R,?>... fields)
Deprecated.- 3.14.0 - [#9404] - Please re-generate your code.static <R extends Record,U extends Record>
@NotNull ForeignKey<R,U>createForeignKey(UniqueKey<U> key, Table<R> table, String name, TableField<R,?>[] fields, boolean enforced)
Deprecated.- 3.14.0 - [#9404] - Please re-generate your code.static <R extends Record,U extends Record>
@NotNull ForeignKey<R,U>createForeignKey(UniqueKey<U> key, Table<R> table, TableField<R,?>... fields)
Deprecated.- 3.14.0 - [#9404] - Please re-generate your code.static <R extends Record,T>
@NotNull Identity<R,T>createIdentity(Table<R> table, TableField<R,T> field)
Factory method for identities.static @NotNull Index
createIndex(String name, Table<?> table, OrderField<?>[] sortFields, boolean unique)
Deprecated.- 3.14.0 - [#9404] - Please re-generate your code.static @NotNull Index
createIndex(Name name, Table<?> table, OrderField<?>[] sortFields, boolean unique)
Factory method for indexes.static <T> @NotNull Parameter<T>
createParameter(String name, DataType<T> type, boolean isDefaulted, boolean isUnnamed)
Factory method for parameters.static <T,U>
@NotNull Parameter<U>createParameter(String name, DataType<T> type, boolean isDefaulted, boolean isUnnamed, Binding<T,U> binding)
Factory method for parameters.static <T,U>
@NotNull Parameter<U>createParameter(String name, DataType<T> type, boolean isDefaulted, boolean isUnnamed, Converter<T,U> converter)
Factory method for parameters.static <T,X,U>
@NotNull Parameter<U>createParameter(String name, DataType<T> type, boolean isDefaulted, boolean isUnnamed, Converter<X,U> converter, Binding<T,X> binding)
Factory method for parameters.static @NotNull Name
createPathAlias(Table<?> child, ForeignKey<?,?> path)
Factory method for path aliases.static <R extends UDTRecord<R>>
@NotNull Queue<R>createQueue(String name, Schema schema, UDT<R> type)
static <T extends Number>
@NotNull Sequence<T>createSequence(String name, Schema schema, DataType<T> type)
Factory method for sequences.static <T extends Number>
@NotNull Sequence<T>createSequence(String name, Schema schema, DataType<T> type, Number startWith, Number incrementBy, Number minvalue, Number maxvalue, boolean cycle, Number cache)
Factory method for sequences.static <R extends Record>
@NotNull UniqueKey<R>createUniqueKey(Table<R> table, String name, TableField<R,?>... fields)
Deprecated.- 3.14.0 - [#9404] - Please re-generate your code.static <R extends Record>
@NotNull UniqueKey<R>createUniqueKey(Table<R> table, String name, TableField<R,?>[] fields, boolean enforced)
Deprecated.- 3.14.0 - [#9404] - Please re-generate your code.static <R extends Record>
@NotNull UniqueKey<R>createUniqueKey(Table<R> table, Name name, TableField<R,?>... fields)
Factory method for unique keys.static <R extends Record>
@NotNull UniqueKey<R>createUniqueKey(Table<R> table, Name name, TableField<R,?>[] fields, boolean enforced)
Factory method for unique keys.static <R extends Record,ER extends EmbeddableRecord<ER>>
@NotNull UniqueKey<R>createUniqueKey(Table<R> table, Name name, TableField<R,ER> embeddableField, boolean enforced)
Factory method for unique keys.static <R extends Record>
@NotNull UniqueKey<R>createUniqueKey(Table<R> table, TableField<R,?>... fields)
Factory method for unique keys.static <R extends Record,ER extends EmbeddableRecord<ER>>
@NotNull TableField<R,?>[]fields(TableField<R,ER> embeddableField)
Deprecated.- [#11058] - 3.14.5 - Please re-generate your code.static <R extends Record,ER extends EmbeddableRecord<ER>>
@NotNull RowfieldsRow(TableField<R,ER> embeddableField)
Get the fields row of an embeddable type.static <T> org.reactivestreams.Subscriber<T>
subscriber(Consumer<? super org.reactivestreams.Subscription> subscription, Consumer<? super T> onNext, Consumer<? super Throwable> onError, Runnable onComplete)
Create aSubscriber
from a set of lambdas.
-
-
-
Method Detail
-
createEmbeddable
@SafeVarargs @NotNull public static final <R extends Record,E extends EmbeddableRecord<E>> @NotNull TableField<R,E> createEmbeddable(Name name, Class<E> recordType, Table<R> table, TableField<R,?>... fields)
Factory method for embeddable types.
-
createEmbeddable
@SafeVarargs @NotNull public static final <R extends Record,E extends EmbeddableRecord<E>> @NotNull TableField<R,E> createEmbeddable(Name name, Class<E> recordType, boolean replacesFields, Table<R> table, TableField<R,?>... fields)
Factory method for embeddable types.
-
createIndex
@NotNull public static final @NotNull Index createIndex(Name name, Table<?> table, OrderField<?>[] sortFields, boolean unique)
Factory method for indexes.
-
createIdentity
@NotNull public static final <R extends Record,T> @NotNull Identity<R,T> createIdentity(Table<R> table, TableField<R,T> field)
Factory method for identities.
-
createUniqueKey
@NotNull @SafeVarargs public static final <R extends Record> @NotNull UniqueKey<R> createUniqueKey(Table<R> table, TableField<R,?>... fields)
Factory method for unique keys.
-
createUniqueKey
@NotNull @SafeVarargs public static final <R extends Record> @NotNull UniqueKey<R> createUniqueKey(Table<R> table, Name name, TableField<R,?>... fields)
Factory method for unique keys.
-
createUniqueKey
@NotNull public static final <R extends Record> @NotNull UniqueKey<R> createUniqueKey(Table<R> table, Name name, TableField<R,?>[] fields, boolean enforced)
Factory method for unique keys.
-
createUniqueKey
@NotNull public static final <R extends Record,ER extends EmbeddableRecord<ER>> @NotNull UniqueKey<R> createUniqueKey(Table<R> table, Name name, TableField<R,ER> embeddableField, boolean enforced)
Factory method for unique keys.
-
createForeignKey
@Deprecated @NotNull @SafeVarargs public static final <R extends Record,U extends Record> @NotNull ForeignKey<R,U> createForeignKey(UniqueKey<U> key, Table<R> table, TableField<R,?>... fields)
Deprecated.- 3.14.0 - [#9404] - Please re-generate your code.Factory method for foreign keys.
-
createForeignKey
@NotNull public static final <R extends Record,U extends Record> @NotNull ForeignKey<R,U> createForeignKey(Table<R> table, Name name, TableField<R,?>[] fkFields, UniqueKey<U> uk, TableField<U,?>[] ukFields, boolean enforced)
Factory method for foreign keys.
-
createForeignKey
@NotNull public static final <R extends Record,U extends Record,ER extends EmbeddableRecord<ER>> @NotNull ForeignKey<R,U> createForeignKey(Table<R> table, Name name, TableField<R,ER> fkEmbeddableField, UniqueKey<U> uk, TableField<U,ER> ukEmbeddableField, boolean enforced)
Factory method for foreign keys.
-
createSequence
@NotNull public static final <T extends Number> @NotNull Sequence<T> createSequence(String name, Schema schema, DataType<T> type)
Factory method for sequences.
-
createSequence
@NotNull public static final <T extends Number> @NotNull Sequence<T> createSequence(String name, Schema schema, DataType<T> type, Number startWith, Number incrementBy, Number minvalue, Number maxvalue, boolean cycle, Number cache)
Factory method for sequences.
-
createCheck
@NotNull public static final <R extends Record> @NotNull Check<R> createCheck(Table<R> table, Name name, String condition)
Factory method for check constraints.
-
createCheck
@NotNull public static final <R extends Record> @NotNull Check<R> createCheck(Table<R> table, Name name, String condition, boolean enforced)
Factory method for check constraints.
-
createDomain
@NotNull public static final <T> @NotNull Domain<T> createDomain(Schema schema, Name name, DataType<T> type, Check<?>... checks)
Factory method for domain specifications.
-
createPathAlias
@NotNull public static final @NotNull Name createPathAlias(Table<?> child, ForeignKey<?,?> path)
Factory method for path aliases.
-
createParameter
@NotNull public static final <T> @NotNull Parameter<T> createParameter(String name, DataType<T> type, boolean isDefaulted, boolean isUnnamed)
Factory method for parameters.
-
createParameter
@NotNull public static final <T,U> @NotNull Parameter<U> createParameter(String name, DataType<T> type, boolean isDefaulted, boolean isUnnamed, Converter<T,U> converter)
Factory method for parameters.
-
createParameter
@NotNull public static final <T,U> @NotNull Parameter<U> createParameter(String name, DataType<T> type, boolean isDefaulted, boolean isUnnamed, Binding<T,U> binding)
Factory method for parameters.
-
createParameter
@NotNull public static final <T,X,U> @NotNull Parameter<U> createParameter(String name, DataType<T> type, boolean isDefaulted, boolean isUnnamed, Converter<X,U> converter, Binding<T,X> binding)
Factory method for parameters.
-
createQueue
@NotNull @Pro public static final <R extends UDTRecord<R>> @NotNull Queue<R> createQueue(String name, Schema schema, UDT<R> type)
-
createIndex
@NotNull @Deprecated public static final @NotNull Index createIndex(String name, Table<?> table, OrderField<?>[] sortFields, boolean unique)
Deprecated.- 3.14.0 - [#9404] - Please re-generate your code.Factory method for indexes.
-
createUniqueKey
@NotNull @Deprecated @SafeVarargs public static final <R extends Record> @NotNull UniqueKey<R> createUniqueKey(Table<R> table, String name, TableField<R,?>... fields)
Deprecated.- 3.14.0 - [#9404] - Please re-generate your code.Factory method for unique keys.
-
createUniqueKey
@NotNull @Deprecated public static final <R extends Record> @NotNull UniqueKey<R> createUniqueKey(Table<R> table, String name, TableField<R,?>[] fields, boolean enforced)
Deprecated.- 3.14.0 - [#9404] - Please re-generate your code.Factory method for unique keys.
-
createForeignKey
@NotNull @Deprecated @SafeVarargs public static final <R extends Record,U extends Record> @NotNull ForeignKey<R,U> createForeignKey(UniqueKey<U> key, Table<R> table, String name, TableField<R,?>... fields)
Deprecated.- 3.14.0 - [#9404] - Please re-generate your code.Factory method for foreign keys.
-
createForeignKey
@NotNull @Deprecated public static final <R extends Record,U extends Record> @NotNull ForeignKey<R,U> createForeignKey(UniqueKey<U> key, Table<R> table, String name, TableField<R,?>[] fields, boolean enforced)
Deprecated.- 3.14.0 - [#9404] - Please re-generate your code.Factory method for foreign keys.
-
fields
@Deprecated @NotNull public static final <R extends Record,ER extends EmbeddableRecord<ER>> @NotNull TableField<R,?>[] fields(TableField<R,ER> embeddableField)
Deprecated.- [#11058] - 3.14.5 - Please re-generate your code.Get the fields of an embeddable type.
-
fieldsRow
@NotNull public static final <R extends Record,ER extends EmbeddableRecord<ER>> @NotNull Row fieldsRow(TableField<R,ER> embeddableField)
Get the fields row of an embeddable type.
-
subscriber
public static <T> org.reactivestreams.Subscriber<T> subscriber(Consumer<? super org.reactivestreams.Subscription> subscription, Consumer<? super T> onNext, Consumer<? super Throwable> onError, Runnable onComplete)
Create aSubscriber
from a set of lambdas.This is used for internal purposes and thus subject for change.
-
-