org.apache.accumulo.server.problems
Class ProblemReportingIterator

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

public class ProblemReportingIterator
extends java.lang.Object
implements InterruptibleIterator


Constructor Summary
ProblemReportingIterator(java.lang.String table, java.lang.String resource, boolean continueOnError, SortedKeyValueIterator<Key,Value> source)
           
 
Method Summary
 SortedKeyValueIterator<Key,Value> deepCopy(IteratorEnvironment env)
           
 java.lang.String getResource()
           
 Key getTopKey()
           
 Value getTopValue()
           
 boolean hasTop()
           
 void init(SortedKeyValueIterator<Key,Value> source, java.util.Map<java.lang.String,java.lang.String> options, IteratorEnvironment env)
           
 void next()
           
 boolean sawError()
           
 void seek(Range range, java.util.Collection<ByteSequence> columnFamilies, boolean inclusive)
           
 void setInterruptFlag(java.util.concurrent.atomic.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(java.lang.String table,
                                java.lang.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,
                 java.util.Map<java.lang.String,java.lang.String> options,
                 IteratorEnvironment env)
          throws java.io.IOException
Specified by:
init in interface SortedKeyValueIterator<Key,Value>
Throws:
java.io.IOException

next

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

seek

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

sawError

public boolean sawError()

getResource

public java.lang.String getResource()

setInterruptFlag

public void setInterruptFlag(java.util.concurrent.atomic.AtomicBoolean flag)
Specified by:
setInterruptFlag in interface InterruptibleIterator


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