Interface Query

All Known Implementing Classes:
ChainedQuery, Children, Descendants, EmptyQuery, EnsureUnique, Filter, NullQuery, Parent

public interface Query
A Query instance transforms an input node set into an output node set.

Useful implementations will normally perform a sequence of graph traversal and node filtering operations to generate the query result.

  • Method Summary

    Modifier and Type
    Method
    Description
    Transforms the input node set in to an output node set.
  • Method Details

    • execute

      Set<TreeNode> execute(Set<TreeNode> input)
      Transforms the input node set in to an output node set.
      Parameters:
      input - query input node set
      Returns:
      the output node set