Object

org.locationtech.geomesa.filter

FilterHelper

Related Doc: package filter

Permalink

object FilterHelper

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FilterHelper
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object FilterHelperLogger extends LazyLogging

    Permalink
  5. def addWayPointsToBBOX(g: Geometry): Geometry

    Permalink

    Add way points to a geometry, preventing it from being split by JTS AM handling

    Add way points to a geometry, preventing it from being split by JTS AM handling

    g

    geom

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def extractAttributeBounds[T](filter: Filter, attribute: String, binding: Class[T]): FilterValues[Bounds[T]]

    Permalink

    Extracts bounds from filters that pertain to a given attribute.

    Extracts bounds from filters that pertain to a given attribute. Bounds will be merged where possible.

    filter

    filter to evaluate

    attribute

    attribute name to consider

    binding

    attribute type

    returns

    a sequence of bounds, if any

  11. def extractGeometries(filter: Filter, attribute: String, intersect: Boolean = true): FilterValues[Geometry]

    Permalink

    Extracts geometries from a filter into a sequence of OR'd geometries

    Extracts geometries from a filter into a sequence of OR'd geometries

    filter

    filter to evaluate

    attribute

    attribute to consider

    intersect

    intersect AND'd geometries or return them all note if not intersected, 'and/or' distinction will be lost

    returns

    geometry bounds from spatial filters

  12. def extractIntervals(filter: Filter, attribute: String, intersect: Boolean = true, handleExclusiveBounds: Boolean = false): FilterValues[Bounds[ZonedDateTime]]

    Permalink

    Extracts intervals from a filter.

    Extracts intervals from a filter. Intervals will be merged where possible - the resulting sequence is considered to be a union (i.e. OR)

    filter

    filter to evaluate

    attribute

    attribute to consider

    intersect

    intersect extracted values together, or return them all note if not intersected, 'and/or' distinction will be lost

    returns

    a sequence of intervals, if any. disjoint intervals will result in Seq((null, null))

  13. val ff: FilterFactory2

    Permalink
  14. def filterListAsAnd(filters: Seq[Filter]): Option[Filter]

    Permalink
  15. def filterListAsOr(filters: Seq[Filter]): Option[Filter]

    Permalink
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def flatten(filter: Filter): Filter

    Permalink

    Flattens nested ands and ors.

    Flattens nested ands and ors.

    Example: AND(1, AND(2, 3)) -> AND(1, 2, 3)

    filter

    filter

  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hasIdFilter(filter: Filter): Boolean

    Permalink
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. def isFilterWholeWorld(f: Filter): Boolean

    Permalink
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def isWholeWorld[G <: Geometry](g: G): Boolean

    Permalink
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. def propertyNames(expression: Expression, sft: SimpleFeatureType): Seq[String]

    Permalink
  28. def propertyNames(filter: Filter, sft: SimpleFeatureType): Seq[String]

    Permalink

    Extract property names from a filter

    Extract property names from a filter

    filter

    filter

    sft

    simple feature type

    returns

    unique property names referenced in the filter, in sorted order

  29. def propertyNames(filter: Filter): Seq[String]

    Permalink

    Extract property names from a filter.

    Extract property names from a filter. If a schema is available, prefer propertyNames(Filter, SimpleFeatureType) as that will handle things like default geometry bboxes

    filter

    filter

    returns

    unique property names referenced in the filter, in sorted order

  30. def simplify(filter: Filter): Filter

    Permalink

    Simplifies filters to make them easier to process.

    Simplifies filters to make them easier to process.

    Current simplifications:

    1) Extracts out common parts in an OR clause to simplify further processing.

    Example: OR(AND(1, 2), AND(1, 3), AND(1, 4)) -> AND(1, OR(2, 3, 4))

    2) N/A - add more simplifications here as needed

    filter

    filter

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. def trimToWorld(g: Geometry): Geometry

    Permalink

    Returns the intersection of this geometry with the world polygon

    Returns the intersection of this geometry with the world polygon

    Note: may return the geometry itself if it is already covered by the world

    g

    geometry

  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped