org.apache.hadoop.hbase.mapreduce
Class TableSnapshotInputFormatImpl.RecordReader

java.lang.Object
  extended by org.apache.hadoop.hbase.mapreduce.TableSnapshotInputFormatImpl.RecordReader
Enclosing class:
TableSnapshotInputFormatImpl

public static class TableSnapshotInputFormatImpl.RecordReader
extends Object

Implementation class for RecordReader logic common between mapred and mapreduce.


Constructor Summary
TableSnapshotInputFormatImpl.RecordReader()
           
 
Method Summary
 void close()
           
 ImmutableBytesWritable getCurrentKey()
           
 Result getCurrentValue()
           
 long getPos()
           
 float getProgress()
           
 ClientSideRegionScanner getScanner()
           
 void initialize(TableSnapshotInputFormatImpl.InputSplit split, org.apache.hadoop.conf.Configuration conf)
           
 boolean nextKeyValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableSnapshotInputFormatImpl.RecordReader

public TableSnapshotInputFormatImpl.RecordReader()
Method Detail

getScanner

public ClientSideRegionScanner getScanner()

initialize

public void initialize(TableSnapshotInputFormatImpl.InputSplit split,
                       org.apache.hadoop.conf.Configuration conf)
                throws IOException
Throws:
IOException

nextKeyValue

public boolean nextKeyValue()
                     throws IOException
Throws:
IOException

getCurrentKey

public ImmutableBytesWritable getCurrentKey()

getCurrentValue

public Result getCurrentValue()

getPos

public long getPos()

getProgress

public float getProgress()

close

public void close()


Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.