Package | Description |
---|---|
io.quarkus.hibernate.orm.panache |
API usage
|
io.quarkus.hibernate.orm.panache.runtime |
Modifier and Type | Method and Description |
---|---|
<T extends Entity> |
PanacheQuery.filter(String filterName)
Enables a Hibernate filter during fetching of results for this query.
|
<T extends Entity> |
PanacheQuery.filter(String filterName,
Map<String,Object> parameters)
Enables a Hibernate filter during fetching of results for this query.
|
<T extends Entity> |
PanacheQuery.filter(String filterName,
Parameters parameters)
Enables a Hibernate filter during fetching of results for this query.
|
default PanacheQuery<Entity> |
PanacheRepositoryBase.find(String query,
Map<String,Object> params)
Find entities using a query, with named parameters.
|
static <T extends PanacheEntityBase> |
PanacheEntityBase.find(String query,
Map<String,Object> params)
Find entities using a query, with named parameters.
|
default PanacheQuery<Entity> |
PanacheRepositoryBase.find(String query,
Object... params)
Find entities using a query, with optional indexed parameters.
|
static <T extends PanacheEntityBase> |
PanacheEntityBase.find(String query,
Object... params)
Find entities using a query, with optional indexed parameters.
|
default PanacheQuery<Entity> |
PanacheRepositoryBase.find(String query,
Parameters params)
Find entities using a query, with named parameters.
|
static <T extends PanacheEntityBase> |
PanacheEntityBase.find(String query,
Parameters params)
Find entities using a query, with named parameters.
|
default PanacheQuery<Entity> |
PanacheRepositoryBase.find(String query,
Sort sort,
Map<String,Object> params)
Find entities using a query and the given sort options, with named parameters.
|
static <T extends PanacheEntityBase> |
PanacheEntityBase.find(String query,
Sort sort,
Map<String,Object> params)
Find entities using a query and the given sort options, with named parameters.
|
default PanacheQuery<Entity> |
PanacheRepositoryBase.find(String query,
Sort sort,
Object... params)
Find entities using a query and the given sort options, with optional indexed parameters.
|
static <T extends PanacheEntityBase> |
PanacheEntityBase.find(String query,
Sort sort,
Object... params)
Find entities using a query and the given sort options, with optional indexed parameters.
|
default PanacheQuery<Entity> |
PanacheRepositoryBase.find(String query,
Sort sort,
Parameters params)
Find entities using a query and the given sort options, with named parameters.
|
static <T extends PanacheEntityBase> |
PanacheEntityBase.find(String query,
Sort sort,
Parameters params)
Find entities using a query and the given sort options, with named parameters.
|
default PanacheQuery<Entity> |
PanacheRepositoryBase.findAll()
Find all entities of this type.
|
static <T extends PanacheEntityBase> |
PanacheEntityBase.findAll()
Find all entities of this type.
|
default PanacheQuery<Entity> |
PanacheRepositoryBase.findAll(Sort sort)
Find all entities of this type, in the given order.
|
static <T extends PanacheEntityBase> |
PanacheEntityBase.findAll(Sort sort)
Find all entities of this type, in the given order.
|
<T extends Entity> |
PanacheQuery.firstPage()
Sets the current page to the first page
|
<T extends Entity> |
PanacheQuery.lastPage()
Sets the current page to the last page.
|
<T extends Entity> |
PanacheQuery.nextPage()
Sets the current page to the next page
|
<T extends Entity> |
PanacheQuery.page(int pageIndex,
int pageSize)
Sets the current page.
|
<T extends Entity> |
PanacheQuery.page(Page page)
Sets the current page.
|
<T extends Entity> |
PanacheQuery.previousPage()
Sets the current page to the previous page (or the first page if there is no previous page)
|
<T> PanacheQuery<T> |
PanacheQuery.project(Class<T> type)
Defines a projection class: the getters, and the public fields, will be used to restrict which fields should be
retrieved from the database.
|
<T extends Entity> |
PanacheQuery.range(int startIndex,
int lastIndex)
Switch the query to use a fixed range (start index - last index) instead of a page.
|
<T extends Entity> |
PanacheQuery.withHint(String hintName,
Object value)
Set a query property or hint on the underlying JPA Query.
|
<T extends Entity> |
PanacheQuery.withLock(javax.persistence.LockModeType lockModeType)
Define the locking strategy used for this query.
|
Modifier and Type | Class and Description |
---|---|
class |
CustomCountPanacheQuery<Entity> |
class |
PanacheQueryImpl<Entity> |
Modifier and Type | Method and Description |
---|---|
<T extends Entity> |
PanacheQueryImpl.filter(String filterName) |
<T extends Entity> |
PanacheQueryImpl.filter(String filterName,
Map<String,Object> parameters) |
<T extends Entity> |
PanacheQueryImpl.filter(String filterName,
Parameters parameters) |
static PanacheQuery<?> |
AdditionalJpaOperations.find(AbstractJpaOperations<?> jpaOperations,
Class<?> entityClass,
String query,
String countQuery,
Sort sort,
Map<String,Object> params) |
static PanacheQuery<?> |
AdditionalJpaOperations.find(AbstractJpaOperations<?> jpaOperations,
Class<?> entityClass,
String query,
String countQuery,
Sort sort,
Object... params) |
static PanacheQuery<?> |
AdditionalJpaOperations.find(AbstractJpaOperations<?> jpaOperations,
Class<?> entityClass,
String query,
String countQuery,
Sort sort,
Parameters parameters) |
<T extends Entity> |
PanacheQueryImpl.firstPage() |
<T extends Entity> |
PanacheQueryImpl.lastPage() |
<T extends Entity> |
PanacheQueryImpl.nextPage() |
<T extends Entity> |
PanacheQueryImpl.page(int pageIndex,
int pageSize) |
<T extends Entity> |
PanacheQueryImpl.page(Page page) |
<T extends Entity> |
PanacheQueryImpl.previousPage() |
<T> PanacheQuery<T> |
PanacheQueryImpl.project(Class<T> type) |
<T extends Entity> |
PanacheQueryImpl.range(int startIndex,
int lastIndex) |
<T extends Entity> |
PanacheQueryImpl.withHint(String hintName,
Object value) |
<T extends Entity> |
PanacheQueryImpl.withLock(javax.persistence.LockModeType lockModeType) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.