public abstract class HQLBaseComponent
extends org.pentaho.platform.engine.services.solution.ComponentBase
implements org.pentaho.platform.api.data.IPreparedComponent
COMPONENT_EXECUTE_FAIL, MISSING_SESSION
EMPTYLOGID, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
Constructor and Description |
---|
HQLBaseComponent() |
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.
|
abstract org.apache.commons.logging.Log |
getLogger() |
abstract String |
getResultOutputName() |
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 abstract boolean validateSystemSettings()
validateSystemSettings
in class org.pentaho.platform.engine.services.solution.ComponentBase
public abstract String getResultOutputName()
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()
public void done()
done
in interface org.pentaho.platform.api.engine.IComponent
done
in class org.pentaho.platform.engine.services.solution.ComponentBase
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 void dispose()
dispose
in interface org.pentaho.commons.connection.IDisposable
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 boolean init()
init
in interface org.pentaho.platform.api.engine.IComponent
init
in class org.pentaho.platform.engine.services.solution.ComponentBase