com.sap.cds.jdbc.hana.QLSupport Maven / Gradle / Ivy
package com.sap.cds.jdbc.hana;
import com.sap.cds.jdbc.hana.hierarchies.HierarchyGeneratorBuilder;
import com.sap.cds.jdbc.hana.hierarchies.HierarchySubsetBuilder;
import com.sap.cds.ql.Source;
import com.sap.cds.ql.hana.HanaSupport;
import com.sap.cds.ql.hana.Hierarchy;
import com.sap.cds.ql.hana.HierarchySubset;
public class QLSupport implements HanaSupport {
@Override
public Hierarchy hierarchy(Source> source) {
return HierarchyGeneratorBuilder.create(source);
}
@Override
public HierarchySubset ancestors(Source> source) {
return HierarchySubsetBuilder.ancestors(source);
}
@Override
public HierarchySubset descendants(Source> source) {
return HierarchySubsetBuilder.descendants(source);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy