Beispiel #1
0
 public void close() {
   closed = true;
   final Cursor cursor = this.cursor;
   if (cursor != null) {
     this.cursor = null;
     cursor.close();
   }
   statement.onResultSetClose(this);
   // TODO: for timeout, see IteratorResultSet.close
   /*
           if (timeoutCursor != null) {
               final long noTimeout = 0;
               timeoutCursor.close(noTimeout);
               timeoutCursor = null;
           }
   */
 }