|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPreparedComponent
The prepared component interface extends component, allowing components to go into a prepared state vs. execute state. These components may place themselves as an output parameter, and then be used later in the action-sequence for execution of prepared statements / etc.
MDXBaseComponent
,
SQLBaseComponent
,
IPentahoResultSet
Field Summary | |
---|---|
static String |
PREPARE_LATER_INTER_PREFIX
this is an intermediate term used when resolving parameters in the executePrepared call |
static String |
PREPARE_LATER_PLACEHOLDER
A placeholder for template strings and potential prepared lists, so template fields can be replaced on the fly vs. |
static String |
PREPARE_LATER_PREFIX
this term may appear when resolving parameters "{PREPARELATER:PARAM_NAME}" |
static String |
PREPARED_COMPONENT_NAME
The name of the output. |
static String |
PREPARED_OUTPUT_TYPE
The type of the output. |
Fields inherited from interface org.pentaho.platform.api.engine.ILogger |
---|
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN |
Method Summary | |
---|---|
void |
dispose()
Disposes of resources held by the prepared component |
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 |
shareConnection()
exposes the connection object for others to use. |
Methods inherited from interface org.pentaho.platform.api.engine.IComponent |
---|
done, execute, getActionDefinition, getActionName, getComponentDefinition, getInstanceId, getMessages, getProcessId, getRuntimeContext, getSession, init, setActionDefinition, setActionName, setComponentDefinition, setComponentDefinitionMap, setInstanceId, setMessages, setProcessId, setRuntimeContext, setSession, validate |
Methods inherited from interface org.pentaho.platform.api.engine.IAuditable |
---|
getId, getObjectName |
Methods inherited from interface org.pentaho.platform.api.engine.ILogger |
---|
debug, debug, error, error, fatal, fatal, getLoggingLevel, info, info, setLoggingLevel, trace, trace, warn, warn |
Field Detail |
---|
static final String PREPARE_LATER_PREFIX
static final String PREPARE_LATER_INTER_PREFIX
static final String PREPARED_COMPONENT_NAME
static final String PREPARED_OUTPUT_TYPE
static final String PREPARE_LATER_PLACEHOLDER
Method Detail |
---|
org.pentaho.commons.connection.IPentahoResultSet executePrepared(Map preparedParams)
preparedParams
- a map of possible parameters.
org.pentaho.commons.connection.IPentahoConnection shareConnection()
void dispose()
dispose
in interface org.pentaho.commons.connection.IDisposable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |