@API.Public @API.NotThreadSafe public interface ChangeDataRecord extends Iterable<KeyValue<FieldPath,ChangeNode>>
Document
in the source DocumentStore
.Modifier and Type | Method and Description |
---|---|
Value |
getId()
Returns the "_id" field of the
Document associated with this
ChangeData notification. |
long |
getOpTimestamp()
Returns the logical time of the data.
|
ChangeDataReader |
getReader()
Returns a new
ChangeDataReader for this change data record. |
long |
getServerTimestamp()
Returns the server timestamp of this change data record as number of
milliseconds since Unix epoch.
This is set to -1 if ChangeDataRecordType is RECORD_UPDATE . |
ChangeDataRecordType |
getType()
Returns the
ChangeDataRecordType associated with this change
data record. |
Iterator<KeyValue<FieldPath,ChangeNode>> |
iterator()
Returns an iterator over a set of
ChangeNode s which are part
of this change data record. |
forEach, spliterator
Value getId()
Document
associated with this
ChangeData
notification.ChangeDataRecordType getType()
ChangeDataRecordType
associated with this change
data record.long getOpTimestamp()
long getServerTimestamp()
RECORD_UPDATE
.Iterator<KeyValue<FieldPath,ChangeNode>> iterator()
ChangeNode
s which are part
of this change data record.iterator
in interface Iterable<KeyValue<FieldPath,ChangeNode>>
ChangeDataReader getReader()
ChangeDataReader
for this change data record.Copyright © 2015–2018 MapR Technologies, Inc.. All rights reserved.