@Test
public void testCreateFilter() {

    String where = "id > 1 and id <= 10";
    IFilter filter = FilterUtils.createFilter(where);
    System.out.println(filter);
    where = "name = 'hello' and id in ('1','2')";
    filter = FilterUtils.createFilter(where);
    System.out.println(filter);
    where = "gmt_create = '2013-11-11 11:11:11'";
    filter = FilterUtils.createFilter(where);
    System.out.println(filter);
    where = "1+1";
    filter = FilterUtils.createFilter(where);
    System.out.println(filter);
}