net.ontopia.topicmaps.query.impl.rdbms
Class QueryBuilder
java.lang.Object
net.ontopia.topicmaps.query.impl.rdbms.QueryBuilder
public class QueryBuilder
- extends java.lang.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 java.util.Map attributes
vncounter
protected int vncounter
variables
protected java.util.Map variables
params
protected java.util.Map params
qp
protected QueryProcessor qp
unsupported
protected java.util.Set unsupported
typemap
public static java.util.Map typemap
getProperty
public java.lang.String getProperty(java.lang.String name)
getAttribute
public java.lang.Object getAttribute(java.lang.Object attr)
setAttribute
public void setAttribute(java.lang.Object attr,
java.lang.Object value)
getVariableType
public java.lang.Class getVariableType(java.lang.String name)
getVariableTypeFromParent
protected java.lang.Class getVariableTypeFromParent(java.lang.String name)
getVariables
public java.util.Map getVariables()
setVariables
public void setVariables(java.util.Map variables)
getVariableNames
public java.lang.String[] getVariableNames()
getParameterType
public java.lang.Class getParameterType(java.lang.String name)
getParameterTypeFromParent
protected java.lang.Class getParameterTypeFromParent(java.lang.String name)
getParameters
public java.util.Map getParameters()
setParameters
public void setParameters(java.util.Map params)
getParameterNames
public java.lang.String[] getParameterNames()
isSupportedVariable
public boolean isSupportedVariable(Variable var)
addUnsupportedVariable
public void addUnsupportedVariable(Variable var)
registerJDOSelect
public void registerJDOSelect(JDOQuery jdoquery,
java.util.Set varnames,
boolean aggfunc)
registerJDOSelectDependent
public void registerJDOSelectDependent(JDOQuery jdoquery,
java.util.Set varnames)
registerJDOOrderBy
public void registerJDOOrderBy(JDOQuery jdoquery,
boolean aggfunc)
createJDOVariable
public JDOVariable createJDOVariable(java.lang.String prefix,
java.lang.Class type)
- INTERNAL: Create a temporary variable.
createJDOValue
public JDOValueIF createJDOValue(java.lang.Object argument)
isArgumentOfType
public boolean isArgumentOfType(java.lang.Object argument,
java.lang.Class type)
getArgumentType
public java.lang.Class getArgumentType(java.lang.Object argument)
Copyright © 2000-2012 Ontopia.