public JsonSubScanSpec(String tableName, IndexDesc indexDesc, String regionServer, QueryCondition scanRangeCondition, QueryCondition userCondition, byte[] startRow, byte[] stopRow, String userName) { super(tableName, indexDesc, regionServer, startRow, stopRow, null, null, userName); condition = MapRDBImpl.newCondition().and(); if (userCondition != null && !userCondition.isEmpty()) { condition.condition(userCondition); } if (scanRangeCondition != null && !scanRangeCondition.isEmpty()) { condition.condition(scanRangeCondition); } condition.close().build(); }
public JsonSubScanSpec(String tableName, IndexDesc indexDesc, String regionServer, QueryCondition scanRangeCondition, QueryCondition userCondition, byte[] startRow, byte[] stopRow, String userName) { super(tableName, indexDesc, regionServer, startRow, stopRow, null, null, userName); condition = MapRDBImpl.newCondition().and(); if (userCondition != null && !userCondition.isEmpty()) { condition.condition(userCondition); } if (scanRangeCondition != null && !scanRangeCondition.isEmpty()) { condition.condition(scanRangeCondition); } condition.close().build(); }