|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.query.JRAbstractQueryExecuter
net.sf.jasperreports.olap.xmla.JRXmlaQueryExecuter
public class JRXmlaQueryExecuter
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.sf.jasperreports.engine.query.JRAbstractQueryExecuter |
---|
JRAbstractQueryExecuter.QueryParameter |
Field Summary |
---|
Fields inherited from class net.sf.jasperreports.engine.query.JRAbstractQueryExecuter |
---|
CLAUSE_POSITION_ID, clauseFunctions, dataset |
Constructor Summary | |
---|---|
JRXmlaQueryExecuter(JasperReportsContext jasperReportsContext,
JRDataset dataset,
Map<String,? extends JRValueParameter> parametersMap)
|
|
JRXmlaQueryExecuter(JRDataset dataset,
Map<String,? extends JRValueParameter> parametersMap)
Deprecated. Replaced by JRXmlaQueryExecuter(JasperReportsContext, JRDataset, Map) . |
Method Summary | |
---|---|
protected void |
addParameterList(SOAPEnvelope envelope,
SOAPElement eParent,
String typeName,
String listName,
Map<String,String> params)
|
boolean |
cancelQuery()
Cancels the query if it's currently running. |
void |
close()
Closes resources kept open during the data source iteration. |
JRDataSource |
createDatasource()
Executes the query and creates a JRDataSource out of the result. |
protected SOAPMessage |
createQueryMessage()
|
protected SOAPConnection |
createSOAPConnection()
|
protected SOAPMessage |
executeQuery(SOAPMessage message,
URL url)
Sends the SOAP Message over the connection and returns the Result-SOAP-Message |
protected String |
getParameterReplacement(String parameterName)
Returns the replacement text for a query parameter. |
protected String |
getSoapUrl()
|
protected void |
handleCellErrors(Iterator<?> errorElems)
|
protected void |
handleHierInfo(JRXmlaResultAxis axis,
SOAPElement hierInfoElement)
|
protected void |
handleResultFault(SOAPFault fault)
|
protected void |
handleTupleElement(JRXmlaResultAxis axis,
SOAPElement tupleElement)
|
protected void |
handleTuplesElement(JRXmlaResultAxis axis,
SOAPElement tuplesElement)
|
protected void |
parseAxesElement(SOAPElement axesElement)
|
protected void |
parseAxesInfoElement(SOAPElement axesInfoElement)
|
protected void |
parseCellDataElement(SOAPElement cellDataElement)
|
protected void |
parseOLAPInfoElement(SOAPElement olapInfoElement)
|
protected void |
parseResult(SOAPMessage reply)
Parses the result-Message into this class's structure |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JRXmlaQueryExecuter(JasperReportsContext jasperReportsContext, JRDataset dataset, Map<String,? extends JRValueParameter> parametersMap)
public JRXmlaQueryExecuter(JRDataset dataset, Map<String,? extends JRValueParameter> parametersMap)
JRXmlaQueryExecuter(JasperReportsContext, JRDataset, Map)
.
Method Detail |
---|
protected String getParameterReplacement(String parameterName)
JRAbstractQueryExecuter
getParameterReplacement
in class JRAbstractQueryExecuter
parameterName
- the parameter name
JRQueryChunk.TYPE_PARAMETER
public JRDataSource createDatasource() throws JRException
JRQueryExecuter
JRDataSource
out of the result.
JRDataSource
wrapping the query execution result.
JRException
protected String getSoapUrl() throws MalformedURLException
MalformedURLException
public boolean cancelQuery() throws JRException
JRQueryExecuter
true
if and only if the query was running and it has been canceled
JRException
public void close()
JRQueryExecuter
createDatasource
.
protected SOAPConnection createSOAPConnection()
protected SOAPMessage createQueryMessage()
protected void addParameterList(SOAPEnvelope envelope, SOAPElement eParent, String typeName, String listName, Map<String,String> params) throws SOAPException
SOAPException
protected SOAPMessage executeQuery(SOAPMessage message, URL url)
protected void parseResult(SOAPMessage reply) throws SOAPException
reply
- The reply-Message from the Server
SOAPException
protected void handleResultFault(SOAPFault fault)
protected void parseOLAPInfoElement(SOAPElement olapInfoElement) throws SOAPException
SOAPException
protected void parseAxesInfoElement(SOAPElement axesInfoElement) throws SOAPException
SOAPException
protected void parseAxesElement(SOAPElement axesElement) throws SOAPException
SOAPException
protected void parseCellDataElement(SOAPElement cellDataElement) throws SOAPException
SOAPException
protected void handleCellErrors(Iterator<?> errorElems) throws SOAPException
SOAPException
protected void handleHierInfo(JRXmlaResultAxis axis, SOAPElement hierInfoElement) throws SOAPException
SOAPException
protected void handleTuplesElement(JRXmlaResultAxis axis, SOAPElement tuplesElement) throws SOAPException
SOAPException
protected void handleTupleElement(JRXmlaResultAxis axis, SOAPElement tupleElement) throws SOAPException
SOAPException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |