[#1870] Deprecate org.jooq.NamedTypeProviderQueryPart
This commit is contained in:
parent
1fecedc621
commit
afea623b09
@ -92,6 +92,18 @@ public interface Field<T> extends NamedTypeProviderQueryPart<T>, AliasProvider<F
|
||||
@Override
|
||||
Class<? extends T> getType();
|
||||
|
||||
/**
|
||||
* The type of this field (might not be dialect-specific)
|
||||
*/
|
||||
@Override
|
||||
DataType<T> getDataType();
|
||||
|
||||
/**
|
||||
* The dialect-specific type of this field
|
||||
*/
|
||||
@Override
|
||||
DataType<T> getDataType(Configuration configuration);
|
||||
|
||||
/**
|
||||
* Create an alias for this field
|
||||
*
|
||||
|
||||
@ -41,7 +41,11 @@ package org.jooq;
|
||||
*
|
||||
* @param <T> The type provided by this type provider
|
||||
* @author Lukas Eder
|
||||
* @deprecated - 2.6.0 [#1870] - This marker interface does not have enough
|
||||
* momentum to be exposed in the public API. It will be removed in
|
||||
* the future.
|
||||
*/
|
||||
@Deprecated
|
||||
public interface NamedTypeProviderQueryPart<T> extends NamedQueryPart {
|
||||
|
||||
/**
|
||||
|
||||
@ -44,8 +44,27 @@ import static org.jooq.SQLDialect.ORACLE;
|
||||
* @param <T> The parameter type
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public interface Parameter<T> extends NamedTypeProviderQueryPart<T> {
|
||||
|
||||
/**
|
||||
* The Java type of the parameter.
|
||||
*/
|
||||
@Override
|
||||
Class<? extends T> getType();
|
||||
|
||||
/**
|
||||
* The type of this parameter (might not be dialect-specific)
|
||||
*/
|
||||
@Override
|
||||
DataType<T> getDataType();
|
||||
|
||||
/**
|
||||
* The dialect-specific type of this parameter
|
||||
*/
|
||||
@Override
|
||||
DataType<T> getDataType(Configuration configuration);
|
||||
|
||||
/**
|
||||
* Whether this parameter has a default value
|
||||
* <p>
|
||||
|
||||
@ -43,6 +43,7 @@ package org.jooq;
|
||||
* @see Field#asc()
|
||||
* @see Field#desc()
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public interface SortField<T> extends NamedTypeProviderQueryPart<T> {
|
||||
|
||||
/**
|
||||
|
||||
@ -43,6 +43,7 @@ import org.jooq.NamedTypeProviderQueryPart;
|
||||
/**
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
abstract class AbstractNamedTypeProviderQueryPart<T> extends AbstractNamedQueryPart implements
|
||||
NamedTypeProviderQueryPart<T> {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user