QueryTreeContext (Google App Engine API for Java)

com.google.appengine.api.search.query

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()
        Returns:
        a child context for this context
      • children

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

        public int getChildCount()
        Returns:
        the number of children contexts