public class TableInputSplit extends InputSplit implements Writable
| Constructor and Description |
|---|
TableInputSplit() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String[] |
getKVHelperHosts()
Returns a String array with elements of the form, '
|
String |
getKVStoreName()
Returns the name of the store containing the records associated with
this split.
|
long |
getLength()
Get the size of the split, so that the input splits can be sorted by
size.
|
String[] |
getLocations()
Get the list of nodes by name where the data for the split would be
local.
|
String |
getTableName() |
int |
hashCode() |
void |
readFields(DataInput in)
Deserialize the fields of this object from
in. |
String |
toString() |
void |
write(DataOutput out)
Serialize the fields of this object to
out. |
public long getLength()
getLength in class InputSplitpublic String[] getLocations()
getLocations in class InputSplitIOExceptionInterruptedExceptionpublic String[] getKVHelperHosts()
public String getKVStoreName()
public String getTableName()
public void write(DataOutput out) throws IOException
out.write in interface Writableout - DataOuput to serialize this object into.IOExceptionpublic void readFields(DataInput in) throws IOException
in.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields in interface Writablein - DataInput to deseriablize this object from.IOExceptionCopyright (c) 2011, 2015 Oracle and/or its affiliates. All rights reserved.