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

Method ReadNext

storage/connect/Mongo3Interface.java:224–242  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222 } // end of Rewind
223
224 public int ReadNext() {
225 try {
226 if (cursor.hasNext()) {
227 doc = cursor.next();
228
229 if (DEBUG)
230 System.out.println("Class doc = " + doc.getClass());
231
232 Colnames = doc.keySet();
233 return Colnames.size();
234 } else
235 return 0;
236
237 } catch (MongoException mx) {
238 SetErrmsg(mx);
239 } // end try/catch
240
241 return -1;
242 } // end of ReadNext
243
244 public boolean Fetch(int row) {
245 if (cursor.hasNext()) {

Callers

nothing calls this directly

Calls 3

SetErrmsgMethod · 0.95
nextMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected