public class PartitionCoalescer.LocationIterator extends java.lang.Object implements scala.collection.Iterator<scala.Tuple2<java.lang.String,Partition>>
scala.collection.Iterator.GroupedIterator<B>
scala.collection.TraversableOnce.BufferedCanBuildFrom<A,Coll extends scala.collection.TraversableOnce<java.lang.Object>>, scala.collection.TraversableOnce.FlattenOps<A>, scala.collection.TraversableOnce.ForceImplicitAmbiguity, scala.collection.TraversableOnce.MonadOps<A>, scala.collection.TraversableOnce.OnceCanBuildFrom<A>
Constructor and Description |
---|
PartitionCoalescer.LocationIterator(RDD<?> prev) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
boolean |
isEmpty() |
scala.collection.Iterator<scala.Tuple2<java.lang.String,Partition>> |
it() |
scala.Tuple2<java.lang.String,Partition> |
next() |
scala.collection.Iterator<scala.Tuple2<java.lang.String,Partition>> |
resetIterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
$plus$plus, buffered, collect, contains, copyToArray, corresponds, drop, dropWhile, duplicate, exists, filter, filterNot, find, flatMap, forall, foreach, grouped, hasDefiniteSize, indexOf, indexWhere, isTraversableAgain, length, map, padTo, partition, patch, sameElements, scanLeft, scanRight, seq, slice, sliding, sliding$default$2, span, take, takeWhile, toIterator, toStream, toString, toTraversable, withFilter, zip, zipAll, zipWithIndex
$colon$bslash, $div$colon, addString, addString, addString, aggregate, collectFirst, copyToArray, copyToArray, copyToBuffer, count, fold, foldLeft, foldRight, max, maxBy, min, minBy, mkString, mkString, mkString, nonEmpty, product, reduce, reduceLeft, reduceLeftOption, reduceOption, reduceRight, reduceRightOption, reversed, size, sum, to, toArray, toBuffer, toIndexedSeq, toIterable, toList, toMap, toSeq, toSet, toVector
public PartitionCoalescer.LocationIterator(RDD<?> prev)
public scala.collection.Iterator<scala.Tuple2<java.lang.String,Partition>> it()
public boolean isEmpty()
isEmpty
in interface scala.collection.GenTraversableOnce<scala.Tuple2<java.lang.String,Partition>>
isEmpty
in interface scala.collection.Iterator<scala.Tuple2<java.lang.String,Partition>>
isEmpty
in interface scala.collection.TraversableOnce<scala.Tuple2<java.lang.String,Partition>>
public scala.collection.Iterator<scala.Tuple2<java.lang.String,Partition>> resetIterator()
public boolean hasNext()
hasNext
in interface scala.collection.Iterator<scala.Tuple2<java.lang.String,Partition>>