Package net.hydromatic.optiq.materialize

Examples of net.hydromatic.optiq.materialize.MaterializationService


  }

  /** Called after the constructor has completed and the model has been
   * loaded. */
  void init() {
    final MaterializationService service = MaterializationService.instance();
    for (OptiqSchema.LatticeEntry e : Schemas.getLatticeEntries(rootSchema)) {
      final Lattice lattice = e.getLattice();
      for (Lattice.Tile tile : lattice.tiles) {
        service.defineTile(lattice, tile.bitSet(), tile.measures, e.schema,
            true);
      }
    }
  }
View Full Code Here


    final OptiqConnectionConfig config =
        planner.getContext().unwrap(OptiqConnectionConfig.class);
    if (config == null) {
      return null;
    }
    final MaterializationService service = MaterializationService.instance();
    boolean create = lattice.auto && config.createMaterializations();
    final OptiqSchema schema = starRelOptTable.unwrap(OptiqSchema.class);
    return service.defineTile(lattice, groupSet, measureList, schema, create);
  }
View Full Code Here

  }

  /** Called after the constructor has completed and the model has been
   * loaded. */
  void init() {
    final MaterializationService service = MaterializationService.instance();
    for (OptiqSchema.LatticeEntry e : Schemas.getLatticeEntries(rootSchema)) {
      final Lattice lattice = e.getLattice();
      for (Lattice.Tile tile : lattice.computeTiles()) {
        service.defineTile(lattice, tile.bitSet(), tile.measures, e.schema,
            true);
      }
    }
  }
View Full Code Here

TOP

Related Classes of net.hydromatic.optiq.materialize.MaterializationService

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.