M
- type used to represent stored records@API(value=STABLE) public interface FDBRecord<M extends Message>
Modifier and Type | Method and Description |
---|---|
Tuple |
getPrimaryKey()
Get the primary key for this record.
|
M |
getRecord()
Get the Protobuf message form of this record.
|
RecordType |
getRecordType()
Get the record type for this record.
|
FDBRecordVersion |
getVersion()
Get the
FDBRecordVersion associated with this record (or null ). |
boolean |
hasVersion()
Get whether a
FDBRecordVersion has been set for this StoredRecord . |
@Nonnull Tuple getPrimaryKey()
@Nonnull RecordType getRecordType()
@Nonnull M getRecord()
boolean hasVersion()
FDBRecordVersion
has been set for this StoredRecord
.true
if this record has a version@Nullable FDBRecordVersion getVersion()
FDBRecordVersion
associated with this record (or null
).