[jOOQ/jOOQ#12757] Seal TableLike
This commit is contained in:
parent
eedd7271cd
commit
0846133b6f
@ -97,7 +97,7 @@ import org.jetbrains.annotations.ApiStatus.Experimental;
|
||||
* @param <R> The record type being returned by this query
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
public interface Select<R extends Record> extends ResultQuery<R>, TableLike<R>, FieldLike {
|
||||
public /* non-sealed */ interface Select<R extends Record> extends ResultQuery<R>, TableLike<R>, FieldLike {
|
||||
|
||||
/**
|
||||
* Apply the <code>UNION</code> set operation.
|
||||
|
||||
@ -50,7 +50,14 @@ import org.jetbrains.annotations.NotNull;
|
||||
* @param <R> The record type
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
public interface TableLike<R extends Record> extends Fields, QueryPart {
|
||||
public /* sealed */ interface TableLike<R extends Record>
|
||||
extends
|
||||
Fields,
|
||||
QueryPart
|
||||
/* permits
|
||||
Select,
|
||||
Table */
|
||||
{
|
||||
|
||||
/**
|
||||
* The underlying table representation of this object.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user