E
- the generic type of the queried object (typically a Bean
).public class OrientDbUpdateStatementImpl<E> extends AbstractUpdateStatement<E,OrientDbUpdateStatement<E>> implements OrientDbUpdateStatement<E>
OrientDbUpdateStatement
.Constructor and Description |
---|
OrientDbUpdateStatementImpl(OrientDbDialect dialect,
EntityAlias<E> alias)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected long |
doExecute(String sql,
Integer limit) |
OrientDbUpdateStatement<E> |
upsert()
Marks the statement as UPSERT meaning that it is an insert of the object does not exist and an update if the object
already exists.
|
buildStart, limit, where
set, set
execute
addAlias, addAliases, build, 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
set, set, setNull
where
limit
public OrientDbUpdateStatementImpl(OrientDbDialect dialect, EntityAlias<E> alias)
dialect
- - see AbstractStatement.getDialect()
.alias
- - see AbstractStatement.getAlias()
.public OrientDbUpdateStatement<E> upsert()
FeatureUpsert
WHERE clause
.upsert
in interface FeatureUpsert<OrientDbUpdateStatement<E>>
protected long doExecute(String sql, Integer limit)
doExecute
in class AbstractModifyStatement<E,OrientDbUpdateStatement<E>>
sql
- the AbstractStatement.getSql()
to execute.limit
- the limit
.AbstractModifyStatement.execute()
Copyright © 2001–2016 mmm-Team. All rights reserved.