Class FeaturesInGeometry

java.lang.Object
com.here.platform.data.client.utils.rsql.FeaturesInGeometry
All Implemented Interfaces:
ImlParsedQuery, Serializable, scala.Equals, scala.Product

public class FeaturesInGeometry extends Object implements ImlParsedQuery, scala.Product, Serializable
Case class to hold the information for spatial queries.

param: hrn The HRN of the catalog containing the interactiveMap layer. param: layerId Layer ID of the queried interactiveMap layer. param: settings The client settings. param: geometry The geometry to be queried. Can be a bounding box, polygon, or circle. param: quadKeys The HERE QuadKeys that contain the data. param: searchParam List of additional feature filters resulting in a subset of features.
Allowed prefixes to be used for property search are:

  • 'p.' - used to access values stored in 'properties' property of the feature
  • 'f.' - used to access values which are added by default in the stored feature, the possible values are: 'f.id', 'f.createdAt' and 'f.updatedAt'.
    Example - p.property_1=property_value_1 or f.special_property_1=special_property_value_1
The available operators are:
  • "=" - equals
  • "!=" - not equals
  • ">=" or "=gte=" - greater than or equals
  • "<=" or "=lte=" - less than or equals
  • ">" or "=gt=" - greater than
  • "<" or "=lt=" - less than
  • "@>" or "=cs=" - contains
param: selection List of properties to be returned in the features result list. Example, 'p.property_name'.
See Also:
  • QueryApi.getFeatureCollectionBySpatialSearchCircle(java.lang.String, double, double, int, scala.collection.immutable.Set<com.here.platform.data.client.model.geojson.SearchParam>, scala.collection.immutable.Set<java.lang.String>, scala.Option<java.lang.Object>, scala.Option<com.here.platform.data.client.model.InteractiveMapContext>, scala.Option<java.lang.Object>)
  • Serialized Form
  • Constructor Details

    • FeaturesInGeometry

      public FeaturesInGeometry(HRN hrn, String layerId, Settings settings, Geometry geometry, scala.collection.immutable.Seq<String> quadKeys, scala.collection.immutable.Set<SearchParam> searchParam, scala.collection.immutable.Set<String> selection)
  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7)
    • toString

      public static String toString()
    • hrn

      public HRN hrn()
    • layerId

      public String layerId()
    • settings

      public Settings settings()
    • geometry

      public Geometry geometry()
    • quadKeys

      public scala.collection.immutable.Seq<String> quadKeys()
    • searchParam

      public scala.collection.immutable.Set<SearchParam> searchParam()
    • selection

      public scala.collection.immutable.Set<String> selection()