oldIndex property

int oldIndex
final

The index of the changed document in the result set immediately prior to this DocumentChange (i.e. supposing that all prior DocumentChange objects have been applied). Returns -1 for 'added' events.

Returns the index in the old snapshot, after processing all previous changes.

Implementation

final int oldIndex;