public abstract class XQueryBaseComponent
extends org.pentaho.platform.engine.services.solution.ComponentBase
implements org.pentaho.platform.api.data.IPreparedComponent
COMPONENT_EXECUTE_FAIL, MISSING_SESSIONEMPTYLOGID, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR| Constructor and Description |
|---|
XQueryBaseComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
disposes of the connection this is called by the runtime context if the object is used as an iprepared component
|
void |
done() |
org.pentaho.commons.connection.IPentahoResultSet |
executePrepared(Map preparedParams)
implements the IPreparedComponent executePrepared, which allows other components to execute the prepared
statement.
|
abstract org.apache.commons.logging.Log |
getLogger() |
int |
getMaxRows() |
org.pentaho.commons.connection.IPentahoResultSet |
getResultSet() |
boolean |
init() |
void |
setMaxRows(int value) |
org.pentaho.commons.connection.IPentahoConnection |
shareConnection()
implements IPreparedComponents shareConnection, allowing other xquery components to access the 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, validatedebug, debug, error, error, error, fatal, fatal, getMessages, getUserString, info, info, setMessages, trace, trace, warn, warngenLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, setLoggingLevel, setLogIdequals, 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 abstract boolean validateSystemSettings()
validateSystemSettings in class org.pentaho.platform.engine.services.solution.ComponentBasepublic abstract org.apache.commons.logging.Log getLogger()
getLogger in class org.pentaho.platform.engine.core.system.PentahoBasepublic org.pentaho.commons.connection.IPentahoResultSet getResultSet()
public void done()
done in interface org.pentaho.platform.api.engine.IComponentdone in class org.pentaho.platform.engine.services.solution.ComponentBasepublic boolean init()
init in interface org.pentaho.platform.api.engine.IComponentinit in class org.pentaho.platform.engine.services.solution.ComponentBasepublic org.pentaho.commons.connection.IPentahoConnection shareConnection()
shareConnection in interface org.pentaho.platform.api.data.IPreparedComponentpublic org.pentaho.commons.connection.IPentahoResultSet executePrepared(Map preparedParams)
executePrepared in interface org.pentaho.platform.api.data.IPreparedComponentpreparedParams - lookup for prepared parameterspublic int getMaxRows()
public void setMaxRows(int value)
public void dispose()
dispose in interface org.pentaho.commons.connection.IDisposabledispose in interface org.pentaho.platform.api.data.IPreparedComponent