|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.xmla.impl.DefaultXmlaRequest
public class DefaultXmlaRequest
Default implementation of XmlaRequest by DOM API.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
DefaultXmlaRequest(Element xmlaRoot,
String roleName,
String username,
String password,
String sessionId)
|
|
| Method Summary | |
|---|---|
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. |
protected void |
init(Element xmlaRoot)
|
boolean |
isDrillThrough()
Indicate whether statement is a drill through statement of EXECUTE method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultXmlaRequest(Element xmlaRoot,
String roleName,
String username,
String password,
String sessionId)
throws XmlaException
XmlaException| Method Detail |
|---|
public String getSessionId()
XmlaRequestNot 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.
getSessionId in interface XmlaRequestpublic String getUsername()
XmlaRequest
getUsername in interface XmlaRequestpublic String getPassword()
XmlaRequest
getPassword in interface XmlaRequestpublic XmlaConstants.Method getMethod()
XmlaRequest
getMethod in interface XmlaRequestpublic Map<String,String> getProperties()
XmlaRequest
getProperties in interface XmlaRequestpublic Map<String,Object> getRestrictions()
XmlaRequestIf the value is a list of strings, the restriction passes if the column has one of the values.
getRestrictions in interface XmlaRequestpublic String getStatement()
XmlaRequest
getStatement in interface XmlaRequestpublic String getRoleName()
XmlaRequest
getRoleName in interface XmlaRequestpublic String getRequestType()
XmlaRequest
getRequestType in interface XmlaRequestpublic boolean isDrillThrough()
XmlaRequest
isDrillThrough in interface XmlaRequest
protected final void init(Element xmlaRoot)
throws XmlaException
XmlaException
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||