346347348349350351352353
return false; } } catch( IOException e ) { throw new CursorException( e ); } }
178179180181182183184185
return null; } catch ( Exception e ) { throw new CursorException( e.getMessage(), e ); } }
112113114115116117118119120
tuple = null; wrapped.afterLast(); } catch ( IOException e ) { throw new CursorException( e ); } }
128129130131132133134135136
wrapped.beforeFirst(); return next(); } catch ( IOException e ) { throw new CursorException( e ); } }
144145146147148149150151152
wrapped.afterLast(); return previous(); } catch ( IOException e ) { throw new CursorException( e ); } }
160161162163164165166167168169170
tuple = wrapped.prev(); return true; } catch ( IOException e ) { throw new CursorException( e ); } catch ( NoSuchElementException e ) { // ignore this is due to the call wrapped.prev() // instead of doing a check like if(wrapped.hasPrev())
116117118119120121122123
return false; } } catch ( IOException e ) { throw new CursorException( e ); } }
183184185186187188189190191192193
tuple = wrapped.next(); return true; } catch ( IOException e ) { throw new CursorException( e ); } catch ( NoSuchElementException e ) { // ignore, this is due to the call wrapped.prev() // instead of doing a check like if(wrapped.hasNext())
139140141142143144145146
104105106107108109110111112113
{ browser = table.getBTree().browseFrom( key ); } catch ( IOException e ) { throw new CursorException( e ); } clearValue(); }