public static final class JsonifyCommand.State extends Object
jsonify command. This state is reached
after specifying the records to serialize and supports optional
at and identifier clauses.| Modifier and Type | Method and Description |
|---|---|
JsonifyCommand.State |
at(Timestamp timestamp)
Pin this command to a historical
Timestamp. |
String |
ccl()
Return a CCL string equivalent to this
Command. |
boolean |
equals(Object obj) |
int |
hashCode() |
JsonifyCommand.State |
identifier(boolean identifier)
Include the record identifier in each JSON object produced by this
command.
|
boolean |
includeIdentifier()
Return whether the record identifier should be included in the JSON
output.
|
List<Long> |
records()
Return the target records for this command.
|
Timestamp |
timestamp()
Return the historical
Timestamp. |
String |
toString() |
public JsonifyCommand.State at(Timestamp timestamp)
Timestamp.timestamp - the Timestamppublic JsonifyCommand.State identifier(boolean identifier)
identifier - true to include the identifier,
false to exclude itpublic List<Long> records()
@Nullable public Timestamp timestamp()
Timestamp.Timestamp, or nullpublic boolean includeIdentifier()
true if the identifier is includedpublic String ccl()
CommandCommand.