MCPcopy Create free account
hub / github.com/MariaDB/server / Rewind

Method Rewind

storage/connect/Mongo2Interface.java:197–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195 } // end of AggregateColl
196
197 public boolean Rewind() {
198 if (cursor != null)
199 cursor.close();
200
201 if (pip == null) {
202 if (dbf != null)
203 cursor = coll.find(dbq, dbf);
204 else if (dbq != null)
205 cursor = coll.find(dbq);
206 else
207 cursor = coll.find();
208
209 } else
210 cursor = coll.aggregate(pip, aop);
211
212 return (cursor == null);
213 } // end of Rewind
214
215 public int ReadNext() {
216 try {

Callers

nothing calls this directly

Calls 3

closeMethod · 0.45
findMethod · 0.45
aggregateMethod · 0.45

Tested by

no test coverage detected