public class DefaultExpressionRequest extends Object implements SpiExpressionRequest
| Constructor and Description |
|---|
DefaultExpressionRequest(BeanDescriptor<?> beanDescriptor) |
DefaultExpressionRequest(SpiOrmQueryRequest<?> queryRequest,
DeployParser deployParser) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBindValue(Object bindValue)
Add a bind value to this request.
|
SpiExpressionRequest |
append(String sql)
Append to the expression sql.
|
BeanDescriptor<?> |
getBeanDescriptor()
Return the bean descriptor for the root type.
|
ArrayList<Object> |
getBindValues()
Return the ordered list of bind values for all expressions in this request.
|
SpiOrmQueryRequest<?> |
getQueryRequest()
Return the associated QueryRequest.
|
String |
getSql()
Return the accumulated expression sql for all expressions in this request.
|
boolean |
includeProperty(String propertyName) |
int |
nextParameter()
Increments the parameter index and returns that value.
|
String |
parseDeploy(String logicalProp)
Parse the logical property name to the deployment name.
|
public DefaultExpressionRequest(SpiOrmQueryRequest<?> queryRequest, DeployParser deployParser)
public DefaultExpressionRequest(BeanDescriptor<?> beanDescriptor)
public String parseDeploy(String logicalProp)
SpiExpressionRequestparseDeploy in interface SpiExpressionRequestpublic int nextParameter()
nextParameter in interface SpiExpressionRequestpublic BeanDescriptor<?> getBeanDescriptor()
SpiExpressionRequestgetBeanDescriptor in interface SpiExpressionRequestpublic SpiOrmQueryRequest<?> getQueryRequest()
SpiExpressionRequestgetQueryRequest in interface SpiExpressionRequestpublic SpiExpressionRequest append(String sql)
SpiExpressionRequestappend in interface SpiExpressionRequestpublic void addBindValue(Object bindValue)
SpiExpressionRequestaddBindValue in interface SpiExpressionRequestpublic boolean includeProperty(String propertyName)
public String getSql()
SpiExpressionRequestgetSql in interface SpiExpressionRequestpublic ArrayList<Object> getBindValues()
SpiExpressionRequestgetBindValues in interface SpiExpressionRequestCopyright © 2014. All Rights Reserved.