Package mondrian.olap

Class ConnectionBase

    • Constructor Detail

      • ConnectionBase

        protected ConnectionBase()
    • Method Detail

      • getLogger

        protected abstract org.apache.logging.log4j.Logger getLogger()
      • getFullConnectString

        public String getFullConnectString()
      • getInternalStatement

        public abstract Statement getInternalStatement()
      • parseStatement

        public QueryPart parseStatement​(Statement statement,
                                        String query,
                                        FunTable funTable,
                                        boolean strictValidation)
        Parses a query, with specified function table and the mode for strict validation(if true then invalid members are not ignored).

        This method is only used in testing and by clients that need to support customized parser behavior. That is why this method is not part of the Connection interface.

        See test case mondrian.olap.CustomizedParserTest.

        Parameters:
        statement - Evaluation context
        query - MDX query that requires special parsing
        funTable - Customized function table to use in parsing
        strictValidation - If true, do not ignore invalid members
        Returns:
        Query the corresponding Query object if parsing is successful
        Throws:
        MondrianException - if parsing fails