public class ResultCache extends Object implements javax.servlet.http.HttpSessionBindingListener
Modifier and Type | Method and Description |
---|---|
Document |
getDOM() |
static ResultCache |
getInstance(javax.servlet.http.HttpSession session,
javax.servlet.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(javax.servlet.http.HttpSessionBindingEvent ev)
create a new connection to Mondrian
|
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent ev)
close connection
|
public static ResultCache getInstance(javax.servlet.http.HttpSession session, javax.servlet.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(javax.servlet.http.HttpSessionBindingEvent ev)
valueBound
in interface javax.servlet.http.HttpSessionBindingListener
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent ev)
valueUnbound
in interface javax.servlet.http.HttpSessionBindingListener
Copyright © 2020 Hitachi Vantara. All rights reserved.