- All Superinterfaces:
DbExpressionRequest,SpiExpressionBind
- All Known Implementing Classes:
DefaultExpressionRequest
Request object used for gathering expression sql and bind values.
-
Method Summary
Modifier and TypeMethodDescriptionappend(char c) Append to the expression sql without any parsing.Append to the expression sql without any parsing.voidappendInExpression(boolean not, List<Object> bindValues) Append IN expression taking into account platform and type support for Multi-value.voidappendLike(boolean rawLikeExpression) Append a DB Like clause.Return the ordered list of bind values for all expressions in this request.intIncrements the parameter index and returns that value.Append to the expression sql with logical property parsing to db columns with logical path prefix.parseDeploy(String logicalProp) Parse the logical property name to the deployment name.Return the DB specific handler for JSON and ARRAY expressions.Append to the expression sql with logical property parsing to db columns with logical path prefix.Return the associated QueryRequest.sql()Return the accumulated expression sql for all expressions in this request.Methods inherited from interface io.ebeaninternal.api.SpiExpressionBind
addBindEncryptKey, addBindValue, descriptor, escapeLikeString
-
Method Details
-
platformHandler
DbExpressionHandler platformHandler()Return the DB specific handler for JSON and ARRAY expressions. -
parseDeploy
Parse the logical property name to the deployment name. -
queryRequest
SpiOrmQueryRequest<?> queryRequest()Return the associated QueryRequest. -
append
Append to the expression sql without any parsing.- Specified by:
appendin interfaceDbExpressionRequest
-
append
Append to the expression sql without any parsing.- Specified by:
appendin interfaceDbExpressionRequest
-
property
Append to the expression sql with logical property parsing to db columns with logical path prefix.This is a fast path case when expression is a bean property path and falls back to using parse() when that isn't the case.
- Specified by:
propertyin interfaceDbExpressionRequest
-
parse
Append to the expression sql with logical property parsing to db columns with logical path prefix. -
sql
String sql()Return the accumulated expression sql for all expressions in this request. -
bindValues
Return the ordered list of bind values for all expressions in this request. -
nextParameter
int nextParameter()Increments the parameter index and returns that value. -
appendLike
void appendLike(boolean rawLikeExpression) Append a DB Like clause. -
appendInExpression
Append IN expression taking into account platform and type support for Multi-value.
-