public class PanacheQueryImpl<Entity> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
PanacheQueryImpl(CommonPanacheQueryImpl<Entity> delegate) |
(package private) |
PanacheQueryImpl(javax.persistence.EntityManager em,
String query,
String orderBy,
Object paramsArrayOrMap) |
| Modifier and Type | Method and Description |
|---|---|
long |
count() |
<any> |
filter(String filterName) |
<any> |
filter(String filterName,
Map<String,? extends Object> parameters) |
<any> |
filter(String filterName,
Parameters parameters) |
<any> |
firstPage() |
Entity |
firstResult() |
boolean |
hasNextPage() |
boolean |
hasPreviousPage() |
<any> |
lastPage() |
List<Entity> |
list() |
<any> |
nextPage() |
Page |
page() |
<any> |
page(int pageIndex,
int pageSize) |
<any> |
page(Page page) |
int |
pageCount() |
<any> |
previousPage() |
<NewEntity> |
project(Class<NewEntity> type) |
<any> |
range(int startIndex,
int lastIndex) |
Entity |
singleResult() |
Stream<Entity> |
stream() |
<any> |
withHint(String hintName,
Object value) |
<any> |
withLock(javax.persistence.LockModeType lockModeType) |
PanacheQueryImpl(javax.persistence.EntityManager em,
String query,
String orderBy,
Object paramsArrayOrMap)
protected PanacheQueryImpl(CommonPanacheQueryImpl<Entity> delegate)
@NotNull public <NewEntity> <any> project(Class<NewEntity> type)
@NotNull
public <any> page(@NotNull
Page page)
@NotNull
public <any> page(int pageIndex,
int pageSize)
@NotNull public <any> nextPage()
@NotNull public <any> previousPage()
@NotNull public <any> firstPage()
@NotNull public <any> lastPage()
public boolean hasNextPage()
public boolean hasPreviousPage()
public int pageCount()
@NotNull public Page page()
@NotNull
public <any> range(int startIndex,
int lastIndex)
@NotNull
public <any> withLock(@NotNull
javax.persistence.LockModeType lockModeType)
@NotNull
public <any> filter(@NotNull
String filterName,
@NotNull
Parameters parameters)
@NotNull
public <any> filter(@NotNull
String filterName,
@NotNull
Map<String,? extends Object> parameters)
@NotNull
public <any> filter(@NotNull
String filterName)
public long count()
public Entity firstResult()
@NotNull public Entity singleResult()
Copyright © 2020 JBoss by Red Hat. All rights reserved.