Class GeoToolsFilterQuery

  • All Implemented Interfaces:
    com.googlecode.cqengine.query.Query<org.geotools.api.feature.simple.SimpleFeature>

    public class GeoToolsFilterQuery
    extends com.googlecode.cqengine.query.simple.SimpleQuery<org.geotools.api.feature.simple.SimpleFeature,​org.geotools.api.feature.simple.SimpleFeature>
    fallback Query type that passes evaluation off to GeoTools. This cannot make use of indexes, so it should be considered a "last chance" fallback.
    • Field Summary

      • Fields inherited from class com.googlecode.cqengine.query.simple.SimpleQuery

        attribute, attributeIsSimple, simpleAttribute
    • Constructor Summary

      Constructors 
      Constructor Description
      GeoToolsFilterQuery​(org.geotools.api.filter.Filter filter)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected int calcHashCode()  
      boolean equals​(Object o)  
      protected boolean matchesNonSimpleAttribute​(com.googlecode.cqengine.attribute.Attribute<org.geotools.api.feature.simple.SimpleFeature,​org.geotools.api.feature.simple.SimpleFeature> attribute, org.geotools.api.feature.simple.SimpleFeature object, com.googlecode.cqengine.query.option.QueryOptions queryOptions)  
      protected boolean matchesSimpleAttribute​(com.googlecode.cqengine.attribute.SimpleAttribute<org.geotools.api.feature.simple.SimpleFeature,​org.geotools.api.feature.simple.SimpleFeature> attribute, org.geotools.api.feature.simple.SimpleFeature object, com.googlecode.cqengine.query.option.QueryOptions queryOptions)  
      • Methods inherited from class com.googlecode.cqengine.query.simple.SimpleQuery

        asLiteral, asLiteral, getAttribute, getAttributeName, getAttributeType, hashCode, matches
    • Constructor Detail

      • GeoToolsFilterQuery

        public GeoToolsFilterQuery​(org.geotools.api.filter.Filter filter)
    • Method Detail

      • matchesSimpleAttribute

        protected boolean matchesSimpleAttribute​(com.googlecode.cqengine.attribute.SimpleAttribute<org.geotools.api.feature.simple.SimpleFeature,​org.geotools.api.feature.simple.SimpleFeature> attribute,
                                                 org.geotools.api.feature.simple.SimpleFeature object,
                                                 com.googlecode.cqengine.query.option.QueryOptions queryOptions)
        Specified by:
        matchesSimpleAttribute in class com.googlecode.cqengine.query.simple.SimpleQuery<org.geotools.api.feature.simple.SimpleFeature,​org.geotools.api.feature.simple.SimpleFeature>
      • matchesNonSimpleAttribute

        protected boolean matchesNonSimpleAttribute​(com.googlecode.cqengine.attribute.Attribute<org.geotools.api.feature.simple.SimpleFeature,​org.geotools.api.feature.simple.SimpleFeature> attribute,
                                                    org.geotools.api.feature.simple.SimpleFeature object,
                                                    com.googlecode.cqengine.query.option.QueryOptions queryOptions)
        Specified by:
        matchesNonSimpleAttribute in class com.googlecode.cqengine.query.simple.SimpleQuery<org.geotools.api.feature.simple.SimpleFeature,​org.geotools.api.feature.simple.SimpleFeature>
      • calcHashCode

        protected int calcHashCode()
        Specified by:
        calcHashCode in class com.googlecode.cqengine.query.simple.SimpleQuery<org.geotools.api.feature.simple.SimpleFeature,​org.geotools.api.feature.simple.SimpleFeature>