Class QueryContext

java.lang.Object
net.ontopia.topicmaps.query.impl.utils.QueryContext

public class QueryContext extends Object
INTERNAL: Used during traversal of queries to represent the context at any given point in the query.
  • Constructor Details

  • Method Details

    • getBooleanOption

      public boolean getBooleanOption(String name)
      Returns value of boolean option.
    • getRuleName

      public String getRuleName()
      Returns the name of the rule we are traversing. If we are traversing a query (that is, not a rule at all) null is returned.
    • getNestingLevel

      public int getNestingLevel()
      Returns the clause list nesting level we are at. The top level of a query or rule is 1.
    • getVariableTypes

      public Map getVariableTypes()
    • getParameterTypes

      public Map getParameterTypes()
    • enterClauseList

      public void enterClauseList()
    • leaveClauseList

      public void leaveClauseList()