@Override public String toString() { return prettyPrint(0, 2); } }
private void fetchNextBlock(OCommandContext ctx, int nRecords) { if (this.entryPoints == null) { this.entryPoints = new ArrayList<OResult>(); } if (!this.results.isEmpty()) { return; } while (this.results.isEmpty()) { if (this.entryPoints.isEmpty()) { fetchNextEntryPoints(ctx, nRecords); } if (this.entryPoints.isEmpty()) { return; } long begin = profilingEnabled ? System.nanoTime() : 0; fetchNextResults(ctx, nRecords); if (profilingEnabled) { cost += (System.nanoTime() - begin); } if (!this.results.isEmpty()) { return; } } }