public abstract class MDXBaseComponent
extends org.pentaho.platform.engine.services.solution.ComponentBase
implements org.pentaho.platform.api.data.IDataComponent, org.pentaho.platform.api.data.IPreparedComponent
Modifier and Type | Field and Description |
---|---|
static String |
FORMATTED_CELL_VALUES |
COMPONENT_EXECUTE_FAIL, MISSING_SESSION
EMPTYLOGID, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
Constructor and Description |
---|
MDXBaseComponent() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
if the owner, dispose of the connection
|
void |
done() |
org.pentaho.commons.connection.IPentahoResultSet |
executePrepared(Map preparedParams)
executes a prepared method that returns a result set
executePrepared looks up any "PREPARELATER" params
in the preparedParams map.
|
org.pentaho.commons.connection.IPentahoConnection |
getDatasourceConnection()
attempt to aquire a connection.
|
abstract org.apache.commons.logging.Log |
getLogger() |
org.pentaho.commons.connection.IPentahoResultSet |
getResultSet() |
boolean |
init() |
org.pentaho.commons.connection.IPentahoConnection |
shareConnection()
return this class's connection.
|
abstract boolean |
validateSystemSettings() |
createFeedbackParameter, createFeedbackParameter, createNewInstance, execute, getActionDefinition, getActionName, getActionTitle, getComponentDefinition, getComponentDefinition, getId, getInitFailMessage, getInitOk, getInstanceId, getLogId, getObjectName, getProcessId, getResourceAsString, getRuntimeContext, getSession, inputMissingError, outputMissingError, promptNeeded, promptNow, resolveParameter, resourceComponentSettingError, resourceMissingError, setActionDefinition, setActionName, setComponentDefinition, setComponentDefinitionMap, setInstanceId, setProcessId, setRuntimeContext, setSession, validate
debug, debug, error, error, error, fatal, fatal, getMessages, getUserString, info, info, setMessages, trace, trace, warn, warn
genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, setLoggingLevel, setLogId
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, getActionDefinition, getActionName, getComponentDefinition, getInstanceId, getMessages, getProcessId, getRuntimeContext, getSession, setActionDefinition, setActionName, setComponentDefinition, setComponentDefinitionMap, setInstanceId, setMessages, setProcessId, setRuntimeContext, setSession, validate
public static final String FORMATTED_CELL_VALUES
public abstract boolean validateSystemSettings()
validateSystemSettings
in class org.pentaho.platform.engine.services.solution.ComponentBase
public abstract org.apache.commons.logging.Log getLogger()
getLogger
in class org.pentaho.platform.engine.core.system.PentahoBase
public org.pentaho.commons.connection.IPentahoResultSet getResultSet()
getResultSet
in interface org.pentaho.platform.api.data.IDataComponent
public void done()
done
in interface org.pentaho.platform.api.engine.IComponent
done
in class org.pentaho.platform.engine.services.solution.ComponentBase
public void dispose()
dispose
in interface org.pentaho.commons.connection.IDisposable
dispose
in interface org.pentaho.platform.api.data.IDataComponent
dispose
in interface org.pentaho.platform.api.data.IPreparedComponent
public org.pentaho.commons.connection.IPentahoConnection shareConnection()
shareConnection
in interface org.pentaho.platform.api.data.IPreparedComponent
public org.pentaho.commons.connection.IPentahoResultSet executePrepared(Map preparedParams)
executePrepared
in interface org.pentaho.platform.api.data.IPreparedComponent
preparedParams
- a map of possible parameters.public org.pentaho.commons.connection.IPentahoConnection getDatasourceConnection()
public boolean init()
init
in interface org.pentaho.platform.api.engine.IComponent
init
in class org.pentaho.platform.engine.services.solution.ComponentBase