Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class InterpreterMetaProvider

extends Object
implements MetaProvider
Class Inheritance
All Implemented Interfaces
org.jooq.MetaProvider
Static Imports
org.jooq.impl.Tools.configuration, org.jooq.tools.jdbc.JDBCUtils.safeClose

MetaProvider implementation which can provide a Meta implementation based on a set of DDL scripts as the input.

In contrast to TranslatingMetaProvider this implementation interprets the DDL scripts.

Author
Knut Wannheden

Field Summary

Modifier and TypeField and Description
private final Configuration
private static final JooqLogger
private final Query[]
private final Source[]

Constructor Summary

AccessConstructor and Description
public
InterpreterMetaProvider(Configuration configuration, Source... sources)

public
InterpreterMetaProvider(Configuration configuration, Query... queries)

Method Summary

Modifier and TypeMethod and Description
private final void
loadSource(DSLContext ctx, Source source, Interpreter interpreter)

public Meta
provide()

Implements org.jooq.MetaProvider.provide.

Provide meta data information.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

configurationback to summary
private final Configuration configuration
logback to summary
private static final JooqLogger log
queriesback to summary
private final Query[] queries
sourcesback to summary
private final Source[] sources

Constructor Detail

InterpreterMetaProviderback to summary
public InterpreterMetaProvider(Configuration configuration, Source... sources)
InterpreterMetaProviderback to summary
public InterpreterMetaProvider(Configuration configuration, Query... queries)

Method Detail

loadSourceback to summary
private final void loadSource(DSLContext ctx, Source source, Interpreter interpreter)
provideback to summary
public Meta provide()

Implements org.jooq.MetaProvider.provide.

Doc from org.jooq.MetaProvider.provide.

Provide meta data information.

Annotations
@Override