Class DefaultXmlaRequest

    • Method Detail

      • getSessionId

        public String getSessionId()
        Description copied from interface: XmlaRequest
        Returns the id of the session this request belongs to.

        Not necessarily the same as the HTTP session: the SOAP request contains its own session information.

        The session id is used to retrieve existing olap connections. And username / password only need to be passed on the first request in a session.

        Specified by:
        getSessionId in interface XmlaRequest
        Returns:
        Id of the session
      • getUsername

        public String getUsername()
        Description copied from interface: XmlaRequest
        The username to use to open the underlying olap4j connection. Can be null.
        Specified by:
        getUsername in interface XmlaRequest
      • getPassword

        public String getPassword()
        Description copied from interface: XmlaRequest
        The password to use to open the underlying olap4j connection. Can be null.
        Specified by:
        getPassword in interface XmlaRequest
      • getMethod

        public org.olap4j.metadata.XmlaConstants.Method getMethod()
        Description copied from interface: XmlaRequest
        Indicate DISCOVER or EXECUTE method.
        Specified by:
        getMethod in interface XmlaRequest
      • getRestrictions

        public Map<String,​Object> getRestrictions()
        Description copied from interface: XmlaRequest
        Restrictions of DISCOVER method.

        If the value is a list of strings, the restriction passes if the column has one of the values.

        Specified by:
        getRestrictions in interface XmlaRequest
      • getRoleName

        public String getRoleName()
        Description copied from interface: XmlaRequest
        Role name binds with this XML/A request. Maybe null.
        Specified by:
        getRoleName in interface XmlaRequest
      • isDrillThrough

        public boolean isDrillThrough()
        Description copied from interface: XmlaRequest
        Indicate whether statement is a drill through statement of EXECUTE method.
        Specified by:
        isDrillThrough in interface XmlaRequest