Class JDOQuery
- java.lang.Object
-
- net.ontopia.persistence.query.jdo.JDOQuery
-
public class JDOQuery extends Object
INTERNAL: JDOQL complete query. Represents a complete JDO query.
-
-
Constructor Summary
Constructors Constructor Description JDOQuery()
-
Method Summary
-
-
-
Field Detail
-
filter
protected JDOExpressionIF filter
-
distinct
protected boolean distinct
-
limit
protected int limit
-
offset
protected int offset
-
params
protected Map params
-
param_names
protected List param_names
-
variables
protected Map variables
-
select
protected List select
-
orderby
protected List orderby
-
-
Method Detail
-
isSetQuery
public boolean isSetQuery()
-
getDistinct
public boolean getDistinct()
-
setDistinct
public void setDistinct(boolean distinct)
-
getLimit
public int getLimit()
-
setLimit
public void setLimit(int limit)
-
getOffset
public int getOffset()
-
setOffset
public void setOffset(int offset)
-
getParameterNames
public List getParameterNames()
-
hasParameterName
public boolean hasParameterName(String name)
-
getVariableCount
public int getVariableCount()
-
getVariableNames
public Collection getVariableNames()
-
hasVariableName
public boolean hasVariableName(String name)
-
checkExistingName
protected void checkExistingName(String name) throws RuntimeException
- Throws:
RuntimeException
-
getFilter
public JDOExpressionIF getFilter()
-
setFilter
public void setFilter(JDOExpressionIF filter)
-
getSelect
public List getSelect()
-
getSelectedColumnNames
public String[] getSelectedColumnNames()
-
addSelect
public void addSelect(JDOValueIF value)
-
addSelect
public void addSelect(JDOAggregateIF aggregate)
-
getOrderBy
public List getOrderBy()
-
addOrderBy
public void addOrderBy(JDOOrderBy job)
-
addAscending
public void addAscending(JDOValueIF value)
-
addDescending
public void addDescending(JDOValueIF value)
-
addAscending
public void addAscending(JDOAggregateIF aggregate)
-
addDescending
public void addDescending(JDOAggregateIF aggregate)
-
-