org.apache.accumulo.server.tabletserver
Class Compactor.CountingIterator

java.lang.Object
  extended by org.apache.accumulo.core.iterators.WrappingIterator
      extended by org.apache.accumulo.server.tabletserver.Compactor.CountingIterator
All Implemented Interfaces:
SortedKeyValueIterator<Key,Value>
Enclosing class:
Compactor

public class Compactor.CountingIterator
extends WrappingIterator


Constructor Summary
Compactor.CountingIterator(SortedKeyValueIterator<Key,Value> source)
           
 
Method Summary
 Compactor.CountingIterator deepCopy(IteratorEnvironment env)
           
 long getCount()
           
 void init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
           
 void next()
           
 
Methods inherited from class org.apache.accumulo.core.iterators.WrappingIterator
getSource, getTopKey, getTopValue, hasTop, seek, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compactor.CountingIterator

public Compactor.CountingIterator(SortedKeyValueIterator<Key,Value> source)
Method Detail

deepCopy

public Compactor.CountingIterator deepCopy(IteratorEnvironment env)
Specified by:
deepCopy in interface SortedKeyValueIterator<Key,Value>
Overrides:
deepCopy in class WrappingIterator

init

public void init(SortedKeyValueIterator<Key,Value> source,
                 Map<String,String> options,
                 IteratorEnvironment env)
Specified by:
init in interface SortedKeyValueIterator<Key,Value>
Overrides:
init in class WrappingIterator

next

public void next()
          throws IOException
Specified by:
next in interface SortedKeyValueIterator<Key,Value>
Overrides:
next in class WrappingIterator
Throws:
IOException

getCount

public long getCount()


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.