org.apache.hadoop.hbase.mapreduce
Class TableSnapshotInputFormat.TableSnapshotRegionSplit

java.lang.Object
  extended by org.apache.hadoop.mapreduce.InputSplit
      extended by org.apache.hadoop.hbase.mapreduce.TableSnapshotInputFormat.TableSnapshotRegionSplit
All Implemented Interfaces:
org.apache.hadoop.io.Writable
Enclosing class:
TableSnapshotInputFormat

public static class TableSnapshotInputFormat.TableSnapshotRegionSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable


Constructor Summary
TableSnapshotInputFormat.TableSnapshotRegionSplit()
           
TableSnapshotInputFormat.TableSnapshotRegionSplit(HTableDescriptor htd, HRegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir)
           
TableSnapshotInputFormat.TableSnapshotRegionSplit(TableSnapshotInputFormatImpl.InputSplit delegate)
           
 
Method Summary
 long getLength()
           
 String[] getLocations()
           
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableSnapshotInputFormat.TableSnapshotRegionSplit

public TableSnapshotInputFormat.TableSnapshotRegionSplit()

TableSnapshotInputFormat.TableSnapshotRegionSplit

public TableSnapshotInputFormat.TableSnapshotRegionSplit(TableSnapshotInputFormatImpl.InputSplit delegate)

TableSnapshotInputFormat.TableSnapshotRegionSplit

public TableSnapshotInputFormat.TableSnapshotRegionSplit(HTableDescriptor htd,
                                                         HRegionInfo regionInfo,
                                                         List<String> locations,
                                                         Scan scan,
                                                         org.apache.hadoop.fs.Path restoreDir)
Method Detail

getLength

public long getLength()
               throws IOException,
                      InterruptedException
Specified by:
getLength in class org.apache.hadoop.mapreduce.InputSplit
Throws:
IOException
InterruptedException

getLocations

public String[] getLocations()
                      throws IOException,
                             InterruptedException
Specified by:
getLocations in class org.apache.hadoop.mapreduce.InputSplit
Throws:
IOException
InterruptedException

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException


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