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

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

public static class TableSnapshotInputFormatImpl.InputSplit
extends Object
implements org.apache.hadoop.io.Writable

Implementation class for InputSplit logic common between mapred and mapreduce.


Constructor Summary
TableSnapshotInputFormatImpl.InputSplit()
           
TableSnapshotInputFormatImpl.InputSplit(HTableDescriptor htd, HRegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir)
           
 
Method Summary
 HTableDescriptor getHtd()
           
 long getLength()
           
 String[] getLocations()
           
 HRegionInfo getRegionInfo()
           
 String getRestoreDir()
           
 String getScan()
           
 HTableDescriptor getTableDescriptor()
           
 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

TableSnapshotInputFormatImpl.InputSplit

public TableSnapshotInputFormatImpl.InputSplit()

TableSnapshotInputFormatImpl.InputSplit

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

getHtd

public HTableDescriptor getHtd()

getScan

public String getScan()

getRestoreDir

public String getRestoreDir()

getLength

public long getLength()

getLocations

public String[] getLocations()

getTableDescriptor

public HTableDescriptor getTableDescriptor()

getRegionInfo

public HRegionInfo getRegionInfo()

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–2015 The Apache Software Foundation. All rights reserved.