Package org.olap4cloud.client

Examples of org.olap4cloud.client.CubeQueryResultRow


      String s = null;
      do {
        s = reader.readLine();
        if(s != null) {
          StringTokenizer sb = new StringTokenizer(s, "\t", false);
          CubeQueryResultRow row = new CubeQueryResultRow();
          for(int i = 0; i < scan.getGroupBy().length; i ++)
            row.getGroupBy().add(Long.parseLong(sb.nextToken()));
          for(int i = 0; i < scan.getCubeScanAggregates().size(); i ++)
            row.getValues().add(Double.parseDouble(sb.nextToken()));
          cubeQueryResult.getRows().add(row);
        }
      } while(s != null);
      reader.close();
      fsin.close();
View Full Code Here

TOP

Related Classes of org.olap4cloud.client.CubeQueryResultRow

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.