@Test public void supportsLike() { H2FilterToSQL filterToSQL = new H2FilterToSQL(); filterToSQL.createFilterCapabilities().supports(PropertyIsLike.class); }
@Override protected FilterCapabilities createFilterCapabilities() { FilterCapabilities caps = super.createFilterCapabilities(); caps.addAll(SQLDialect.BASE_DBMS_CAPABILITIES); caps.addType(BBOX.class); caps.addType(Contains.class); caps.addType(Crosses.class); caps.addType(Disjoint.class); caps.addType(Equals.class); caps.addType(Intersects.class); caps.addType(Overlaps.class); caps.addType(Touches.class); caps.addType(Within.class); caps.addType(DWithin.class); caps.addType(Beyond.class); caps.addType(NativeFilter.class); return caps; }
H2FilterToSQL extends FilterToSQL { @Override protected FilterCapabilities createFilterCapabilities() { FilterCapabilities caps = super.createFilterCapabilities(); caps.addAll(SQLDialect.BASE_DBMS_CAPABILITIES); caps.addType(BBOX.class); caps.addType(Contains.class); caps.addType(Crosses.class); caps.addType(Disjoint.class); caps.addType(Equals.class); caps.addType(Intersects.class); caps.addType(Overlaps.class); caps.addType(Touches.class); caps.addType(Within.class); caps.addType(DWithin.class); caps.addType(Beyond.class); caps.addType(NativeFilter.class); return caps; } }
H2FilterToSQL extends FilterToSQL { @Override protected FilterCapabilities createFilterCapabilities() { FilterCapabilities caps = super.createFilterCapabilities(); caps.addAll(SQLDialect.BASE_DBMS_CAPABILITIES); caps.addType(BBOX.class); caps.addType(Contains.class); caps.addType(Crosses.class); caps.addType(Disjoint.class); caps.addType(Equals.class); caps.addType(Intersects.class); caps.addType(Overlaps.class); caps.addType(Touches.class); caps.addType(Within.class); caps.addType(DWithin.class); caps.addType(Beyond.class); caps.addType(NativeFilter.class); return caps; }  }
H2FilterToSQL extends FilterToSQL { @Override protected FilterCapabilities createFilterCapabilities() { FilterCapabilities caps = super.createFilterCapabilities(); caps.addAll(SQLDialect.BASE_DBMS_CAPABILITIES); caps.addType(BBOX.class); caps.addType(Contains.class); caps.addType(Crosses.class); caps.addType(Disjoint.class); caps.addType(Equals.class); caps.addType(Intersects.class); caps.addType(Overlaps.class); caps.addType(Touches.class); caps.addType(Within.class); caps.addType(DWithin.class); caps.addType(Beyond.class); caps.addType(NativeFilter.class); return caps; }   }
H2FilterToSQL extends FilterToSQL { @Override protected FilterCapabilities createFilterCapabilities() { FilterCapabilities caps = super.createFilterCapabilities(); caps.addAll(SQLDialect.BASE_DBMS_CAPABILITIES); caps.addType(BBOX.class); caps.addType(Contains.class); caps.addType(Crosses.class); caps.addType(Disjoint.class); caps.addType(Equals.class); caps.addType(Intersects.class); caps.addType(Overlaps.class); caps.addType(Touches.class); caps.addType(Within.class); caps.addType(DWithin.class); caps.addType(Beyond.class); caps.addType(NativeFilter.class); return caps; }    }