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
  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. def filterListAsAnd(filters: Seq[Filter]): Option[Filter]

    Permalink
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. 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

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

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

    Permalink
  18. def hashCode(): Int

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

    Permalink
  20. final def isInstanceOf[T0]: Boolean

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

    Permalink
  22. def metersMultiplier(units: String): Double

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

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

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

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

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

    Permalink
  28. 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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  31. 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

  32. def visitBinarySpatialOp(op: BinarySpatialOperator, sft: SimpleFeatureType, factory: FilterFactory2): Filter

    Permalink

    Creates a new filter with valid bounds and attribute

    Creates a new filter with valid bounds and attribute

    op

    spatial op

    sft

    simple feature type

    returns

    valid op

  33. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped