QueryTreeContext (Google App Engine API for Java)


Class QueryTreeContext<T extends QueryTreeContext<T>>

  • java.lang.Object
    • com.google.appengine.api.search.query.QueryTreeContext<T>
  • Type Parameters:
    T - the actual class used by specific tree visitors

    public abstract class QueryTreeContext<T extends QueryTreeContext<T>>
    extends java.lang.Object
    The base class for specific query tree context used by the walker. This class is used to maintain additional information gathered while walking the tree. On this level it is used to collect return type information.
    • Method Detail

      • addChild

        public T addChild()
        a child context for this context
      • children

        public java.lang.Iterable<T> children()
        iterable over all children contexts
      • getChildCount

        public int getChildCount()
        the number of children contexts