com.bigdata.bfs
Class BlockIdentifierIterator

java.lang.Object
  extended by com.bigdata.bfs.BlockIdentifierIterator
All Implemented Interfaces:
Iterator<Long>

public class BlockIdentifierIterator
extends Object
implements Iterator<Long>

Extracts the block identifier from the key.

Version:
$Id: BlockIdentifierIterator.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Constructor Summary
BlockIdentifierIterator(String id, int version, ITupleIterator src)
           
 
Method Summary
 String getId()
           
 int getVersion()
           
 boolean hasNext()
           
 Long next()
           
 void remove()
          Removes the last visited block for the file version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockIdentifierIterator

public BlockIdentifierIterator(String id,
                               int version,
                               ITupleIterator src)
Method Detail

getId

public String getId()

getVersion

public int getVersion()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Long>

next

public Long next()
Specified by:
next in interface Iterator<Long>

remove

public void remove()
Removes the last visited block for the file version.

Specified by:
remove in interface Iterator<Long>


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.