public static interface Datastore.OperationResult.Builder
Datastore.OperationResult
builder.Modifier and Type | Method and Description |
---|---|
Datastore.OperationResult.Builder |
affectedCount(long count)
Set the affected elements count.
|
Datastore.OperationResult |
build()
Build the
Datastore.OperationResult . |
Datastore.OperationResult.Builder |
type(Datastore.OperationType type)
Set the operation type
|
Datastore.OperationResult.Builder |
withInsertedKey(Path<?> key,
Object value)
Add an inserted key
|
Datastore.OperationResult.Builder type(Datastore.OperationType type)
type
- Operation typeDatastore.OperationResult.Builder affectedCount(long count)
count
- Affected elements countDatastore.OperationResult.Builder withInsertedKey(Path<?> key, Object value)
key
- Key path (not null)value
- Key valueDatastore.OperationResult build()
Datastore.OperationResult
.Copyright © 2019 The Holon Platform. All rights reserved.