Class ChainedQuery

  • All Implemented Interfaces:
    Query

    class ChainedQuery
    extends java.lang.Object
    implements Query
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<TreeNode> execute​(java.util.Set<TreeNode> input)
      Transforms the input node set in to an output node set.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • current

        private final Query current
      • previous

        private final Query previous
    • Constructor Detail

      • ChainedQuery

        public ChainedQuery​(Query previous,
                            Query current)
    • Method Detail

      • execute

        public final java.util.Set<TreeNode> execute​(java.util.Set<TreeNode> input)
        Description copied from interface: Query
        Transforms the input node set in to an output node set.
        Specified by:
        execute in interface Query
        Parameters:
        input - query input node set
        Returns:
        the output node set
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object