Interface CqnHierarchySubsetTransformation

All Superinterfaces:
CqnHierarchyTransformation, CqnTransformation, JSONizable
All Known Subinterfaces:
CqnAncestorsTransformation, CqnDescendantsTransformation

@Beta public interface CqnHierarchySubsetTransformation extends CqnHierarchyTransformation
  • Method Details

    • transformations

      List<CqnTransformation> transformations()
      Returns the transformations, which are applied to the input set before the ancestors/descendants are determined. Typically, a filter or a search transformation is applied.
      Returns:
      the transformations
    • distanceFromStart

      int distanceFromStart()
      Returns the maximum distance between start nodes and ancestors or descendants
      Returns:
      the maximum distance between start nodes and ancestors or descendants
    • keepStart

      boolean keepStart()
      Returns whether the start nodes, i.e. the nodes after applying the transformations, should be included
      Returns:
      true, if the start nodes should be include; false, otherwise