org.apache.hadoop.mapred.join
Class ArrayListBackedIterator<X extends Writable>
java.lang.Object
org.apache.hadoop.mapreduce.lib.join.ArrayListBackedIterator<X>
org.apache.hadoop.mapred.join.ArrayListBackedIterator<X>
- All Implemented Interfaces:
- ResetableIterator<X>
@InterfaceAudience.Public
@InterfaceStability.Stable
public class ArrayListBackedIterator<X extends Writable>
- extends ArrayListBackedIterator<X>
- implements ResetableIterator<X>
This class provides an implementation of ResetableIterator. The
implementation uses an ArrayList
to store elements
added to it, replaying them as requested.
Prefer StreamBackedIterator
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayListBackedIterator
public ArrayListBackedIterator()
ArrayListBackedIterator
public ArrayListBackedIterator(ArrayList<X> data)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.