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, whereset, setexecuteaddAlias, addAliases, build, createFeature, createSqlBuilder, feature, getAlias, getBuilder, getDialect, getFeature, getParameters, getResultClass, getSql, isSupportingAlias, self, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAlias, getDialect, getParameters, getSql, toStringexecuteset, set, setNullwherelimitpublic OrientDbUpdateStatementImpl(OrientDbDialect dialect, EntityAlias<E> alias)
dialect - - see AbstractStatement.getDialect().alias - - see AbstractStatement.getAlias().public OrientDbUpdateStatement<E> upsert()
FeatureUpsertWHERE 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.