public final class DatabaseUpdate extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DatabaseUpdate.Builder
DatabaseUpdate builder.
|
static class |
DatabaseUpdate.Type
Type of database update operation.
|
| Constructor and Description |
|---|
DatabaseUpdate() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
currentValue()
Returns the expected current value in the database value for the key.
|
long |
currentVersion()
Returns the expected current version in the database for the key.
|
String |
key()
Returns the item key being updated.
|
static DatabaseUpdate.Builder |
newBuilder()
Creates a new builder instance.
|
String |
tableName()
Returns the tableName being updated.
|
String |
toString() |
DatabaseUpdate.Type |
type()
Returns the type of update operation.
|
byte[] |
value()
Returns the new value.
|
public DatabaseUpdate.Type type()
public String tableName()
public String key()
public byte[] value()
public byte[] currentValue()
public long currentVersion()
public static DatabaseUpdate.Builder newBuilder()
Copyright © 2015. All rights reserved.