public class ResultCache extends Object implements HttpSessionBindingListener
Modifier and Type | Method and Description |
---|---|
Document |
getDOM() |
static ResultCache |
getInstance(HttpSession session,
ServletContext servletContext,
String name)
Retrieves a cached query.
|
Query |
getQuery()
Returns the
Query . |
Result |
getResult() |
void |
parse(String mdx) |
void |
setDirty()
set to dirty after you have modified the query to force a recalcuation
|
void |
setQuery(Query query)
Sets the query.
|
void |
valueBound(HttpSessionBindingEvent ev)
create a new connection to Mondrian
|
void |
valueUnbound(HttpSessionBindingEvent ev)
close connection
|
public static ResultCache getInstance(HttpSession session, ServletContext servletContext, String name)
public void parse(String mdx)
public Result getResult()
public Document getDOM()
public Query getQuery()
Query
. If you modify the query, call
setDirty()
(true)
.public void setQuery(Query query)
setDirty()
(true)
.public void setDirty()
public void valueBound(HttpSessionBindingEvent ev)
valueBound
in interface HttpSessionBindingListener
public void valueUnbound(HttpSessionBindingEvent ev)
valueUnbound
in interface HttpSessionBindingListener