Top Inners Fields Constructors Methods
org.jooq.impl

pack-priv final Class Interpreter

extends Object
Class Inheritance
Annotations
@SuppressWarnings:rawtypes, unchecked
Static Imports
java.lang.Boolean.TRUE, java.util.Arrays.asList, org.jooq.Name.Quoted.QUOTED, org.jooq.conf.SettingsTools.interpreterLocale, org.jooq.impl.AbstractName.NO_NAME, .QOM.Cascade.CASCADE, .QOM.Cascade.RESTRICT, .ConstraintType.FOREIGN_KEY, .ConstraintType.PRIMARY_KEY, .DSL.name, .DSL.schema, .FieldsImpl.fieldsRow0, .SQLDataType.BIGINT, .Tools.EMPTY_FIELD, .Tools.allMatch, .Tools.anyMatch, .Tools.apply, .Tools.dataTypes, .Tools.findAny, .Tools.map, .Tools.normaliseNameCase, .Tools.reverseIterable, org.jooq.tools.StringUtils.defaultIfNull

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private class
private class
private abstract class
private class
private class
private class
private class
private abstract class
private abstract class
private class
private class
private class
private class
private class
private class

Field Summary

Modifier and TypeField and Description
private final InterpreterNameLookupCaseSensitivity
private final Map<Name, Interpreter.MutableCatalog>
private final Configuration
private Interpreter.MutableSchema
private final Interpreter.MutableCatalog
private final Interpreter.MutableSchema
private final Deque<Interpreter.DelayedForeignKey>
private boolean
private final Map<Name, Interpreter.MutableCatalog.InterpretedCatalog>
private final Map<Name, Interpreter.MutableDomain.InterpretedDomain>
private final Map<Name, ReferenceImpl<Record, ?>>
private final Map<Name, Index>
private final Map<Name, Interpreter.MutableSchema.InterpretedSchema>
private final Map<Name, Interpreter.MutableSequence.InterpretedSequence>
private final Map<Name, Interpreter.MutableTable.InterpretedTable>
private final Map<Name, UniqueKeyImpl<Record>>
private final Locale
private static final JooqLogger

Constructor Summary

AccessConstructor and Description
pack-priv
Interpreter(Configuration configuration)

Method Summary

Modifier and TypeMethod and Description
pack-priv final void
accept(Query query)

private final void
accept0(CreateSchemaImpl query)

Deprecated as a consequence of CreateSchemaImpl being deprecated.
private final void
accept0(AlterSchemaImpl query)

Deprecated as a consequence of AlterSchemaImpl being deprecated.
private final void
accept0(DropSchemaImpl query)

Deprecated as a consequence of DropSchemaImpl being deprecated.
private final void
accept0(CreateTableImpl query)

Deprecated as a consequence of CreateTableImpl being deprecated.
private final void
accept0(AlterTableImpl query)

Deprecated as a consequence of AlterTableImpl being deprecated.
private final void
accept0(DropTableImpl query)

Deprecated as a consequence of DropTableImpl being deprecated.
private final void
accept0(TruncateImpl<?> query)

Deprecated as a consequence of TruncateImpl being deprecated.
private final void
accept0(CreateViewImpl<?> query)

Deprecated as a consequence of CreateViewImpl being deprecated.
private final void
accept0(AlterViewImpl query)

Deprecated as a consequence of AlterViewImpl being deprecated.
private final void
accept0(DropViewImpl query)

Deprecated as a consequence of DropViewImpl being deprecated.
private final void
accept0(CreateSequenceImpl query)

Deprecated as a consequence of CreateSequenceImpl being deprecated.
private final void
accept0(AlterSequenceImpl<?> query)

Deprecated as a consequence of AlterSequenceImpl being deprecated.
private final void
accept0(DropSequenceImpl query)

Deprecated as a consequence of DropSequenceImpl being deprecated.
private final void
accept0(CreateIndexImpl query)

Deprecated as a consequence of CreateIndexImpl being deprecated.
private final void
accept0(AlterIndexImpl query)

Deprecated as a consequence of AlterIndexImpl being deprecated.
private final void
accept0(DropIndexImpl query)

Deprecated as a consequence of DropIndexImpl being deprecated.
private final void
accept0(CreateDomainImpl<?> query)

Deprecated as a consequence of CreateDomainImpl being deprecated.
private final void
accept0(AlterDomainImpl<?> query)

Deprecated as a consequence of AlterDomainImpl being deprecated.
private final void
accept0(DropDomainImpl query)

Deprecated as a consequence of DropDomainImpl being deprecated.
private final void
accept0(CommentOnImpl query)

Deprecated as a consequence of CommentOnImpl being deprecated.
private final void
private final void
private final void
addConstraint(Query query, ConstraintImpl impl, Interpreter.MutableTable existing)

Deprecated as a consequence of ConstraintImpl being deprecated.
private final void
addField(Interpreter.MutableTable existing, int index, UnqualifiedName name, DataType<?> dataType)

private final void
addForeignKey(Interpreter.MutableTable mt, ConstraintImpl impl)

Deprecated as a consequence of ConstraintImpl being deprecated.
private final void
addForeignKey0(Interpreter.MutableTable mt, ConstraintImpl impl)

Deprecated as a consequence of ConstraintImpl being deprecated.
private static final DataDefinitionException
private static final DataDefinitionException
private final void
private final Iterable<Field<?>>
private final void
cascade(List<? extends Interpreter.MutableKey> keys, List<Interpreter.MutableField> fields, boolean check)

private final void
private static final InterpreterNameLookupCaseSensitivity
private static final boolean
private static final DataDefinitionException
private final Interpreter.MutableSchema
currentSchema(boolean create)

private final void
delayForeignKey(Interpreter.MutableTable mt, ConstraintImpl impl)

Deprecated as a consequence of ConstraintImpl being deprecated.
private final void
private final void
private final Interpreter.MutableField
field(Field<?> field)

Deprecated as a consequence of Field being deprecated.
private final Interpreter.MutableField
field(Field<?> field, boolean throwIfNotExists)

Deprecated as a consequence of Field being deprecated.
private static final <M extends Interpreter.MutableNamed> M
find(M m, UnqualifiedName name)

private static final <M extends Interpreter.MutableNamed> M
find(M m, Named named)

private static final <M extends Interpreter.MutableNamed> M
find(List<? extends M> list, Named named)

private final Interpreter.MutableSchema
private final Interpreter.MutableSchema
private final Interpreter.MutableSchema
getSchema(Schema input, boolean create)

private final Interpreter.MutableIndex
index(Index index, Table<?> table, boolean ifExists, boolean throwIfNotExists)

private static final int
indexOrFail(List<? extends Interpreter.MutableNamed> list, Named named)

private final Interpreter.MutableTable
initTable(Interpreter.MutableTable t, List<? extends Field<?>> columns, Select<?> select, TableOptions options)

private final void
pack-priv final Meta
meta()

private final Interpreter.MutableTable
newTable(Table<?> table, Interpreter.MutableSchema schema, List<? extends Field<?>> columns, Select<?> select, Comment comment, TableOptions options)

private static final DataDefinitionException
private static final DataDefinitionException
private static final DataDefinitionException
private static final DataDefinitionException
objectNotView(Table<?> table)

private static final DataDefinitionException
private static final DataDefinitionException
private final Interpreter.MutableTable
table(Table<?> table)

private final Interpreter.MutableTable
table(Table<?> table, boolean throwIfNotExists)

private final Iterable<Interpreter.MutableTable>
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
private static final DataDefinitionException
private static final DataDefinitionException
private static final DataDefinitionException
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait