Class ProblemReportingIterator
java.lang.Object
org.apache.accumulo.server.problems.ProblemReportingIterator
- All Implemented Interfaces:
SortedKeyValueIterator<Key,
,Value> YieldingKeyValueIterator<Key,
,Value> InterruptibleIterator
-
Constructor Summary
ConstructorsConstructorDescriptionProblemReportingIterator
(ServerContext context, TableId tableId, String resource, boolean continueOnError, SortedKeyValueIterator<Key, Value> source) -
Method Summary
Modifier and TypeMethodDescriptionboolean
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.accumulo.core.iterators.YieldingKeyValueIterator
enableYielding
-
Constructor Details
-
ProblemReportingIterator
public ProblemReportingIterator(ServerContext context, TableId tableId, String resource, boolean continueOnError, SortedKeyValueIterator<Key, Value> source)
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceSortedKeyValueIterator<Key,
Value>
-
getTopKey
- Specified by:
getTopKey
in interfaceSortedKeyValueIterator<Key,
Value>
-
getTopValue
- Specified by:
getTopValue
in interfaceSortedKeyValueIterator<Key,
Value>
-
hasTop
public boolean hasTop()- Specified by:
hasTop
in interfaceSortedKeyValueIterator<Key,
Value>
-
init
public void init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) - Specified by:
init
in interfaceSortedKeyValueIterator<Key,
Value>
-
next
- Specified by:
next
in interfaceSortedKeyValueIterator<Key,
Value> - Throws:
IOException
-
seek
public void seek(Range range, Collection<ByteSequence> columnFamilies, boolean inclusive) throws IOException - Specified by:
seek
in interfaceSortedKeyValueIterator<Key,
Value> - Throws:
IOException
-
sawError
public boolean sawError() -
getResource
-
setInterruptFlag
- Specified by:
setInterruptFlag
in interfaceInterruptibleIterator
-