[#2303] Open up the feature to the OSS version, too

This commit is contained in:
lukaseder 2016-12-16 17:45:09 +01:00
parent 7f5f4ddfee
commit 2b384d34d5
3 changed files with 112 additions and 12 deletions

View File

@ -189,15 +189,13 @@ public interface DSLContext extends Scope , AutoCloseable {
// XXX Convenience methods accessing the underlying Connection
// -------------------------------------------------------------------------
/**
* Access the parser API.
*
* @deprecated - [#2303] This is experimental functionality.
*/
@Deprecated
Parser parser();
/**
* Access the database meta data.

View File

@ -40,12 +40,58 @@
*/
package org.jooq;
/**
* @author Lukas Eder
* @deprecated - [#2303] This is experimental functionality.
*/
@Deprecated
public interface Parser {
/**
* Parse a SQL string to a set of queries.
*
* @deprecated - [#2303] This is experimental functionality.
*/
@Deprecated
Queries parse(String sql);
/**
* Parse a SQL string to a query.
*
* @deprecated - [#2303] This is experimental functionality.
*/
@Deprecated
Query parseQuery(String sql);
/**
* Parse a SQL string to a table.
*
* @deprecated - [#2303] This is experimental functionality.
*/
@Deprecated
Table<?> parseTable(String sql);
/**
* Parse a SQL string to a field.
*
* @deprecated - [#2303] This is experimental functionality.
*/
@Deprecated
Field<?> parseField(String sql);
/**
* Parse a SQL string to a condition.
*
* @deprecated - [#2303] This is experimental functionality.
*/
@Deprecated
Condition parseCondition(String sql);
/**
* Parse a SQL string to a name.
*
* @deprecated - [#2303] This is experimental functionality.
*/
@Deprecated
Name parseName(String sql);
}

View File

@ -4361,6 +4361,62 @@ import static java.util.Collections.singletonList;