E
- the generic type of the queried object (typically a Bean
).SELF
- the generic type of this query itself (this) for fluent API calls.public abstract class AbstractStoreStatement<E,SELF extends StoreStatement<E,SELF>> extends AbstractModifyStatement<E,SELF> implements StoreStatement<E,SELF>
StoreStatement
.Constructor and Description |
---|
AbstractStoreStatement(SqlDialect dialect,
EntityAlias<E> alias)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
<V> SELF |
set(PropertyPath<V> path,
PropertyPath<V> valuePath)
Adds a value binding setting the given
PropertyPath to the value of the given valuePropertyPath . |
<V> SELF |
set(PropertyPath<V> path,
V value)
Adds a value binding setting the given
PropertyPath to the given value . |
doExecute, execute
addAlias, addAliases, build, buildStart, createFeature, createSqlBuilder, feature, getAlias, getBuilder, getDialect, getFeature, getParameters, getResultClass, getSql, isSupportingAlias, self, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAlias, getDialect, getParameters, getSql, toString
execute
setNull
public AbstractStoreStatement(SqlDialect dialect, EntityAlias<E> alias)
dialect
- - see AbstractStatement.getDialect()
.alias
- - see AbstractStatement.getAlias()
.public <V> SELF set(PropertyPath<V> path, V value)
FeatureSet
PropertyPath
to the given value
.set
in interface FeatureSet<SELF extends StoreStatement<E,SELF>>
V
- the generic type of the value
.path
- the PropertyPath
to set.value
- the literal value to set for each matching object.public <V> SELF set(PropertyPath<V> path, PropertyPath<V> valuePath)
FeatureSet
PropertyPath
to the value of the given valuePropertyPath
.set
in interface FeatureSet<SELF extends StoreStatement<E,SELF>>
V
- the generic type of the value
.path
- the PropertyPath
to set.valuePath
- the PropertyPath
pointing to the value to set the given PropertyPath
to.Copyright © 2001–2016 mmm-Team. All rights reserved.