Class HierarchySubsetBuilder
java.lang.Object
com.sap.cds.jdbc.hana.hierarchies.HierarchySubsetBuilder
- All Implemented Interfaces:
CqnTableFunction,JSONizable,CqnSource,CqnToken,CqnHierarchy,CqnHierarchySubset,HierarchySubset,Source<StructuredType<?>>,TableFunction
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(CqnVisitor visitor) static HierarchySubsetBuilderstatic HierarchySubsetBuilderdescendants(Source<?> source) distance(int distanceFromStart, boolean keepStart) distance(int from, int to) intfrom()from(int from) getType()booleanbooleanname()rowType(CdsStructuredType sourceRowType) source()startWhere(CqnPredicate startWhere) intto()to(int to) toJson()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cds.ql.hana.CqnHierarchy
asGenerator, asTableFunction, isGenerator, isTableFunctionMethods inherited from interface com.sap.cds.ql.hana.CqnHierarchySubset
asHierarchySubset, isHierarchySubset
-
Field Details
-
source
-
startWhere
-
-
Method Details
-
ancestors
-
descendants
-
copy
- Specified by:
copyin interfaceHierarchySubset- Specified by:
copyin interfaceTableFunction
-
startWhere
- Specified by:
startWherein interfaceHierarchySubset
-
startWhere
- Specified by:
startWherein interfaceCqnHierarchySubset
-
from
public int from()- Specified by:
fromin interfaceCqnHierarchySubset
-
to
public int to()- Specified by:
toin interfaceCqnHierarchySubset
-
from
- Specified by:
fromin interfaceHierarchySubset
-
to
- Specified by:
toin interfaceHierarchySubset
-
distance
- Specified by:
distancein interfaceHierarchySubset
-
distance
- Specified by:
distancein interfaceHierarchySubset
-
source
- Specified by:
sourcein interfaceCqnTableFunction
-
getType
- Specified by:
getTypein interfaceSource<StructuredType<?>>
-
accept
-
toJson
- Specified by:
toJsonin interfaceJSONizable
-
isAncestors
public boolean isAncestors()- Specified by:
isAncestorsin interfaceCqnHierarchySubset
-
isDescendants
public boolean isDescendants()- Specified by:
isDescendantsin interfaceCqnHierarchySubset
-
rowType
- Specified by:
rowTypein interfaceCqnTableFunction
-
name
- Specified by:
namein interfaceCqnTableFunction
-