org.apache.hadoop.hbase.mapreduce
Class TableSnapshotInputFormatImpl.InputSplit
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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.