Clone
Abdullah Alamoudi <bamousaa@gmail.com>
committed
on 04 Jan 18
[ASTERIXDB-2204][STO] Fix the IIndexCursor interface
- user model changes: no
- storage format changes: no
- interface changes: yes
- repl… Show more
[ASTERIXDB-2204][STO] Fix the IIndexCursor interface

- user model changes: no

- storage format changes: no

- interface changes: yes

 - replace IIndexCursor.reset with close

 - replace IIndexCursor.close with destroy

Details:

- This change is the first step towards fixing the behavior

 of implementors/callers of the IIndexCursor interface

- In this change, we simply rename the reset -> close

 and close -> destroy and we write down the javadocs

 explaining the semantics of the interface.

- LSM Index Cursors don't implements ITreeIndexCursor

 anymore.

Change-Id: I64cf8c0a5473268bdfd71fd560ee6b3bff219ce9

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2238

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

Show less

master + 3 more