/** * Create a new KijiTableSplit instance from an HBase TableSplit. * * @param tableSplit the HBase TableSplit to clone. * @param regionStartKey the starting key of the region associated with this split. */ public KijiTableSplit(TableSplit tableSplit, byte[] regionStartKey) { super( tableSplit.getTableName(), tableSplit.getStartRow(), tableSplit.getEndRow(), tableSplit.getRegionLocation()); checkNotNull(regionStartKey); mRegionStartKey = regionStartKey; }
private String buildUrl() { String url = "http://" + address + "/table/scan?table=" + Bytes.toString(split.getTableName()) + "&from=" + Bytes.toString(split.getStartRow()) + "&to=" + Bytes.toString(split.getEndRow()); return url; }