Class JTSFilterPredicate

  • All Implemented Interfaces:
    Serializable, Expression<Boolean>, Predicate, Selection<Boolean>, TupleElement<Boolean>, org.hibernate.query.criteria.internal.ExpressionImplementor<Boolean>, org.hibernate.query.criteria.internal.ParameterContainer, org.hibernate.query.criteria.internal.predicate.PredicateImplementor, org.hibernate.query.criteria.internal.Renderable, org.hibernate.query.criteria.internal.SelectionImplementor<Boolean>, org.hibernate.query.criteria.internal.TupleElementImplementor<Boolean>

    public class JTSFilterPredicate
    extends org.hibernate.query.criteria.internal.predicate.AbstractSimplePredicate
    implements Serializable
    JPA Criteria API Predicate equivalent of SpatialFilter.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.hibernate.query.criteria.internal.ParameterContainer

        org.hibernate.query.criteria.internal.ParameterContainer.Helper
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void registerParameters​(org.hibernate.query.criteria.internal.ParameterRegistry registry)  
      String render​(boolean isNegated, org.hibernate.query.criteria.internal.compile.RenderingContext renderingContext)  
      • Methods inherited from class org.hibernate.query.criteria.internal.predicate.AbstractSimplePredicate

        getExpressions, getOperator, isJunction, render
      • Methods inherited from class org.hibernate.query.criteria.internal.predicate.AbstractPredicateImpl

        getCompoundSelectionItems, isCompoundSelection, isNegated, not
      • Methods inherited from class org.hibernate.query.criteria.internal.expression.ExpressionImpl

        as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull
      • Methods inherited from class org.hibernate.query.criteria.internal.expression.SelectionImpl

        alias, getValueHandlers
      • Methods inherited from class org.hibernate.query.criteria.internal.expression.AbstractTupleElement

        forceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAlias
      • Methods inherited from class org.hibernate.query.criteria.internal.AbstractNode

        criteriaBuilder
      • Methods inherited from interface org.hibernate.query.criteria.internal.predicate.PredicateImplementor

        criteriaBuilder
      • Methods inherited from interface javax.persistence.criteria.Selection

        alias
      • Methods inherited from interface org.hibernate.query.criteria.internal.SelectionImplementor

        getValueHandlers
      • Methods inherited from interface org.hibernate.query.criteria.internal.TupleElementImplementor

        getValueHandler
    • Constructor Detail

      • JTSFilterPredicate

        public JTSFilterPredicate​(CriteriaBuilder criteriaBuilder,
                                  Expression<? extends org.locationtech.jts.geom.Geometry> geometry,
                                  Expression<? extends org.locationtech.jts.geom.Geometry> filter)
      • JTSFilterPredicate

        public JTSFilterPredicate​(CriteriaBuilder criteriaBuilder,
                                  Expression<? extends org.locationtech.jts.geom.Geometry> geometry,
                                  org.locationtech.jts.geom.Geometry filter)
      • JTSFilterPredicate

        public JTSFilterPredicate​(CriteriaBuilder criteriaBuilder,
                                  Expression<? extends org.locationtech.jts.geom.Geometry> geometry,
                                  org.locationtech.jts.geom.Envelope envelope,
                                  int srid)
    • Method Detail

      • registerParameters

        public void registerParameters​(org.hibernate.query.criteria.internal.ParameterRegistry registry)
        Specified by:
        registerParameters in interface org.hibernate.query.criteria.internal.ParameterContainer
      • render

        public String render​(boolean isNegated,
                             org.hibernate.query.criteria.internal.compile.RenderingContext renderingContext)
        Specified by:
        render in interface org.hibernate.query.criteria.internal.predicate.PredicateImplementor