public class ProblemReportingIterator extends Object implements InterruptibleIterator
Constructor and Description |
---|
ProblemReportingIterator(AccumuloServerContext context,
String table,
String resource,
boolean continueOnError,
SortedKeyValueIterator<Key,Value> source) |
Modifier and Type | Method and Description |
---|---|
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) |
public ProblemReportingIterator(AccumuloServerContext context, String table, String resource, boolean continueOnError, SortedKeyValueIterator<Key,Value> source)
public SortedKeyValueIterator<Key,Value> deepCopy(IteratorEnvironment env)
deepCopy
in interface SortedKeyValueIterator<Key,Value>
public Key getTopKey()
getTopKey
in interface SortedKeyValueIterator<Key,Value>
public Value getTopValue()
getTopValue
in interface SortedKeyValueIterator<Key,Value>
public boolean hasTop()
hasTop
in interface SortedKeyValueIterator<Key,Value>
public void init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env) throws IOException
init
in interface SortedKeyValueIterator<Key,Value>
IOException
public void next() throws IOException
next
in interface SortedKeyValueIterator<Key,Value>
IOException
public void seek(Range range, Collection<ByteSequence> columnFamilies, boolean inclusive) throws IOException
seek
in interface SortedKeyValueIterator<Key,Value>
IOException
public boolean sawError()
public String getResource()
public void setInterruptFlag(AtomicBoolean flag)
setInterruptFlag
in interface InterruptibleIterator
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.