public abstract class XMLABaseComponent
extends org.pentaho.platform.engine.services.solution.ComponentBase
implements org.pentaho.platform.api.data.IDataComponent
| Modifier and Type | Field and Description |
|---|---|
static int |
PROVIDER_ESSBASE |
static int |
PROVIDER_MICROSOFT |
static int |
PROVIDER_MONDRIAN |
static int |
PROVIDER_SAP |
COMPONENT_EXECUTE_FAIL, debug, MISSING_SESSION, UNKNOWN_COMPONENT_ID| Constructor and Description |
|---|
XMLABaseComponent() |
| Modifier and Type | Method and Description |
|---|---|
Map |
discoverDS()
retrieve data source properties
|
void |
dispose() |
void |
done() |
protected boolean |
executeAction() |
boolean |
executeQuery(String query,
String catalog)
Execute query
|
abstract org.apache.commons.logging.Log |
getLogger() |
abstract String |
getResultOutputName() |
org.pentaho.commons.connection.IPentahoResultSet |
getResultSet() |
boolean |
init() |
protected boolean |
validateAction() |
abstract boolean |
validateSystemSettings() |
addTempParameter, addTempParameterObject, applyInputsToFormat, audit, createFeedbackParameter, createFeedbackParameter, createFeedbackParameter, createFeedbackParameter, createFeedbackParameter, createFeedbackParameter, createFeedbackParameter, createNewInstance, execute, feedbackAllowed, getActionDefinition, getActionName, getActionTitle, getComponentDefinition, getComponentDefinition, getContentOutputItem, getDefaultOutputStream, getFeedbackOutputStream, getId, getInitFailMessage, getInitOk, getInputBooleanValue, getInputLongValue, getInputNames, getInputParameter, getInputStream, getInputStringValue, getInputStringValue, getInputValue, getInstanceId, getLogId, getObjectName, getOutputContentItem, getOutputContentItem, getOutputItem, getOutputItem, getOutputNames, getOutputPreference, getProcessId, getResource, getResourceAsString, getResourceDataSource, getResourceInputStream, getResourceNames, getRuntimeContext, getSession, getSetting, getSolutionName, getSolutionPath, getStringSetting, inputMissingError, isDefinedInput, isDefinedOutput, isDefinedResource, isPromptPending, outputMissingError, promptNeeded, promptNow, resolveParameter, resourceComponentSettingError, resourceMissingError, saveSetting, setActionDefinition, setActionName, setComponentDefinition, setComponentDefinitionMap, setFeedbackMimeType, setInstanceId, setOutputMimeType, setOutputMimeType, setOutputValue, setProcessId, setRuntimeContext, setSession, validatedebug, debug, error, error, error, fatal, fatal, getMessages, getUserString, info, info, setMessages, trace, trace, warn, warngenLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, setLoggingLevel, setLogIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, getActionDefinition, getActionName, getComponentDefinition, getInstanceId, getMessages, getProcessId, getRuntimeContext, getSession, setActionDefinition, setActionName, setComponentDefinition, setComponentDefinitionMap, setInstanceId, setMessages, setProcessId, setRuntimeContext, setSession, validatepublic static final int PROVIDER_MICROSOFT
public static final int PROVIDER_SAP
public static final int PROVIDER_MONDRIAN
public static final int PROVIDER_ESSBASE
public abstract boolean validateSystemSettings()
validateSystemSettings in class org.pentaho.platform.engine.services.solution.ComponentBasepublic abstract String getResultOutputName()
public abstract org.apache.commons.logging.Log getLogger()
getLogger in class org.pentaho.platform.engine.core.system.PentahoBasepublic org.pentaho.commons.connection.IPentahoResultSet getResultSet()
getResultSet in interface org.pentaho.platform.api.data.IDataComponentprotected boolean validateAction()
validateAction in class org.pentaho.platform.engine.services.solution.ComponentBasepublic void done()
done in interface org.pentaho.platform.api.engine.IComponentdone in class org.pentaho.platform.engine.services.solution.ComponentBaseprotected boolean executeAction()
executeAction in class org.pentaho.platform.engine.services.solution.ComponentBasepublic boolean executeQuery(String query, String catalog) throws XMLAException
query - - MDX to be executedcatalog - handler - Callback handlerXMLAExceptionpublic Map discoverDS() throws XMLAException
XMLAExceptionDataSourceBrowserpublic void dispose()
dispose in interface org.pentaho.platform.api.data.IDataComponentpublic boolean init()
init in interface org.pentaho.platform.api.engine.IComponentinit in class org.pentaho.platform.engine.services.solution.ComponentBaseCopyright © 2020 Hitachi Vantara. All rights reserved.