Package org.geotools.filter

Examples of org.geotools.filter.FilterFactoryImpl.equal()


  @Test
  public void test() {
    FilterFactoryImpl factory = new FilterFactoryImpl();
    Expression exp1 = factory.createAttributeExpression(type,"pid");
    Expression exp2 = factory.createLiteralExpression("a89dhd-123-abc");
    Filter f = factory.equal(exp1, exp2, false);
    String ss = FilterToCQLTool.toCQL(f);
    assertTrue(ss.contains("'a89dhd-123-abc'"));
   
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.