if ( client.acceptNode( baseNodeId + delta, null ) )
@Override public void nodesWithLabel( IndexProgressor.NodeLabelClient client, int labelId ) { RawCursor<Hit<LabelScanKey,LabelScanValue>,IOException> cursor; try { cursor = seekerForLabel( 0, labelId ); openCursors.add( cursor ); } catch ( IOException e ) { throw new UncheckedIOException( e ); } client.scan( new LabelScanValueIndexProgressor( cursor, openCursors, client ), false, labelId ); }
if ( client.acceptNode( baseNodeId + delta, null ) )
@Override public void nodesWithLabel( IndexProgressor.NodeLabelClient client, int labelId ) { RawCursor<Hit<LabelScanKey,LabelScanValue>,IOException> cursor; try { cursor = seekerForLabel( 0, labelId ); openCursors.add( cursor ); } catch ( IOException e ) { throw new UncheckedIOException( e ); } client.scan( new LabelScanValueIndexProgressor( cursor, openCursors, client ), false, labelId ); }
@Override public boolean next() { while ( iterator.hasNext() ) { if ( client.acceptNode( iterator.next(), null ) ) { return true; } } return false; }
@Override public boolean next() { while ( iterator.hasNext() ) { if ( client.acceptNode( iterator.next(), null ) ) { return true; } } return false; }