public class QueryStringInteraction extends MappedInteraction implements org.eclipse.persistence.internal.databaseaccess.QueryStringCall
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
queryString |
argumentNames, inputResultPath
arguments, functionName, inputRecordName, inputRow, interactionSpec, outputArgumentNames, outputArguments, outputResultPath, properties
CUSTOM_MODIFY, EXECUTE_UPDATE, IN, INLINE, INOUT, isNativeConnectionRequired, isPrepared, LITERAL, MODIFY, NO_RETURN, OUT, OUT_CURSOR, parameters, parameterTypes, query, RETURN_CURSOR, RETURN_MANY_ROWS, RETURN_ONE_ROW, returnType, shouldProcessTokenInQuotes, TRANSLATION
Constructor and Description |
---|
QueryStringInteraction()
Default constructor.
|
QueryStringInteraction(java.lang.String queryString)
Construct interaction with the query string.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLogString(org.eclipse.persistence.internal.databaseaccess.Accessor accessor)
Return the string for logging purposes.
|
java.lang.String |
getQueryString()
PUBLIC:
Return the query string.
|
boolean |
isQueryStringCall() |
void |
prepare(org.eclipse.persistence.internal.sessions.AbstractSession session)
Translate the custom query markers.
|
void |
setQueryString(java.lang.String queryString)
PUBLIC:
Set the query string.
|
void |
translate(org.eclipse.persistence.internal.sessions.AbstractRecord translationRow,
org.eclipse.persistence.internal.sessions.AbstractRecord modifyRow,
org.eclipse.persistence.internal.sessions.AbstractSession session)
Allow the call to translate the query arguments.
|
addArgument, addArgument, addArgumentValue, buildRow, createInputRecord, createTranslationRecord, getArgumentNames, getInputResultPath, setArgumentNames, setInputResultPath
addOutputArgument, addOutputArgument, buildRows, createRecordElement, getArguments, getFunctionName, getInputRecordName, getInputRow, getInteractionSpec, getOutputArgumentNames, getOutputArguments, getOutputResultPath, getProperties, getProperty, hasArguments, hasOutputArguments, isEISInteraction, setArguments, setFunctionName, setInputRecordName, setInputRow, setInteractionSpec, setOutputArgumentNames, setOutputArguments, setOutputResultPath, setProperties, setProperty, toString
appendIn, appendInOut, appendLiteral, appendModify, appendOut, appendParameter, appendTranslation, areManyRowsReturned, argumentMarker, buildNewQueryMechanism, buildQueryMechanism, clone, createField, createInOutParameter, getParameters, getParameterTypes, getQuery, getReturnType, getValueForInOutParameter, getValueForInParameter, hasParameters, isCursorReturned, isExecuteUpdate, isFinished, isJPQLCall, isNativeConnectionRequired, isNothingReturned, isOneRowReturned, isOutputParameterType, isPrepared, isReturnSet, isSQLCall, isStoredFunctionCall, isStoredPLSQLFunctionCall, isStoredPLSQLProcedureCall, isStoredProcedureCall, returnCursor, returnManyRows, returnNothing, returnOneRow, setExecuteUpdate, setIsNativeConnectionRequired, setIsPrepared, setParameters, setParameterTypes, setQuery, setReturnType, translateCustomQuery, translatePureSQLCustomQuery, translateQueryString, whitespace
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendLiteral, appendModify, appendParameter, appendTranslation, getParameters, getParameterTypes, hasParameters, translateCustomQuery, translateQueryString
buildNewQueryMechanism, buildQueryMechanism, clone, isFinished, isNothingReturned, isOneRowReturned
public QueryStringInteraction()
public QueryStringInteraction(java.lang.String queryString)
public java.lang.String getQueryString()
getQueryString
in interface org.eclipse.persistence.internal.databaseaccess.QueryStringCall
getQueryString
in class org.eclipse.persistence.internal.databaseaccess.DatasourceCall
public void setQueryString(java.lang.String queryString)
setQueryString
in interface org.eclipse.persistence.internal.databaseaccess.QueryStringCall
setQueryString
in class org.eclipse.persistence.internal.databaseaccess.DatasourceCall
public void translate(org.eclipse.persistence.internal.sessions.AbstractRecord translationRow, org.eclipse.persistence.internal.sessions.AbstractRecord modifyRow, org.eclipse.persistence.internal.sessions.AbstractSession session)
translate
in interface org.eclipse.persistence.internal.databaseaccess.QueryStringCall
translate
in class EISInteraction
public void prepare(org.eclipse.persistence.internal.sessions.AbstractSession session)
prepare
in interface org.eclipse.persistence.internal.databaseaccess.QueryStringCall
prepare
in class EISInteraction
public java.lang.String getLogString(org.eclipse.persistence.internal.databaseaccess.Accessor accessor)
getLogString
in interface Call
getLogString
in class EISInteraction
public boolean isQueryStringCall()
isQueryStringCall
in interface org.eclipse.persistence.internal.databaseaccess.QueryStringCall
isQueryStringCall
in class org.eclipse.persistence.internal.databaseaccess.DatasourceCall