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

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

public static class TableSnapshotInputFormat.TableSnapshotRegionSplit
extends Object
implements org.apache.hadoop.mapred.InputSplit


Constructor Summary
TableSnapshotInputFormat.TableSnapshotRegionSplit()
           
TableSnapshotInputFormat.TableSnapshotRegionSplit(HTableDescriptor htd, HRegionInfo regionInfo, List<String> locations)
           
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)
Method Detail

getLength

public long getLength()
               throws IOException
Specified by:
getLength in interface org.apache.hadoop.mapred.InputSplit
Throws:
IOException

getLocations

public String[] getLocations()
                      throws IOException
Specified by:
getLocations in interface org.apache.hadoop.mapred.InputSplit
Throws:
IOException

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.