Package org.olap4cloud.client

Examples of org.olap4cloud.client.CubeQueryCondition


 
  static void executeQueryTest() throws Exception {
    CubeDescriptor cubeDescriptor = TestCubeUtils.createTestCubeDescriptor();
    cubeDescriptor.getAggregationCubes();
    CubeQuery cubeQuery = new CubeQuery();
    CubeQueryCondition condition = new CubeQueryCondition("d3");
    condition.getDimensionValues().add(1l);
    cubeQuery.getConditions().add(condition);
    condition = new CubeQueryCondition("d1");
    condition.getDimensionValues().add(0l);
    cubeQuery.getConditions().add(condition);
//    condition = new CubeQueryCondition("d2");
//    condition.getDimensionValues().add(1l);
//    cubeQuery.getConditions().add(condition);
    cubeQuery.getAggregates().add(new CubeQueryAggregate("min(m1)"));
View Full Code Here

TOP

Related Classes of org.olap4cloud.client.CubeQueryCondition

Copyright © 2018 www.massapicom. 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.