public abstract class XQueryBaseComponent
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 |
---|
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, 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 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 boolean init()
init
in interface org.pentaho.platform.api.engine.IComponent
init
in class org.pentaho.platform.engine.services.solution.ComponentBase
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
- lookup for prepared parameterspublic int getMaxRows()
public void setMaxRows(int value)
public void dispose()
dispose
in interface org.pentaho.commons.connection.IDisposable
dispose
in interface org.pentaho.platform.api.data.IPreparedComponent