Package com.sap.cds.ql.hana
Interface HANA
@Beta
public interface HANA
-
Field Summary
Fields -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic HierarchySubsetReturns a function to compute the subset of a given hierarchy, which contains all nodes that are ancestors of a of start nodes setstatic HierarchySubsetancestors(StructuredType<?> entity) Returns a function to compute the subset of a given hierarchy, which contains all nodes that are ancestors of a start nodes set.static HierarchySubsetdescendants(Hierarchy hierarchy) Returns a function to compute the subset of a given hierarchy, which contains all nodes that are descendants of a set of start nodesstatic HierarchySubsetdescendants(StructuredType<?> entity) Returns a function to compute the subset of a given hierarchy, which contains all nodes that are descendants of a set of start nodesstatic HierarchyReturns a function that generates a hierarchy based on recursive parent-child source data.
-
Field Details
-
hana
-
-
Method Details
-
hierarchy
Returns a function that generates a hierarchy based on recursive parent-child source data.- Parameters:
source- the source that the hierarchy is to be generated from
-
ancestors
Returns a function to compute the subset of a given hierarchy, which contains all nodes that are ancestors of a of start nodes set- Parameters:
hierarchy- the source hierarchy- Returns:
- a hierarchy navigation function to compute the ancestors
-
ancestors
Returns a function to compute the subset of a given hierarchy, which contains all nodes that are ancestors of a start nodes set. The source is an entity, which containing all of the basic hierarchy attributes computed by ahierarchy(com.sap.cds.ql.Source<?>)generation function- Parameters:
entity- the entity- Returns:
- a hierarchy navigation function to compute the ancestors
-
descendants
Returns a function to compute the subset of a given hierarchy, which contains all nodes that are descendants of a set of start nodes- Parameters:
hierarchy- the source hierarchy- Returns:
- a hierarchy navigation function to compute the descendants
-
descendants
Returns a function to compute the subset of a given hierarchy, which contains all nodes that are descendants of a set of start nodes- Parameters:
entity- the source hierarchy- Returns:
- a hierarchy navigation function to compute the descendants
-