Constructor and Description |
---|
QueryDefinition(HSQuery hsQuery) |
QueryDefinition(String queryString) |
Modifier and Type | Method and Description |
---|---|
void |
disableFullTextFilter(String name) |
FullTextFilter |
enableFullTextFilter(String name) |
void |
filter(Filter filter) |
int |
getFirstResult() |
HSQuery |
getHsQuery() |
Class<?> |
getIndexedType() |
int |
getMaxResults() |
Map<String,Object> |
getNamedParameters() |
protected QueryEngine |
getQueryEngine(AdvancedCache<?,?> cache) |
Optional<String> |
getQueryString() |
Sort |
getSort() |
Set<String> |
getSortableFields() |
void |
initialize(AdvancedCache<?,?> cache) |
void |
setFirstResult(int firstResult) |
void |
setIndexedType(Class<?> indexedType) |
void |
setMaxResults(int maxResults) |
void |
setNamedParameters(Map<String,Object> params) |
void |
setSort(Sort sort) |
void |
setSortableField(Set<String> sortableField) |
public QueryDefinition(String queryString)
public QueryDefinition(HSQuery hsQuery)
protected QueryEngine getQueryEngine(AdvancedCache<?,?> cache)
public void initialize(AdvancedCache<?,?> cache)
public HSQuery getHsQuery()
public int getMaxResults()
public void setMaxResults(int maxResults)
public int getFirstResult()
public void setFirstResult(int firstResult)
public Sort getSort()
public void setSort(Sort sort)
public void filter(Filter filter)
public FullTextFilter enableFullTextFilter(String name)
public void disableFullTextFilter(String name)
public Class<?> getIndexedType()
public void setIndexedType(Class<?> indexedType)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.