Package mondrian.xmla.impl
Class DmvXmlaRequest
java.lang.Object
mondrian.xmla.impl.DmvXmlaRequest
- All Implemented Interfaces:
XmlaRequest
-
Constructor Summary
-
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.
-
Constructor Details
-
DmvXmlaRequest
-
-
Method Details
-
getMethod
public org.olap4j.metadata.XmlaConstants.Method getMethod()Description copied from interface:XmlaRequest
Indicate DISCOVER or EXECUTE method.- Specified by:
getMethod
in interfaceXmlaRequest
-
getProperties
Description copied from interface:XmlaRequest
Properties of XML/A request.- Specified by:
getProperties
in interfaceXmlaRequest
-
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 interfaceXmlaRequest
-
getStatement
Description copied from interface:XmlaRequest
Statement of EXECUTE method.- Specified by:
getStatement
in interfaceXmlaRequest
-
getRoleName
Description copied from interface:XmlaRequest
Role name binds with this XML/A request. Maybe null.- Specified by:
getRoleName
in interfaceXmlaRequest
-
getRequestType
Description copied from interface:XmlaRequest
Request type of DISCOVER method.- Specified by:
getRequestType
in interfaceXmlaRequest
-
isDrillThrough
public boolean isDrillThrough()Description copied from interface:XmlaRequest
Indicate whether statement is a drill through statement of EXECUTE method.- Specified by:
isDrillThrough
in interfaceXmlaRequest
-
getUsername
Description copied from interface:XmlaRequest
The username to use to open the underlying olap4j connection. Can be null.- Specified by:
getUsername
in interfaceXmlaRequest
-
getPassword
Description copied from interface:XmlaRequest
The password to use to open the underlying olap4j connection. Can be null.- Specified by:
getPassword
in interfaceXmlaRequest
-
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 interfaceXmlaRequest
- Returns:
- Id of the session
-
getAuthenticatedUser
- Specified by:
getAuthenticatedUser
in interfaceXmlaRequest
-
getAuthenticatedUserGroups
- Specified by:
getAuthenticatedUserGroups
in interfaceXmlaRequest
-