|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.internal.databaseaccess.DatasourceCall
oracle.toplink.eis.interactions.EISInteraction
oracle.toplink.eis.interactions.MappedInteraction
oracle.toplink.eis.interactions.QueryStringInteraction
public class QueryStringInteraction
Defines the specification for a call to a JCA interaction that uses a query string. This can be used for generic query translation support (i.e. VSAM, BETRIEVE, ADA, etc.) Arguments are defined in the query string through #<field-name> (i.e. #EMP_ID) Translates the query string from the query arguments. Builds the input and output records.
Constructor Summary | |
---|---|
QueryStringInteraction() Default constructor. |
|
QueryStringInteraction(java.lang.String queryString) Construct interaction with the query string. |
Method Summary | |
---|---|
java.lang.String |
getLogString(Accessor accessor) Return the string for logging purposes. |
java.lang.String |
getQueryString() Return the query string. |
void |
prepare(oracle.toplink.internal.sessions.AbstractSession session) Translate the custom query markers. |
void |
setQueryString(java.lang.String queryString) Set the query string. |
void |
translate(oracle.toplink.internal.sessions.AbstractRecord translationRow, oracle.toplink.internal.sessions.AbstractRecord modifyRow, oracle.toplink.internal.sessions.AbstractSession session) Allow the call to translate the query arguments. |
Methods inherited from class oracle.toplink.eis.interactions.MappedInteraction |
---|
addArgument, addArgument, addArgumentValue, buildRow, createInputRecord, getArgumentNames, getInputResultPath, setInputResultPath |
Methods inherited from class oracle.toplink.eis.interactions.EISInteraction |
---|
addOutputArgument, addOutputArgument, buildRows, createRecordElement, getArguments, getFunctionName, getInputRecordName, getInteractionSpec, getOutputArgumentNames, getOutputArguments, getOutputResultPath, getProperties, getProperty, hasArguments, hasOutputArguments, isEISInteraction, setFunctionName, setInputRecordName, setInputRow, setInteractionSpec, setOutputArgumentNames, setOutputArguments, setOutputResultPath, setProperties, setProperty, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QueryStringInteraction()
public QueryStringInteraction(java.lang.String queryString)
Method Detail |
---|
public java.lang.String getQueryString()
getQueryString
in interface oracle.toplink.internal.databaseaccess.QueryStringCall
DatasourceCall
in class oracle.toplink.internal.databaseaccess.DatasourceCall
public void setQueryString(java.lang.String queryString)
setQueryString
in interface oracle.toplink.internal.databaseaccess.QueryStringCall
DatasourceCall
in class oracle.toplink.internal.databaseaccess.DatasourceCall
public void translate(oracle.toplink.internal.sessions.AbstractRecord translationRow, oracle.toplink.internal.sessions.AbstractRecord modifyRow, oracle.toplink.internal.sessions.AbstractSession session)
translate
in interface oracle.toplink.internal.databaseaccess.QueryStringCall
translate
in class EISInteraction
public void prepare(oracle.toplink.internal.sessions.AbstractSession session)
prepare
in interface oracle.toplink.internal.databaseaccess.QueryStringCall
prepare
in class EISInteraction
public java.lang.String getLogString(Accessor accessor)
getLogString
in interface Call
getLogString
in class EISInteraction
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |