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)
           
 
Method Summary
 long getLength()
           
 String[] getLocations()
           
 HRegionInfo getRegionInfo()
           
 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)
Method Detail

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