use of org.opengis.filter.LogicalOperator in project geotoolkit by Geomatys.
the class FilterReadingTest method testPropertyIsNotNull.
@Test
public void testPropertyIsNotNull() throws CQLException {
final String cql = "att IS NOT NULL";
Filter obj = CQL.parseFilter(cql);
obj = ((LogicalOperator<Object>) obj).getOperands().get(0);
assertEquals(FF.isNull(FF.property("att")), obj);
}
Aggregations