public static final class FindOrInsertCommand.ConditionState extends Object
findOrInsert
command.| Modifier and Type | Method and Description |
|---|---|
FindOrInsertCommand.TimestampState |
at(Timestamp timestamp)
Pin this command to a historical
Timestamp for evaluating the
condition. |
FindOrInsertCommand.JsonState |
json(String json)
Specify the JSON data to insert if no matching record is found.
|
public FindOrInsertCommand.TimestampState at(Timestamp timestamp)
Timestamp for evaluating the
condition.timestamp - the Timestamppublic FindOrInsertCommand.JsonState json(String json)
json - the JSON string to insert