net.ontopia.persistence.query.jdo
Class JDOQuery
java.lang.Object
net.ontopia.persistence.query.jdo.JDOQuery
public class JDOQuery
- extends java.lang.Object
INTERNAL: JDOQL complete query. Represents a complete JDO query.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
filter
protected JDOExpressionIF filter
distinct
protected boolean distinct
limit
protected int limit
offset
protected int offset
params
protected java.util.Map params
param_names
protected java.util.List param_names
variables
protected java.util.Map variables
select
protected java.util.List select
orderby
protected java.util.List orderby
JDOQuery
public JDOQuery()
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 java.util.List getParameterNames()
hasParameterName
public boolean hasParameterName(java.lang.String name)
getParameterType
public java.lang.Class getParameterType(java.lang.String name)
addParameter
public void addParameter(java.lang.String name,
java.lang.Class klass)
getVariableCount
public int getVariableCount()
getVariableNames
public java.util.Collection getVariableNames()
hasVariableName
public boolean hasVariableName(java.lang.String name)
getVariableType
public java.lang.Class getVariableType(java.lang.String name)
addVariable
public void addVariable(java.lang.String name,
java.lang.Class klass)
checkExistingName
protected void checkExistingName(java.lang.String name)
throws java.lang.RuntimeException
- Throws:
java.lang.RuntimeException
getFilter
public JDOExpressionIF getFilter()
setFilter
public void setFilter(JDOExpressionIF filter)
getSelect
public java.util.List getSelect()
getSelectedColumnNames
public java.lang.String[] getSelectedColumnNames()
addSelect
public void addSelect(JDOValueIF value)
addSelect
public void addSelect(JDOAggregateIF aggregate)
getOrderBy
public java.util.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)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2000-2012 Ontopia.