@Override public void setFullyAccessed(boolean fullyAccessed) { inMemoryRS.setFullyAccessed(fullyAccessed); }
@Override public void setFullyAccessed(boolean fullyAccessed) { inMemoryRS.setFullyAccessed(fullyAccessed); }
public InMemoryQueryResult toQueryResult() throws LensException { List<ResultRow> rows = new ArrayList<>(); while (hasNext()) { rows.add(next()); } this.setFullyAccessed(true); return new InMemoryQueryResult(rows); } public boolean isHttpResultAvailable() throws LensException {
public InMemoryQueryResult toQueryResult() throws LensException { List<ResultRow> rows = new ArrayList<>(); while (hasNext()) { rows.add(next()); } this.setFullyAccessed(true); return new InMemoryQueryResult(rows); } public boolean isHttpResultAvailable() throws LensException {
((InMemoryOutputFormatter) formatter).writeRow(inmemory.next()); inmemory.setFullyAccessed(true);