public class QueryOptions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
QueryOptions.Ordering |
Constructor and Description |
---|
QueryOptions() |
Modifier and Type | Method and Description |
---|---|
QueryOptions |
add(Filter... res) |
QueryOptions |
addFilter(Filter f) |
QueryOptions |
addOrdering(java.lang.String name,
boolean ascending) |
java.util.List<Filter> |
getFilters() |
int |
getFirstRow() |
void |
setCacheResults(boolean b) |
void |
setDistinct(boolean b) |
void |
setFilters(java.util.List<Filter> filters) |
QueryOptions |
setOrderAscending(boolean b) |
QueryOptions |
setOrderBy(java.lang.String name) |
QueryOptions |
setResultLimit(int limit) |
java.lang.String |
toString() |
public QueryOptions addFilter(Filter f)
public QueryOptions add(Filter... res)
public QueryOptions setOrderBy(java.lang.String name)
public QueryOptions setOrderAscending(boolean b)
public void setDistinct(boolean b)
public QueryOptions setResultLimit(int limit)
public int getFirstRow()
public QueryOptions addOrdering(java.lang.String name, boolean ascending)
public java.util.List<Filter> getFilters()
public void setFilters(java.util.List<Filter> filters)
public java.lang.String toString()
toString
in class java.lang.Object
public void setCacheResults(boolean b)