Package org.pentaho.aggdes.model

Examples of org.pentaho.aggdes.model.Schema


    }
  }

  public boolean saveWorkspace(boolean saveAs) throws XulException {
   
    Schema schema = workspace.getSchema();
   
    // only allow saving if the app is unlocked
    if (!workspace.isApplicationUnlocked()) {
      // display warning
      XulMessageBox msgBox = (XulMessageBox) document.createElement("messagebox");
View Full Code Here


      Map<Parameter, Object> parameterValues = new HashMap<Parameter, Object>();

      parameterValues.put(mondrianSchemaLoader.getParameters().get(0), mondrianConnectionUrl);
      parameterValues.put(mondrianSchemaLoader.getParameters().get(1), cubeName);

      Schema newSchema = mondrianSchemaLoader.createSchema(parameterValues);
      return newSchema;
    } catch(KettleDatabaseException e){
      throw new AggDesignerException("Error loading Schema from Mondrian file",e);
    }
  }
View Full Code Here

TOP

Related Classes of org.pentaho.aggdes.model.Schema

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.