private int delete(final HTableWrapper tableWrapper,
final WithArgs withArgs,
final RowRequest rowRequest) throws HBqlException {
final HTableInterface table = tableWrapper.getHTable();
final ExpressionTree clientExpressionTree = withArgs.getClientExpressionTree();
final ResultScanner resultScanner = rowRequest.getResultScanner(this.getMappingContext().getMapping(),
withArgs,
table);
int cnt = 0;
try {
for (final Result result : resultScanner) {
try {
if (clientExpressionTree == null || clientExpressionTree.evaluate(this.getConnection(), result)) {
final Delete rowDelete = new Delete(result.getRow());
for (final String deleteItem : this.getDeleteItemList()) {
if (deleteItem.endsWith(":*")) {