org.apache.accumulo.server.problems
Class ProblemReportingIterator

java.lang.Object
  extended by org.apache.accumulo.server.problems.ProblemReportingIterator
All Implemented Interfaces:
SortedKeyValueIterator<Key,Value>, InterruptibleIterator

public class ProblemReportingIterator
extends Object
implements InterruptibleIterator


Constructor Summary
ProblemReportingIterator(String table, String resource, boolean continueOnError, SortedKeyValueIterator<Key,Value> source)
           
 
Method Summary
 SortedKeyValueIterator<Key,Value> deepCopy(IteratorEnvironment env)
           
 String getResource()
           
 Key getTopKey()
           
 Value getTopValue()
           
 boolean hasTop()
           
 void init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
           
 void next()
           
 boolean sawError()
           
 void seek(Range range, Collection<ByteSequence> columnFamilies, boolean inclusive)
           
 void setInterruptFlag(AtomicBoolean flag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProblemReportingIterator

public ProblemReportingIterator(String table,
                                String resource,
                                boolean continueOnError,
                                SortedKeyValueIterator<Key,Value> source)
Method Detail

deepCopy

public SortedKeyValueIterator<Key,Value> deepCopy(IteratorEnvironment env)
Specified by:
deepCopy in interface SortedKeyValueIterator<Key,Value>

getTopKey

public Key getTopKey()
Specified by:
getTopKey in interface SortedKeyValueIterator<Key,Value>

getTopValue

public Value getTopValue()
Specified by:
getTopValue in interface SortedKeyValueIterator<Key,Value>

hasTop

public boolean hasTop()
Specified by:
hasTop in interface SortedKeyValueIterator<Key,Value>

init

public void init(SortedKeyValueIterator<Key,Value> source,
                 Map<String,String> options,
                 IteratorEnvironment env)
          throws IOException
Specified by:
init in interface SortedKeyValueIterator<Key,Value>
Throws:
IOException

next

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

seek

public void seek(Range range,
                 Collection<ByteSequence> columnFamilies,
                 boolean inclusive)
          throws IOException
Specified by:
seek in interface SortedKeyValueIterator<Key,Value>
Throws:
IOException

sawError

public boolean sawError()

getResource

public String getResource()

setInterruptFlag

public void setInterruptFlag(AtomicBoolean flag)
Specified by:
setInterruptFlag in interface InterruptibleIterator


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