public interface IPreparedComponent extends IComponent, org.pentaho.commons.connection.IDisposable
MDXBaseComponent
,
SQLBaseComponent
,
IPentahoResultSet
Modifier and Type | Field and Description |
---|---|
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.
|
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN
Modifier and Type | Method and Description |
---|---|
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.
|
done, execute, getActionDefinition, getActionName, getComponentDefinition, getInstanceId, getMessages, getProcessId, getRuntimeContext, getSession, init, setActionDefinition, setActionName, setComponentDefinition, setComponentDefinitionMap, setInstanceId, setMessages, setProcessId, setRuntimeContext, setSession, validate
getId, getObjectName
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
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