public class FeatureSetImpl extends AbstractFeature implements FeatureSet<FeatureSetImpl>
AbstractFeature
for FeatureWhere
.Modifier and Type | Class and Description |
---|---|
protected static class |
FeatureSetImpl.SetExpression<V>
A single expression of an
SET clause. |
Modifier and Type | Field and Description |
---|---|
private List<FeatureSetImpl.SetExpression<?>> |
setExpressionList |
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 |
---|
FeatureSetImpl()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
build(SqlBuilder builder) |
List<FeatureSetImpl.SetExpression<?>> |
getSetExpressionList() |
<V> FeatureSetImpl |
set(PropertyPath<V> path,
PropertyPath<V> valuePropertyPath)
Adds a value binding setting the given
PropertyPath to the value of the given valuePropertyPath . |
<V> FeatureSetImpl |
set(PropertyPath<V> path,
V value)
Adds a value binding setting the given
PropertyPath to the given value . |
asArg, asPath, combine, compareTo, create, getDialect, getSortIndex, getStatement, setStatement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setNull
private final List<FeatureSetImpl.SetExpression<?>> setExpressionList
public List<FeatureSetImpl.SetExpression<?>> getSetExpressionList()
List
of FeatureSetImpl.SetExpression
s.public <V> FeatureSetImpl set(PropertyPath<V> path, V value)
FeatureSet
PropertyPath
to the given value
.set
in interface FeatureSet<FeatureSetImpl>
V
- the generic type of the value
.path
- the PropertyPath
to set.value
- the literal value to set for each matching object.public <V> FeatureSetImpl set(PropertyPath<V> path, PropertyPath<V> valuePropertyPath)
FeatureSet
PropertyPath
to the value of the given valuePropertyPath
.set
in interface FeatureSet<FeatureSetImpl>
V
- the generic type of the value
.path
- the PropertyPath
to set.valuePropertyPath
- the PropertyPath
pointing to the value to set the given PropertyPath
to.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.