[#1887] Remove all deprecated code

This commit is contained in:
Lukas Eder 2012-10-27 22:33:51 +02:00
parent bd7d135140
commit 9caa7041c2
2 changed files with 0 additions and 618 deletions

View File

@ -1742,442 +1742,6 @@ public interface Field<T> extends QueryPart {
@Support
Condition notEqualIgnoreCase(Field<String> value);
// ------------------------------------------------------------------------
// Quantified comparison predicates
// ------------------------------------------------------------------------
/**
* <code>this = any (Select<?> ...)</code>
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#any(Select)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition equalAny(Select<?> query);
/**
* <code>this = any (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#any(Object...)} instead
* for quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition equalAny(T... array);
/**
* <code>this = any (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#any(Field)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ H2, CUBRID, HSQLDB, POSTGRES })
Condition equalAny(Field<T[]> array);
/**
* <code>this = all (Select<?> ...)</code>
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#all(Select)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition equalAll(Select<?> query);
/**
* <code>this = all (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#all(Object...)} instead
* for quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition equalAll(T... array);
/**
* <code>this = all (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#all(Field)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ H2, HSQLDB, POSTGRES })
Condition equalAll(Field<T[]> array);
/**
* <code>this != any (Select<?> ...)</code>
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#any(Select)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition notEqualAny(Select<?> query);
/**
* <code>this != any (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#any(Object...)} instead
* for quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition notEqualAny(T... array);
/**
* <code>this != any (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#any(Field)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ H2, HSQLDB, POSTGRES })
Condition notEqualAny(Field<T[]> array);
/**
* <code>this != all (Select<?> ...)</code>
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#all(Select)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition notEqualAll(Select<?> query);
/**
* <code>this != all (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#all(Object...)} instead
* for quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition notEqualAll(T... array);
/**
* <code>this != all (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#all(Field)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ H2, HSQLDB, POSTGRES })
Condition notEqualAll(Field<T[]> array);
/**
* <code>this < any (Select<?> ...)</code>
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#any(Select)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition lessThanAny(Select<?> query);
/**
* <code>this < any (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#any(Object...)} instead
* for quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition lessThanAny(T... array);
/**
* <code>this < any (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#any(Field)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ H2, HSQLDB, POSTGRES })
Condition lessThanAny(Field<T[]> array);
/**
* <code>this < all (Select<?> ...)</code>
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#all(Select)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition lessThanAll(Select<?> query);
/**
* <code>this < all (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#all(Object...)} instead
* for quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition lessThanAll(T... array);
/**
* <code>this < all (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#all(Field)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ H2, HSQLDB, POSTGRES })
Condition lessThanAll(Field<T[]> array);
/**
* <code>this <= any (Select<?> ...)</code>
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#any(Select)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition lessOrEqualAny(Select<?> query);
/**
* <code>this <= any (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#any(Object...)} instead
* for quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition lessOrEqualAny(T... array);
/**
* <code>this <= any (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#any(Field)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ H2, HSQLDB, POSTGRES })
Condition lessOrEqualAny(Field<T[]> array);
/**
* <code>this <= all (Select<?> ...)</code>
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#all(Select)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition lessOrEqualAll(Select<?> query);
/**
* <code>this <= all (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#all(Object...)} instead
* for quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition lessOrEqualAll(T... array);
/**
* <code>this <= all (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#all(Field)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ H2, HSQLDB, POSTGRES })
Condition lessOrEqualAll(Field<T[]> array);
/**
* <code>this > any (Select<?> ...)</code>
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#any(Select)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition greaterThanAny(Select<?> query);
/**
* <code>this > any (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#any(Object...)} instead
* for quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition greaterThanAny(T... array);
/**
* <code>this > any (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#any(Field)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ H2, HSQLDB, POSTGRES })
Condition greaterThanAny(Field<T[]> array);
/**
* <code>this > all (Select<?> ...)</code>
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#all(Select)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition greaterThanAll(Select<?> query);
/**
* <code>this > all (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#all(Object...)} instead
* for quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition greaterThanAll(T... array);
/**
* <code>this > all (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#all(Field)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ H2, HSQLDB, POSTGRES })
Condition greaterThanAll(Field<T[]> array);
/**
* <code>this >= any (Select<?> ...)</code>
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#any(Select)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition greaterOrEqualAny(Select<?> query);
/**
* <code>this >= any (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#any(Object...)} instead
* for quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition greaterOrEqualAny(T... array);
/**
* <code>this >= any (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#any(Field)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ H2, HSQLDB, POSTGRES })
Condition greaterOrEqualAny(Field<T[]> array);
/**
* <code>this >= all (Select<?> ...)</code>
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#all(Select)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition greaterOrEqualAll(Select<?> query);
/**
* <code>this >= all (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#all(Object...)} instead
* for quantified comparison predicates
*/
@Deprecated
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
Condition greaterOrEqualAll(T... array);
/**
* <code>this >= all (array)</code>
* <p>
* This is natively supported by {@link SQLDialect#POSTGRES}. Other dialects
* will render a subselect unnesting the array.
*
* @deprecated - 2.7.0 [#1697] - Use {@link Factory#all(Field)} instead for
* quantified comparison predicates
*/
@Deprecated
@Support({ H2, HSQLDB, POSTGRES })
Condition greaterOrEqualAll(Field<T[]> array);
// ------------------------------------------------------------------------
// Pre-2.0 API. This API is maintained for backwards-compatibility. It will
// be removed in the future. Consider using equivalent methods from

View File

@ -39,8 +39,6 @@ import static org.jooq.impl.ExpressionOperator.ADD;
import static org.jooq.impl.ExpressionOperator.DIVIDE;
import static org.jooq.impl.ExpressionOperator.MULTIPLY;
import static org.jooq.impl.ExpressionOperator.SUBTRACT;
import static org.jooq.impl.Factory.all;
import static org.jooq.impl.Factory.any;
import static org.jooq.impl.Factory.falseCondition;
import static org.jooq.impl.Factory.inline;
import static org.jooq.impl.Factory.nullSafe;
@ -807,36 +805,6 @@ abstract class AbstractField<T> extends AbstractQueryPart implements Field<T> {
return new QuantifiedComparisonCondition(query, this, Comparator.EQUALS);
}
@Override
public final Condition equalAny(Select<?> query) {
return equal(any(query));
}
@Override
public final Condition equalAny(T... array) {
return equal(any(array));
}
@Override
public final Condition equalAny(Field<T[]> array) {
return equal(any(array));
}
@Override
public final Condition equalAll(Select<?> query) {
return equal(all(query));
}
@Override
public final Condition equalAll(T... array) {
return equal(all(array));
}
@Override
public final Condition equalAll(Field<T[]> array) {
return equal(all(array));
}
@Override
public final Condition notEqual(T value) {
return notEqual(val(value, this));
@ -867,36 +835,6 @@ abstract class AbstractField<T> extends AbstractQueryPart implements Field<T> {
return new QuantifiedComparisonCondition(query, this, Comparator.NOT_EQUALS);
}
@Override
public final Condition notEqualAny(Select<?> query) {
return notEqual(any(query));
}
@Override
public final Condition notEqualAny(T... array) {
return notEqual(any(array));
}
@Override
public final Condition notEqualAny(Field<T[]> array) {
return notEqual(any(array));
}
@Override
public final Condition notEqualAll(Select<?> query) {
return notEqual(all(query));
}
@Override
public final Condition notEqualAll(T... array) {
return notEqual(all(array));
}
@Override
public final Condition notEqualAll(Field<T[]> array) {
return notEqual(all(array));
}
@Override
public final Condition lessThan(T value) {
return lessThan(val(value, this));
@ -917,36 +855,6 @@ abstract class AbstractField<T> extends AbstractQueryPart implements Field<T> {
return new QuantifiedComparisonCondition(query, this, Comparator.LESS);
}
@Override
public final Condition lessThanAny(Select<?> query) {
return lessThan(any(query));
}
@Override
public final Condition lessThanAny(T... array) {
return lessThan(any(array));
}
@Override
public final Condition lessThanAny(Field<T[]> array) {
return lessThan(any(array));
}
@Override
public final Condition lessThanAll(Select<?> query) {
return lessThan(all(query));
}
@Override
public final Condition lessThanAll(T... array) {
return lessThan(all(array));
}
@Override
public final Condition lessThanAll(Field<T[]> array) {
return lessThan(all(array));
}
@Override
public final Condition lessOrEqual(T value) {
return lessOrEqual(val(value, this));
@ -967,36 +875,6 @@ abstract class AbstractField<T> extends AbstractQueryPart implements Field<T> {
return new QuantifiedComparisonCondition(query, this, Comparator.LESS_OR_EQUAL);
}
@Override
public final Condition lessOrEqualAny(Select<?> query) {
return lessOrEqual(any(query));
}
@Override
public final Condition lessOrEqualAny(T... array) {
return lessOrEqual(any(array));
}
@Override
public final Condition lessOrEqualAny(Field<T[]> array) {
return lessOrEqual(any(array));
}
@Override
public final Condition lessOrEqualAll(Select<?> query) {
return lessOrEqual(all(query));
}
@Override
public final Condition lessOrEqualAll(T... array) {
return lessOrEqual(all(array));
}
@Override
public final Condition lessOrEqualAll(Field<T[]> array) {
return lessOrEqual(all(array));
}
@Override
public final Condition greaterThan(T value) {
return greaterThan(val(value, this));
@ -1017,36 +895,6 @@ abstract class AbstractField<T> extends AbstractQueryPart implements Field<T> {
return new QuantifiedComparisonCondition(query, this, Comparator.GREATER);
}
@Override
public final Condition greaterThanAny(Select<?> query) {
return greaterThan(any(query));
}
@Override
public final Condition greaterThanAny(T... array) {
return greaterThan(any(array));
}
@Override
public final Condition greaterThanAny(Field<T[]> array) {
return greaterThan(any(array));
}
@Override
public final Condition greaterThanAll(Select<?> query) {
return greaterThan(all(query));
}
@Override
public final Condition greaterThanAll(T... array) {
return greaterThan(all(array));
}
@Override
public final Condition greaterThanAll(Field<T[]> array) {
return greaterThan(all(array));
}
@Override
public final Condition greaterOrEqual(T value) {
return greaterOrEqual(val(value, this));
@ -1067,36 +915,6 @@ abstract class AbstractField<T> extends AbstractQueryPart implements Field<T> {
return new QuantifiedComparisonCondition(query, this, Comparator.GREATER_OR_EQUAL);
}
@Override
public final Condition greaterOrEqualAny(Select<?> query) {
return greaterOrEqual(any(query));
}
@Override
public final Condition greaterOrEqualAny(T... array) {
return greaterOrEqual(any(array));
}
@Override
public final Condition greaterOrEqualAny(Field<T[]> array) {
return greaterOrEqual(any(array));
}
@Override
public final Condition greaterOrEqualAll(Select<?> query) {
return greaterOrEqual(all(query));
}
@Override
public final Condition greaterOrEqualAll(T... array) {
return greaterOrEqual(all(array));
}
@Override
public final Condition greaterOrEqualAll(Field<T[]> array) {
return greaterOrEqual(all(array));
}
@Override
public final Condition compare(Comparator comparator, T value) {
return compare(comparator, val(value, this));