|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IExecutableTextHolder
Classes implementing this interface contain texts that can be executed on a location, thus enabling to access in a generic way any object containing an expression.
It has a Sql Expression and an OdiInterface.ExecutionLocation
, some potential attached SourceDataStore
s, may be located in a DataSet
,
and may be part of a SourceSet
.
The number of attached source datastores depends on the type of the object (target columns have 0, filters and mappings have 1, joins have 2...).
As all implementations have protected constructors, use ExecutableTextHolderFactory
to instantiate text holders.
ExecutableTextHolderFactory
Method Summary | |
---|---|
SourceDataStore[] |
getAttachedSourceDataStores()
Gets the attached source datastores of this TextHolder. |
DataSet |
getDataSet()
Basic getter. |
OdiInterface.ExecutionLocation |
getExecutionLocation()
Basic getter. |
IInterfaceSubComponent |
getInterfaceSubComponent()
Basic getter. |
int |
getNumberOfDataStores()
Gets the number of source datastores. |
SourceSet |
getSourceSet()
Returns the source set in which this TextHolder is located. |
java.lang.String |
getSql()
Gets the String representation of the expression. |
Expression |
getSqlExpressionForPersistence()
Gets the exrpession of this TextHolder as it will be persisted. |
java.lang.Number |
getSqlExpressionId()
Basic getter of the repository ID of the text expression held by this text holder. |
Expression |
getSqlExpressionInMemory()
Gets the expression of this TextHolder as it is in memory. |
boolean |
isAttachedSourceDataStoreSettable(int pDataStoreNumber)
Returns whether it is possible to set this particular datastore number. |
void |
setAttachedSourceDataStore(int pDataStoreNumber,
SourceDataStore pSourceDataStore)
Sets one attached SourceDataStore . |
void |
setSourceSet(SourceSet pSourceSet)
Sets the source set in which this TextHolder is located. |
void |
setSqlExpression(Expression pExpression)
Sets the expression on the TextHolder. |
Method Detail |
---|
SourceDataStore[] getAttachedSourceDataStores()
DataSet getDataSet()
null
OdiInterface.ExecutionLocation getExecutionLocation()
OdiInterface.ExecutionLocation
of this textHolderIInterfaceSubComponent getInterfaceSubComponent()
IInterfaceSubComponent
int getNumberOfDataStores()
getAttachedSourceDataStores().length
.
SourceSet getSourceSet()
null
.setSourceSet(SourceSet)
java.lang.String getSql()
Expression getSqlExpressionForPersistence()
java.lang.Number getSqlExpressionId()
Expression getSqlExpressionInMemory()
boolean isAttachedSourceDataStoreSettable(int pDataStoreNumber)
pDataStoreNumber
- the position of the datastore
true
if it is possible to call setAttachedSourceDataStore(pDataStoreNumber, aSourceDataStore)
void setAttachedSourceDataStore(int pDataStoreNumber, SourceDataStore pSourceDataStore)
SourceDataStore
. Please make sure that the pDataStoreNumber
is settable by using isAttachedSourceDataStoreSettable()
.
pDataStoreNumber
- the number of the attached SourceDataStore to be setpSourceDataStore
- the source datastore to attachvoid setSourceSet(SourceSet pSourceSet)
pSourceSet
- the source set to be setgetSourceSet()
void setSqlExpression(Expression pExpression)
pExpression
- the new expression for this TextHolder
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |