private static class ExportSnapshot.ExportSnapshotInputFormat.ExportSnapshotInputSplit extends org.apache.hadoop.mapreduce.InputSplit implements org.apache.hadoop.io.Writable
| Modifier and Type | Field and Description |
|---|---|
private List<Pair<org.apache.hadoop.io.BytesWritable,Long>> |
files |
private long |
length |
| Constructor and Description |
|---|
ExportSnapshotInputSplit() |
ExportSnapshotInputSplit(List<Pair<org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotFileInfo,Long>> snapshotFiles) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLength() |
String[] |
getLocations() |
private List<Pair<org.apache.hadoop.io.BytesWritable,Long>> |
getSplitKeys() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
private long length
public ExportSnapshotInputSplit()
public ExportSnapshotInputSplit(List<Pair<org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotFileInfo,Long>> snapshotFiles)
private List<Pair<org.apache.hadoop.io.BytesWritable,Long>> getSplitKeys()
public long getLength() throws IOException, InterruptedException
getLength in class org.apache.hadoop.mapreduce.InputSplitIOExceptionInterruptedExceptionpublic String[] getLocations() throws IOException, InterruptedException
getLocations in class org.apache.hadoop.mapreduce.InputSplitIOExceptionInterruptedExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.