public class SQLExecute extends SQLLookupRule
PREPARE_PARAMETER_PREFIX
COMPONENT_EXECUTE_FAIL, MISSING_SESSION
EMPTYLOGID, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
Constructor and Description |
---|
SQLExecute() |
Modifier and Type | Method and Description |
---|---|
void |
addErrorCode(org.pentaho.commons.connection.memory.MemoryResultSet affectedRowsResultSet,
SQLException e,
String failMsg) |
org.apache.commons.logging.Log |
getLogger() |
static String |
removeLineTerminators(String inputStr) |
boolean |
validateAction()
validates the action.
|
getResultOutputName, validateSystemSettings
dispose, done, doQuery, executePrepared, getDatasourceConnection, getMaxRows, getQuery, getQueryTimeout, getReadOnly, getResultSet, init, resolveParameter, setMaxRows, setQueryTimeout, setReadOnly, shareConnection
createFeedbackParameter, createFeedbackParameter, createNewInstance, execute, getActionDefinition, getActionName, getActionTitle, getComponentDefinition, getComponentDefinition, getId, getInitFailMessage, getInitOk, getInstanceId, getLogId, getObjectName, getProcessId, getResourceAsString, getRuntimeContext, getSession, inputMissingError, outputMissingError, promptNeeded, promptNow, 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 org.apache.commons.logging.Log getLogger()
getLogger
in class SQLLookupRule
public boolean validateAction()
SQLBaseComponent
validateAction
in class SQLBaseComponent
public void addErrorCode(org.pentaho.commons.connection.memory.MemoryResultSet affectedRowsResultSet, SQLException e, String failMsg)