public class JDOQuery extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
distinct |
protected JDOExpressionIF |
filter |
protected int |
limit |
protected int |
offset |
protected List |
orderby |
protected List |
param_names |
protected Map |
params |
protected List |
select |
protected Map |
variables |
Constructor and Description |
---|
JDOQuery() |
protected JDOExpressionIF filter
protected boolean distinct
protected int limit
protected int offset
protected Map params
protected List param_names
protected Map variables
protected List select
protected List orderby
public boolean isSetQuery()
public boolean getDistinct()
public void setDistinct(boolean distinct)
public int getLimit()
public void setLimit(int limit)
public int getOffset()
public void setOffset(int offset)
public List getParameterNames()
public boolean hasParameterName(String name)
public int getVariableCount()
public Collection getVariableNames()
public boolean hasVariableName(String name)
protected void checkExistingName(String name) throws RuntimeException
RuntimeException
public JDOExpressionIF getFilter()
public void setFilter(JDOExpressionIF filter)
public List getSelect()
public String[] getSelectedColumnNames()
public void addSelect(JDOValueIF value)
public void addSelect(JDOAggregateIF aggregate)
public List getOrderBy()
public void addOrderBy(JDOOrderBy job)
public void addAscending(JDOValueIF value)
public void addDescending(JDOValueIF value)
public void addAscending(JDOAggregateIF aggregate)
public void addDescending(JDOAggregateIF aggregate)