net.ontopia.topicmaps.query.impl.rdbms
Class QueryBuilder
java.lang.Object
net.ontopia.topicmaps.query.impl.rdbms.QueryBuilder
public class QueryBuilder
- extends Object
INTERNAL: Class used to hold context information when building JDO
queries from tolog queries.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
query
protected TologQuery query
parent
protected QueryBuilder parent
attributes
protected Map attributes
vncounter
protected int vncounter
variables
protected Map variables
params
protected Map params
qp
protected QueryProcessor qp
unsupported
protected Set unsupported
typemap
public static Map typemap
getProperty
public String getProperty(String name)
getAttribute
public Object getAttribute(Object attr)
setAttribute
public void setAttribute(Object attr,
Object value)
getVariableType
public Class getVariableType(String name)
getVariableTypeFromParent
protected Class getVariableTypeFromParent(String name)
getVariables
public Map getVariables()
setVariables
public void setVariables(Map variables)
getVariableNames
public String[] getVariableNames()
getParameterType
public Class getParameterType(String name)
getParameterTypeFromParent
protected Class getParameterTypeFromParent(String name)
getParameters
public Map getParameters()
setParameters
public void setParameters(Map params)
getParameterNames
public String[] getParameterNames()
isSupportedVariable
public boolean isSupportedVariable(Variable var)
addUnsupportedVariable
public void addUnsupportedVariable(Variable var)
registerJDOSelect
public void registerJDOSelect(JDOQuery jdoquery,
Set varnames,
boolean aggfunc)
registerJDOSelectDependent
public void registerJDOSelectDependent(JDOQuery jdoquery,
Set varnames)
registerJDOOrderBy
public void registerJDOOrderBy(JDOQuery jdoquery,
boolean aggfunc)
createJDOVariable
public JDOVariable createJDOVariable(String prefix,
Class type)
- INTERNAL: Create a temporary variable.
createJDOValue
public JDOValueIF createJDOValue(Object argument)
isArgumentOfType
public boolean isArgumentOfType(Object argument,
Class type)
getArgumentType
public Class getArgumentType(Object argument)
Copyright © 2000-2012 Ontopia.