com.bigdata.bfs
Class BlockIdentifierIterator
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockIdentifierIterator
public BlockIdentifierIterator(String id,
int version,
ITupleIterator src)
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.