Package mondrian.xmla
Interface XmlaRequest
- 
- All Known Implementing Classes:
 DefaultXmlaRequest
public interface XmlaRequestXML/A request interface.- Author:
 - Gang Chen
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.olap4j.metadata.XmlaConstants.MethodgetMethod()Indicate DISCOVER or EXECUTE method.StringgetPassword()The password to use to open the underlying olap4j connection.Map<String,String>getProperties()Properties of XML/A request.StringgetRequestType()Request type of DISCOVER method.Map<String,Object>getRestrictions()Restrictions of DISCOVER method.StringgetRoleName()Role name binds with this XML/A request.StringgetSessionId()Returns the id of the session this request belongs to.StringgetStatement()Statement of EXECUTE method.StringgetUsername()The username to use to open the underlying olap4j connection.booleanisDrillThrough()Indicate whether statement is a drill through statement of EXECUTE method. 
 - 
 
- 
- 
Method Detail
- 
getMethod
org.olap4j.metadata.XmlaConstants.Method getMethod()
Indicate DISCOVER or EXECUTE method. 
- 
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
 
 
 - 
 
 -