public class XQueryInteraction extends XMLInteraction implements org.eclipse.persistence.internal.databaseaccess.QueryStringCall
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
xQueryString |
inputRootElementName, outputRootElementName
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 |
---|
XQueryInteraction()
Default constructor.
|
XQueryInteraction(java.lang.String xQueryString)
Construct the interaction with the XQuery string.
|
Modifier and Type | Method and Description |
---|---|
protected char |
argumentMarker()
INTERNAL:
Return the character to use for the argument marker.
?
|
org.w3c.dom.Element |
createInputDOM(EISAccessor accessor)
Create a DOM for this interaction.
|
java.lang.String |
getLogString(org.eclipse.persistence.internal.databaseaccess.Accessor accessor)
Return the string for logging purposes.
|
java.lang.String |
getQueryString()
INTERNAL:
Return the query string.
|
java.lang.String |
getXQueryString()
PUBLIC:
Return the XQuery string.
|
boolean |
isQueryStringCall() |
void |
prepare(org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL:
Translate the custom query markers.
|
void |
setQueryString(java.lang.String queryString)
INTERNAL:
Set the query string.
|
void |
setXQueryString(java.lang.String xQueryString)
PUBLIC:
Set the XQuery string.
|
void |
translate(org.eclipse.persistence.internal.sessions.AbstractRecord translationRow,
org.eclipse.persistence.internal.sessions.AbstractRecord modifyRow,
org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL:
Allow the call to translate the XQuery arguments.
|
protected java.lang.String |
whitespace()
INTERNAL:
Return the characters that represent non-arguments names.
|
buildRow, buildRows, createField, createInputRecord, createXMLRecord, getInputRootElementName, getOutputRootElementName, setInputRootElementName, setOutputRootElementName
addArgument, addArgument, addArgumentValue, createTranslationRecord, getArgumentNames, getInputResultPath, setArgumentNames, setInputResultPath
addOutputArgument, addOutputArgument, 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, buildNewQueryMechanism, buildQueryMechanism, clone, 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
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 XQueryInteraction()
public XQueryInteraction(java.lang.String xQueryString)
public java.lang.String getXQueryString()
public void setXQueryString(java.lang.String xQueryString)
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 org.w3c.dom.Element createInputDOM(EISAccessor accessor)
createInputDOM
in class XMLInteraction
public void prepare(org.eclipse.persistence.internal.sessions.AbstractSession session)
prepare
in interface org.eclipse.persistence.internal.databaseaccess.QueryStringCall
prepare
in class XMLInteraction
public java.lang.String getLogString(org.eclipse.persistence.internal.databaseaccess.Accessor accessor)
getLogString
in interface Call
getLogString
in class XMLInteraction
protected char argumentMarker()
argumentMarker
in class org.eclipse.persistence.internal.databaseaccess.DatasourceCall
protected java.lang.String whitespace()
whitespace
in class org.eclipse.persistence.internal.databaseaccess.DatasourceCall
public boolean isQueryStringCall()
isQueryStringCall
in interface org.eclipse.persistence.internal.databaseaccess.QueryStringCall
isQueryStringCall
in class org.eclipse.persistence.internal.databaseaccess.DatasourceCall