Class RFileReaderIterator

  • All Implemented Interfaces:
    Iterator<Map.Entry<org.apache.accumulo.core.data.Key,​org.apache.accumulo.core.data.Value>>

    public class RFileReaderIterator
    extends Object
    implements Iterator<Map.Entry<org.apache.accumulo.core.data.Key,​org.apache.accumulo.core.data.Value>>
    A RFileReaderIterator is a Iterator formed by merging iterators over a set of RFiles.
    • Constructor Detail

      • RFileReaderIterator

        public RFileReaderIterator​(org.apache.spark.Partition partition,
                                   org.apache.spark.TaskContext taskContext,
                                   org.apache.hadoop.conf.Configuration configuration,
                                   Set<String> auths)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface Iterator<Map.Entry<org.apache.accumulo.core.data.Key,​org.apache.accumulo.core.data.Value>>
      • next

        public Map.Entry<org.apache.accumulo.core.data.Key,​org.apache.accumulo.core.data.Value> next()
        Specified by:
        next in interface Iterator<Map.Entry<org.apache.accumulo.core.data.Key,​org.apache.accumulo.core.data.Value>>