public class FeatureUpsertImpl extends AbstractFeature implements FeatureUpsert<FeatureUpsertImpl>
AbstractFeature
for FeatureWhere
.Modifier and Type | Field and Description |
---|---|
private boolean |
upsert |
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 |
---|
FeatureUpsertImpl()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
build(SqlBuilder builder) |
FeatureUpsertImpl |
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.
|
asArg, asPath, combine, compareTo, create, getDialect, getSortIndex, getStatement, setStatement
public FeatureUpsertImpl upsert()
FeatureUpsert
WHERE clause
.upsert
in interface FeatureUpsert<FeatureUpsertImpl>
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.