@Internal public class TableInputSplit extends LocatableInputSplit
Constructor and Description |
---|
TableInputSplit(int splitNumber,
String[] hostnames,
byte[] tableName,
byte[] startRow,
byte[] endRow)
Creates a new table input split.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getEndRow()
Returns the end row.
|
byte[] |
getStartRow()
Returns the start row.
|
byte[] |
getTableName()
Returns the table name.
|
equals, getHostnames, getSplitNumber, hashCode, toString
public TableInputSplit(int splitNumber, String[] hostnames, byte[] tableName, byte[] startRow, byte[] endRow)
splitNumber
- the number of the input splithostnames
- the names of the hosts storing the data the input split refers totableName
- the name of the table to retrieve data fromstartRow
- the start row of the splitendRow
- the end row of the splitCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.