Search in sources :

Example 1 with PivotModelImpl

use of org.pivot4j.impl.PivotModelImpl in project bamboobsc by billchen198318.

the class Pivot4JUtils method getPivotModel.

private static PivotModel getPivotModel(OlapDataSource dataSource, String mdx) throws Exception {
    PivotModel model = new PivotModelImpl(dataSource);
    model.setMdx(mdx);
    model.initialize();
    return model;
}
Also used : PivotModel(org.pivot4j.PivotModel) PivotModelImpl(org.pivot4j.impl.PivotModelImpl)

Aggregations

PivotModel (org.pivot4j.PivotModel)1 PivotModelImpl (org.pivot4j.impl.PivotModelImpl)1