Q
- the type of query objects created by this predicatepublic interface Predicate<Q>
WHERE
clause of a query. Implementations know how to create an
equivalent query for themselves and, in case of parent predicates, their children.Modifier and Type | Interface and Description |
---|---|
static class |
Predicate.Type
The type of a predicate.
|
Modifier and Type | Method and Description |
---|---|
<T extends Predicate<?>> |
as(Class<T> type)
Narrows the type of this predicate down to the given type.
|
Q |
getQuery()
Returns the query represented by this predicate.
|
Predicate.Type |
getType()
Returns the type of this predicate.
|
Q getQuery()
Predicate.Type getType()
Copyright © 2017. All rights reserved.