T - The query result typeX - The concrete builder typeCriteriaBuilder<T>, FinalSetOperationCriteriaBuilder<T>, FullQueryBuilder<T,X>, PaginatedCriteriaBuilder<T>, QueryBuilder<T,X>public interface Queryable<T,X extends Queryable<T,X>>
| Modifier and Type | Method | Description |
|---|---|---|
javax.persistence.TypedQuery<T> |
getQuery() |
Returns the JPA typed query for the built query.
|
String |
getQueryString() |
Returns the query string for the built query.
|
List<T> |
getResultList() |
Execute the query and return the result as a type List.
|
T |
getSingleResult() |
Execute the query expecting a single result.
|
String getQueryString()
javax.persistence.TypedQuery<T> getQuery()
List<T> getResultList()
T getSingleResult()
Copyright © 2014–2020 Blazebit. All rights reserved.