Package mondrian.xmla
Interface XmlaRequest
- All Known Implementing Classes:
DefaultXmlaRequest
,DmvXmlaRequest
public interface XmlaRequest
XML/A request interface.
- Author:
- Gang Chen
-
Method Summary
Modifier and TypeMethodDescriptionString[]
org.olap4j.metadata.XmlaConstants.Method
Indicate DISCOVER or EXECUTE method.The password to use to open the underlying olap4j connection.Properties of XML/A request.Request type of DISCOVER method.Restrictions of DISCOVER method.Role name binds with this XML/A request.Returns the id of the session this request belongs to.Statement of EXECUTE method.The username to use to open the underlying olap4j connection.boolean
Indicate whether statement is a drill through statement of EXECUTE method.
-
Method Details
-
getMethod
org.olap4j.metadata.XmlaConstants.Method getMethod()Indicate DISCOVER or EXECUTE method. -
getProperties
Properties of XML/A request. -
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
-
getAuthenticatedUser
String getAuthenticatedUser() -
getAuthenticatedUserGroups
String[] getAuthenticatedUserGroups()
-