return new FloatCompare(operator);
case DECIMAL:
return new DecimalCompare(operator);
case DATE:
case DATETIME:
return new CalendarCompare(operator);
default:
throw new FormatException(MessageFormat.format(
"Property does not support compare(\"{0}\") expression: {1}",
operator.getSymbol(),
name));