Package ch.epfl.lbd.database.olap

Examples of ch.epfl.lbd.database.olap.Dimension


      Hierarchy spaceHier = new MondrianHierarchy("spaceHier",spaceDimension);
      spaceHier.addLevel(environmentLvl);
      spaceHier.addLevel(regionLvl);
      spaceHier.addLevel(areaLvl);
     
      Dimension spaceDim = new MondrianDimension("Space",spaceHier);

     
      //define episode presence measure
     
      String sql = "case when get_trj_space_area_intersections(trdw_episode_facts.geom) > 0 then  ceil(1/get_trj_space_area_intersections(trdw_episode_facts.geom)) else 0 end";
View Full Code Here


      LevelProperty timeStamp = new MondrianLevelProperty("TimeStamp",LevelProperty.TYPE_TIMESTAMP,timeDimension,"timestamp");
      yearLevel.addProperty(timeStamp);
     
      Hierarchy timeHier = new MondrianHierarchy("timeHier",timeDimension);
     
      Dimension timeDim = new MondrianDimension("Time",timeHier);
     
      timeDimension.releaseObject();
     
      logger.info(((MondrianDimension)timeDim).addToMondrianSchema());
View Full Code Here

      Hierarchy spaceHier = new MondrianHierarchy("spaceHier",spaceDimension);
      spaceHier.addLevel(environmentLvl);
      spaceHier.addLevel(regionLvl);
      spaceHier.addLevel(areaLvl);
     
      Dimension spaceDim = new MondrianDimension("Space",spaceHier);

     
      //define episode presence measure
     
      String sql = "case when get_trj_space_area_intersections(trdw_episode_facts.geom) > 0 then  ceil(1/get_trj_space_area_intersections(trdw_episode_facts.geom)) else 0 end";
View Full Code Here

TOP

Related Classes of ch.epfl.lbd.database.olap.Dimension

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.