Package mondrian.xmla
Interface XmlaRequest
-
- All Known Implementing Classes:
DefaultXmlaRequest
public interface XmlaRequest
XML/A request interface.- Author:
- Gang Chen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.olap4j.metadata.XmlaConstants.Method
getMethod()
Indicate DISCOVER or EXECUTE method.String
getPassword()
The password to use to open the underlying olap4j connection.Map<String,String>
getProperties()
Properties of XML/A request.String
getRequestType()
Request type of DISCOVER method.Map<String,Object>
getRestrictions()
Restrictions of DISCOVER method.String
getRoleName()
Role name binds with this XML/A request.String
getSessionId()
Returns the id of the session this request belongs to.String
getStatement()
Statement of EXECUTE method.String
getUsername()
The username to use to open the underlying olap4j connection.boolean
isDrillThrough()
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
-
-