Package com.sap.cds.ql.hana
Interface CqnHierarchyGenerator
- All Superinterfaces:
CqnHierarchy,CqnSource,CqnTableFunction,CqnToken,JSONizable
A table function that generates a hierarchy based on recursive parent-child source data
-
Method Summary
Modifier and TypeMethodDescriptiondefault CqnHierarchyGeneratordepth()default booleanorderBy()A filter condition that identifies the root nodes of the hierarchy generated by this generatorMethods inherited from interface com.sap.cds.ql.hana.CqnHierarchy
asHierarchySubset, asTableFunction, isHierarchySubset, isTableFunctionMethods inherited from interface com.sap.cds.ql.cqn.CqnSource
asJoin, asRef, asSelect, isJoin, isRef, isSelectMethods inherited from interface com.sap.cds.CqnTableFunction
name, rowType, sourceMethods inherited from interface com.sap.cds.JSONizable
toJson
-
Method Details
-
startWhere
Optional<CqnPredicate> startWhere()A filter condition that identifies the root nodes of the hierarchy generated by this generator- Returns:
- a reference to the filter condition that identifies the root nodes
as a
CqnPredicatewrapped in anOptional
-
orderBy
List<CqnSortSpecification> orderBy() -
depth
Integer depth() -
isGenerator
default boolean isGenerator()- Specified by:
isGeneratorin interfaceCqnHierarchy
-
asGenerator
- Specified by:
asGeneratorin interfaceCqnHierarchy
-