Package mondrian.olap
Class Parser.FactoryImpl
java.lang.Object
mondrian.olap.Parser.FactoryImpl
- All Implemented Interfaces:
MdxParserValidator.QueryPartFactory
- Enclosing class:
- Parser
public static class Parser.FactoryImpl
extends Object
implements MdxParserValidator.QueryPartFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmakeDmvQuery
(String tableName, List<String> columns, Exp whereExpression) Creates aDmvQuery
object.makeDrillThrough
(Query query, int maxRowCount, int firstRowOrdinal, List<Exp> returnList) Creates aDrillThrough
object.makeExplain
(QueryPart query) Creates anExplain
object.makeQuery
(Statement statement, Formula[] formulae, QueryAxis[] axes, String cube, Exp slicer, QueryPart[] cellProps, boolean strictValidation) Creates aQuery
object.
-
Constructor Details
-
FactoryImpl
public FactoryImpl()
-
-
Method Details
-
makeQuery
public Query makeQuery(Statement statement, Formula[] formulae, QueryAxis[] axes, String cube, Exp slicer, QueryPart[] cellProps, boolean strictValidation) Description copied from interface:MdxParserValidator.QueryPartFactory
Creates aQuery
object. Override this function to make your kind of query.- Specified by:
makeQuery
in interfaceMdxParserValidator.QueryPartFactory
-
makeDmvQuery
Description copied from interface:MdxParserValidator.QueryPartFactory
Creates aDmvQuery
object. Override this function to make your kind of query.- Specified by:
makeDmvQuery
in interfaceMdxParserValidator.QueryPartFactory
-
makeDrillThrough
public DrillThrough makeDrillThrough(Query query, int maxRowCount, int firstRowOrdinal, List<Exp> returnList) Description copied from interface:MdxParserValidator.QueryPartFactory
Creates aDrillThrough
object.- Specified by:
makeDrillThrough
in interfaceMdxParserValidator.QueryPartFactory
-
makeExplain
Creates anExplain
object.- Specified by:
makeExplain
in interfaceMdxParserValidator.QueryPartFactory
-