- java.lang.Object
-
- org.jooq.impl.Internal
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <R extends Record>
Check<R>createCheck(Table<R> table, Name name, String condition)
Factory method for check constraints.static <R extends Record>
Check<R>createCheck(Table<R> table, Name name, String condition, boolean enforced)
Factory method for check constraints.static <R extends Record,T extends Record>
TableField<R,T>createEmbeddable(Name name, Class<T> recordType, Table<R> table, TableField<R,?>... fields)
Factory method for embeddable types.static <R extends Record,U extends Record>
ForeignKey<R,U>createForeignKey(UniqueKey<U> key, Table<R> table, String name, TableField<R,?>... fields)
Factory method for foreign keys.static <R extends Record,U extends Record>
ForeignKey<R,U>createForeignKey(UniqueKey<U> key, Table<R> table, String name, TableField<R,?>[] fields, boolean enforced)
Factory method for foreign keys.static <R extends Record,U extends Record>
ForeignKey<R,U>createForeignKey(UniqueKey<U> key, Table<R> table, TableField<R,?>... fields)
Factory method for foreign keys.static <R extends Record,T>
Identity<R,T>createIdentity(Table<R> table, TableField<R,T> field)
Factory method for identities.static Index
createIndex(String name, Table<?> table, OrderField<?>[] sortFields, boolean unique)
Factory method for indexes.static Index
createIndex(Name name, Table<?> table, OrderField<?>[] sortFields, boolean unique)
Factory method for indexes.static <T> Parameter<T>
createParameter(String name, DataType<T> type, boolean isDefaulted, boolean isUnnamed)
Factory method for parameters.static <T,U>
Parameter<U>createParameter(String name, DataType<T> type, boolean isDefaulted, boolean isUnnamed, Binding<T,U> binding)
Factory method for parameters.static <T,U>
Parameter<U>createParameter(String name, DataType<T> type, boolean isDefaulted, boolean isUnnamed, Converter<T,U> converter)
Factory method for parameters.static <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.static Name
createPathAlias(Table<?> child, ForeignKey<?,?> path)
Factory method for path aliases.static <R extends UDTRecord<R>>
Queue<R>createQueue(String name, Schema schema, UDT<R> type)
static <T extends Number>
Sequence<T>createSequence(String name, Schema schema, DataType<T> type)
Factory method for sequences.static <T extends Number>
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>
UniqueKey<R>createUniqueKey(Table<R> table, String name, TableField<R,?>... fields)
Factory method for unique keys.static <R extends Record>
UniqueKey<R>createUniqueKey(Table<R> table, String name, TableField<R,?>[] fields, boolean enforced)
Factory method for unique keys.static <R extends Record>
UniqueKey<R>createUniqueKey(Table<R> table, TableField<R,?>... fields)
Factory method for unique keys.
-
-
-
Method Detail
-
createEmbeddable
public static final <R extends Record,T extends Record> TableField<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.
-
createUniqueKey
@SafeVarargs public static final <R extends Record> UniqueKey<R> createUniqueKey(Table<R> table, TableField<R,?>... fields)
Factory method for unique keys.
-
createUniqueKey
@SafeVarargs public static final <R extends Record> UniqueKey<R> createUniqueKey(Table<R> table, String name, TableField<R,?>... fields)
Factory method for unique keys.
-
createUniqueKey
public static final <R extends Record> UniqueKey<R> createUniqueKey(Table<R> table, String name, TableField<R,?>[] fields, boolean enforced)
Factory method for unique keys.
-
createForeignKey
@SafeVarargs public static final <R extends Record,U extends Record> ForeignKey<R,U> createForeignKey(UniqueKey<U> key, Table<R> table, TableField<R,?>... fields)
Factory method for foreign keys.
-
createForeignKey
@SafeVarargs public static final <R extends Record,U extends Record> ForeignKey<R,U> createForeignKey(UniqueKey<U> key, Table<R> table, String name, TableField<R,?>... fields)
Factory method for foreign keys.
-
createForeignKey
public static final <R extends Record,U extends Record> ForeignKey<R,U> createForeignKey(UniqueKey<U> key, Table<R> table, String name, TableField<R,?>[] fields, boolean enforced)
Factory method for foreign keys.
-
createSequence
public static final <T extends Number> Sequence<T> createSequence(String name, Schema schema, DataType<T> type)
Factory method for sequences.
-
createSequence
public static final <T extends Number> 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
public static final <R extends Record> Check<R> createCheck(Table<R> table, Name name, String condition)
Factory method for check constraints.
-
createCheck
public static final <R extends Record> Check<R> createCheck(Table<R> table, Name name, String condition, boolean enforced)
Factory method for check constraints.
-
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.
-
-