public static class TableSnapshotInputFormat.TableSnapshotRegionSplit extends Object implements org.apache.hadoop.mapred.InputSplit
Constructor and Description |
---|
TableSnapshotInputFormat.TableSnapshotRegionSplit() |
TableSnapshotInputFormat.TableSnapshotRegionSplit(HTableDescriptor htd,
HRegionInfo regionInfo,
List<String> locations) |
TableSnapshotInputFormat.TableSnapshotRegionSplit(TableSnapshotInputFormatImpl.InputSplit delegate) |
public TableSnapshotInputFormat.TableSnapshotRegionSplit()
public TableSnapshotInputFormat.TableSnapshotRegionSplit(TableSnapshotInputFormatImpl.InputSplit delegate)
public TableSnapshotInputFormat.TableSnapshotRegionSplit(HTableDescriptor htd, HRegionInfo regionInfo, List<String> locations)
public long getLength() throws IOException
getLength
in interface org.apache.hadoop.mapred.InputSplit
IOException
public String[] getLocations() throws IOException
getLocations
in interface org.apache.hadoop.mapred.InputSplit
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.