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()
          This method is unsupported in this iterator.
 
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<Key,Value> from which to read data.
Method Detail

hasNext

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

next

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

remove

public void remove()
This method is unsupported in this iterator.

Specified by:
remove in interface Iterator<Value>
Throws:
UnsupportedOperationException - when called


Copyright © 2015 Apache Accumulo Project. All rights reserved.