Class LoadMappingIterator
- java.lang.Object
-
- org.apache.accumulo.core.clientImpl.bulk.LoadMappingIterator
-
- All Implemented Interfaces:
AutoCloseable
,Iterator<Map.Entry<KeyExtent,Bulk.Files>>
public class LoadMappingIterator extends Object implements Iterator<Map.Entry<KeyExtent,Bulk.Files>>, AutoCloseable
Iterator for reading the Bulk Load Mapping JSON.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
hasNext()
Map.Entry<KeyExtent,Bulk.Files>
next()
void
setRenameMap(Map<String,String> renameMap)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceIterator<Map.Entry<KeyExtent,Bulk.Files>>
-
next
public Map.Entry<KeyExtent,Bulk.Files> next()
- Specified by:
next
in interfaceIterator<Map.Entry<KeyExtent,Bulk.Files>>
-
-