case LESS_THAN:
return criteria.lessThan(appendBoostAndGetParameterValue(criteria, parameters));
case LESS_THAN_EQUAL:
return criteria.lessThanEqual(appendBoostAndGetParameterValue(criteria, parameters));
case BETWEEN:
return criteria.between(appendBoostAndGetParameterValue(criteria, parameters),
appendBoostAndGetParameterValue(criteria, parameters));
case IN:
return criteria.in(asArray(appendBoostAndGetParameterValue(criteria, parameters)));
case NOT_IN:
return criteria.in(asArray(appendBoostAndGetParameterValue(criteria, parameters))).not();