return Expression.gt(getFieldName(query.getField()), getSafeValue(query.getValue()));
return Expression.gt(getFieldName(query.getField()), query.getValue());
    private Expression getExpression(WorkflowQuery query) {        int operator = query.getOperator();        switch (operator) {        case WorkflowQuery.EQUALS:            return Expression.eq(getFieldName(query.getField()), getSafeValue(query.getValue()));        case WorkflowQuery.NOT_EQUALS:            return Expression.not(Expression.like(getFieldName(query.getField()), getSafeValue(query.getValue())));        case WorkflowQuery.GT:            return Expression.gt(getFieldName(query.getField()), getSafeValue(query.getValue()));        case WorkflowQuery.LT:            return Expression.lt(getFieldName(query.getField()), getSafeValue(query.getValue()));        default:            return Expression.eq(getFieldName(query.getField()), getSafeValue(query.getValue()));        }    }