Package tools.refinery.logic.dnf
Class Query<T>
java.lang.Object
tools.refinery.logic.dnf.Query<T>
- All Implemented Interfaces:
AnyQuery
- Direct Known Subclasses:
FunctionalQuery
,RelationalQuery
public abstract sealed class Query<T>
extends Object
implements AnyQuery
permits FunctionalQuery<T>, RelationalQuery
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic QueryBuilder
builder()
static QueryBuilder
abstract T
boolean
getDnf()
int
hashCode()
name()
static <T> FunctionalQuery
<T> of
(Class<T> type, FunctionalQueryCallback0<T> callback) static <T> FunctionalQuery
<T> of
(Class<T> type, FunctionalQueryCallback1<T> callback) static <T> FunctionalQuery
<T> of
(Class<T> type, FunctionalQueryCallback2<T> callback) static <T> FunctionalQuery
<T> of
(Class<T> type, FunctionalQueryCallback3<T> callback) static <T> FunctionalQuery
<T> of
(Class<T> type, FunctionalQueryCallback4<T> callback) static <T> FunctionalQuery
<T> of
(String name, Class<T> type, FunctionalQueryCallback0<T> callback) static <T> FunctionalQuery
<T> of
(String name, Class<T> type, FunctionalQueryCallback1<T> callback) static <T> FunctionalQuery
<T> of
(String name, Class<T> type, FunctionalQueryCallback2<T> callback) static <T> FunctionalQuery
<T> of
(String name, Class<T> type, FunctionalQueryCallback3<T> callback) static <T> FunctionalQuery
<T> of
(String name, Class<T> type, FunctionalQueryCallback4<T> callback) static RelationalQuery
of
(String name, QueryCallback0 callback) static RelationalQuery
of
(String name, QueryCallback1 callback) static RelationalQuery
of
(String name, QueryCallback2 callback) static RelationalQuery
of
(String name, QueryCallback3 callback) static RelationalQuery
of
(String name, QueryCallback4 callback) static RelationalQuery
of
(QueryCallback0 callback) static RelationalQuery
of
(QueryCallback1 callback) static RelationalQuery
of
(QueryCallback2 callback) static RelationalQuery
of
(QueryCallback3 callback) static RelationalQuery
of
(QueryCallback4 callback) toString()
withDnfInternal
(Dnf newDnf)
-
Constructor Details
-
Query
-
-
Method Details
-
name
-
getDnf
-
valueType
-
defaultValue
-
withDnf
-
withDnfInternal
-
equals
-
hashCode
public int hashCode() -
toString
-
builder
-
builder
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
public static <T> FunctionalQuery<T> of(String name, Class<T> type, FunctionalQueryCallback0<T> callback) -
of
-
of
public static <T> FunctionalQuery<T> of(String name, Class<T> type, FunctionalQueryCallback1<T> callback) -
of
-
of
public static <T> FunctionalQuery<T> of(String name, Class<T> type, FunctionalQueryCallback2<T> callback) -
of
-
of
public static <T> FunctionalQuery<T> of(String name, Class<T> type, FunctionalQueryCallback3<T> callback) -
of
-
of
public static <T> FunctionalQuery<T> of(String name, Class<T> type, FunctionalQueryCallback4<T> callback)
-