public void deleteBy(String outputTableId, Expression onDeletingExpression) {

        onDemandQuery.deleteBy(outputTableId, onDeletingExpression);
    }
Method to set a deleteStream as the outputStream of the store query

@param outputTableId        id of the table which is going to be queried
@param onDeletingExpression expression for the delete operation defined in the store query
modules/siddhi-query-api/src/main/java/io/siddhi/query/api/execution/query/StoreQuery.java