Class DmvXmlaRequest

java.lang.Object
mondrian.xmla.impl.DmvXmlaRequest
All Implemented Interfaces:
XmlaRequest

public class DmvXmlaRequest extends Object implements XmlaRequest
  • Constructor Details

  • Method Details

    • getMethod

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

      public Map<String,String> getProperties()
      Description copied from interface: XmlaRequest
      Properties of XML/A request.
      Specified by:
      getProperties 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
    • getStatement

      public String getStatement()
      Description copied from interface: XmlaRequest
      Statement of EXECUTE method.
      Specified by:
      getStatement 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
    • getRequestType

      public String getRequestType()
      Description copied from interface: XmlaRequest
      Request type of DISCOVER method.
      Specified by:
      getRequestType 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
    • 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
    • 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
    • getAuthenticatedUser

      public String getAuthenticatedUser()
      Specified by:
      getAuthenticatedUser in interface XmlaRequest
    • getAuthenticatedUserGroups

      public String[] getAuthenticatedUserGroups()
      Specified by:
      getAuthenticatedUserGroups in interface XmlaRequest