public interface QueryStringCall extends Call
Modifier and Type | Method and Description |
---|---|
void |
appendLiteral(java.io.Writer writer,
java.lang.Object literal)
All values are printed as ? to allow for parameter binding or translation during the execute of the call.
|
void |
appendModify(java.io.Writer writer,
DatabaseField modifyField)
All values are printed as ? to allow for parameter binding or translation during the execute of the call.
|
void |
appendParameter(java.io.Writer writer,
java.lang.Object parameter,
AbstractSession session)
Add the parameter.
|
void |
appendTranslation(java.io.Writer writer,
DatabaseField modifyField)
All values are printed as ? to allow for parameter binding or translation during the execute of the call.
|
java.util.List |
getParameters()
The parameters are the values in order of occurance in the SQL statement.
|
java.util.List<java.lang.Integer> |
getParameterTypes()
The parameter types determine if the parameter is a modify, translation or litteral type.
|
java.lang.String |
getQueryString()
Return the query string of the call.
|
boolean |
hasParameters()
The parameters are the values in order of occurance in call.
|
boolean |
isQueryStringCall()
Should return true.
|
void |
prepare(AbstractSession session)
Allow pre-printing of the query/SQL string for fully bound calls, to save from reprinting.
|
void |
setQueryString(java.lang.String queryString)
Set the query string of the call.
|
void |
translate(AbstractRecord translationRow,
AbstractRecord modifyRow,
AbstractSession session)
Allow the call to translate from the translation for predefined calls.
|
void |
translateCustomQuery()
Parse the query string for # markers for custom query based on a query language.
|
void |
translateQueryString(AbstractRecord translationRow,
AbstractRecord modifyRow,
AbstractSession session)
Allow the call to translate from the translation for predefined calls.
|
buildNewQueryMechanism, buildQueryMechanism, clone, getLogString, isFinished, isNothingReturned, isOneRowReturned
java.util.List getParameters()
java.util.List<java.lang.Integer> getParameterTypes()
boolean hasParameters()
void prepare(AbstractSession session)
void translate(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session)
java.lang.String getQueryString()
void setQueryString(java.lang.String queryString)
void translateCustomQuery()
void appendLiteral(java.io.Writer writer, java.lang.Object literal)
void appendTranslation(java.io.Writer writer, DatabaseField modifyField)
void appendModify(java.io.Writer writer, DatabaseField modifyField)
void appendParameter(java.io.Writer writer, java.lang.Object parameter, AbstractSession session)
void translateQueryString(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session)
boolean isQueryStringCall()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference