public class HBaseSplit
extends org.apache.hadoop.mapred.FileSplit
implements org.apache.hadoop.mapred.InputSplit
Constructor and Description |
---|
HBaseSplit()
For Writable
|
HBaseSplit(org.apache.hadoop.mapred.InputSplit snapshotSplit,
org.apache.hadoop.fs.Path dummyPath)
TODO: use TableSnapshotRegionSplit HBASE-11555 is fixed.
|
HBaseSplit(org.apache.hadoop.hbase.mapreduce.TableSplit tableSplit,
org.apache.hadoop.fs.Path dummyPath) |
Modifier and Type | Method and Description |
---|---|
long |
getLength() |
String[] |
getLocations() |
org.apache.hadoop.mapred.InputSplit |
getSnapshotSplit() |
org.apache.hadoop.hbase.mapreduce.TableSplit |
getTableSplit() |
void |
readFields(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
public HBaseSplit()
public HBaseSplit(org.apache.hadoop.hbase.mapreduce.TableSplit tableSplit, org.apache.hadoop.fs.Path dummyPath)
public HBaseSplit(org.apache.hadoop.mapred.InputSplit snapshotSplit, org.apache.hadoop.fs.Path dummyPath)
public org.apache.hadoop.hbase.mapreduce.TableSplit getTableSplit()
public org.apache.hadoop.mapred.InputSplit getSnapshotSplit()
public String toString()
toString
in class org.apache.hadoop.mapred.FileSplit
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class org.apache.hadoop.mapred.FileSplit
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
write
in class org.apache.hadoop.mapred.FileSplit
IOException
public long getLength()
getLength
in interface org.apache.hadoop.mapred.InputSplit
getLength
in class org.apache.hadoop.mapred.FileSplit
public String[] getLocations() throws IOException
getLocations
in interface org.apache.hadoop.mapred.InputSplit
getLocations
in class org.apache.hadoop.mapred.FileSplit
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.