public class FeatureLetImpl extends AbstractFeature implements FeatureLet<FeatureLetImpl>
AbstractFeature
for FeatureWhere
.Modifier and Type | Class and Description |
---|---|
protected static class |
FeatureLetImpl.LetExpression<V>
A single expression of an
SET clause. |
Modifier and Type | Field and Description |
---|---|
private List<FeatureLetImpl.LetExpression<?>> |
letExpressionList |
SORT_INDEX_AND_FROM, SORT_INDEX_FETCHPLAN, SORT_INDEX_GROUP_BY, SORT_INDEX_HAVING, SORT_INDEX_LET, SORT_INDEX_LOCK, SORT_INDEX_NOCACHE, SORT_INDEX_ORDER_BY, SORT_INDEX_PAGING, SORT_INDEX_PARALLEL, SORT_INDEX_SET, SORT_INDEX_TIMEOUT, SORT_INDEX_UNWIND, SORT_INDEX_UPSERT, SORT_INDEX_WHERE
Constructor and Description |
---|
FeatureLetImpl()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
build(SqlBuilder builder) |
<V> Variable<V> |
let(PropertyPath<V> path,
String variable) |
FeatureLetImpl |
let(String variable,
PropertyPath<?> path) |
<V> FeatureLetImpl |
let(Variable<V> variable,
PropertyPath<V> path) |
asArg, asPath, combine, compareTo, create, getDialect, getSortIndex, getStatement, setStatement
private final List<FeatureLetImpl.LetExpression<?>> letExpressionList
public <V> Variable<V> let(PropertyPath<V> path, String variable)
let
in interface FeatureLet<FeatureLetImpl>
V
- the generic type of the value represented by the Variable
and PropertyPath
.path
- the PropertyPath
to bind to the Variable
.variable
- the context Variable
to bind.Variable
created for the given String
.public FeatureLetImpl let(String variable, PropertyPath<?> path)
let
in interface FeatureLet<FeatureLetImpl>
variable
- the context Variable
to bind.path
- the PropertyPath
to bind to the Variable
.public <V> FeatureLetImpl let(Variable<V> variable, PropertyPath<V> path)
let
in interface FeatureLet<FeatureLetImpl>
V
- the generic type of the value represented by the Variable
and PropertyPath
.variable
- the context Variable
to bind.path
- the PropertyPath
to bind to the Variable
.public void build(SqlBuilder builder)
build
in class AbstractFeature
builder
- the SqlBuilder
with the query context to build the SQL and bind variables.Copyright © 2001–2016 mmm-Team. All rights reserved.