} else {
String workspace = context.getWorkspaceName();
BufferManager bufferMgr = context.getBufferManager();
CachedNodeSupplier nodeCache = results.getCachedNodes();
NodeSequence secureSequence = new SecureSequence(rows, context);
this.sequence = new RestartableSequence(workspace, secureSequence, bufferMgr, nodeCache, numRowsInMemory);
}
assert this.context != null;
assert this.results != null;
assert this.queryStatement != null;