Package mondrian.xmla

Interface XmlaRequest

  • All Known Implementing Classes:
    DefaultXmlaRequest

    public interface XmlaRequest
    XML/A request interface.
    Author:
    Gang Chen
    • Method Detail

      • getMethod

        org.olap4j.metadata.XmlaConstants.Method getMethod()
        Indicate DISCOVER or EXECUTE method.
      • getProperties

        Map<String,​String> getProperties()
        Properties of XML/A request.
      • getRestrictions

        Map<String,​Object> getRestrictions()
        Restrictions of DISCOVER method.

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

      • getStatement

        String getStatement()
        Statement of EXECUTE method.
      • getRoleName

        String getRoleName()
        Role name binds with this XML/A request. Maybe null.
      • getRequestType

        String getRequestType()
        Request type of DISCOVER method.
      • isDrillThrough

        boolean isDrillThrough()
        Indicate whether statement is a drill through statement of EXECUTE method.
      • getUsername

        String getUsername()
        The username to use to open the underlying olap4j connection. Can be null.
      • getPassword

        String getPassword()
        The password to use to open the underlying olap4j connection. Can be null.
      • getSessionId

        String getSessionId()
        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.

        Returns:
        Id of the session