org.apache.accumulo.core.iterators
Class Combiner.ValueIterator

java.lang.Object
  extended by org.apache.accumulo.core.iterators.Combiner.ValueIterator
All Implemented Interfaces:
Iterator<Value>
Enclosing class:
Combiner

public static class Combiner.ValueIterator
extends Object
implements Iterator<Value>

A Java Iterator that iterates over the Values for a given Key from a source SortedKeyValueIterator.


Constructor Summary
Combiner.ValueIterator(SortedKeyValueIterator<Key,Value> source)
          Constructs an iterator over Values whose Keys are versions of the current topKey of the source SortedKeyValueIterator.
 
Method Summary
 boolean hasNext()
           
 Value next()
           
 void remove()
          unsupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Combiner.ValueIterator

public Combiner.ValueIterator(SortedKeyValueIterator<Key,Value> source)
Constructs an iterator over Values whose Keys are versions of the current topKey of the source SortedKeyValueIterator.

Parameters:
source - The SortedKeyValueIterator from which to read data.
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Value>
Returns:
true if there is another Value
See Also:
Iterator.hasNext()

next

public Value next()
Specified by:
next in interface Iterator<Value>
Returns:
the next Value
See Also:
Iterator.next()

remove

public void remove()
unsupported

Specified by:
remove in interface Iterator<Value>
See Also:
Iterator.remove()


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.