Examples of includeLevel()


Examples of org.saiku.query.QueryHierarchy.includeLevel()

          Hierarchy h = d.getHierarchies().get(hierarchyName);
          QueryHierarchy qh = query.getHierarchy(h);
          for (Level l : h.getLevels()) {
            for (String levelU : levels.get(key)) {
              if (l.getUniqueName().equals(levelU) || l.getName().equals(levelU)) {
                qh.includeLevel(l);
              }
            }
          }
          if (qh.getActiveQueryLevels().size() > 0) {
            query.moveHierarchy(qh, Axis.ROWS);
View Full Code Here

Examples of org.saiku.query.QueryHierarchy.includeLevel()

          qh.includeMember(sel.getRootElement().getUniqueName());
        } else {
          throw new SaikuIncompatibleException("Cannot convert member selection using operator: " + sel.getOperator());
        }
      } else {
        qh.includeLevel(sel.getRootElement().getName());
      }
    }
    sAxis.addHierarchy(qh);

  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.