This commit is contained in:
Lukas Eder 2022-02-14 12:38:23 +01:00
parent eedd7271cd
commit 0846133b6f
2 changed files with 9 additions and 2 deletions

View File

@ -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.

View File

@ -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.