public class GeoSpatialQuery extends Object implements IGeoSpatialQuery
IGeoSpatialQuery interface.IGeoSpatialQuery.LowerAndUpperBound, IGeoSpatialQuery.LowerAndUpperValue| Constructor and Description |
|---|
GeoSpatialQuery(GeoSpatialConfig geoSpatialConfig,
GeoSpatial.GeoFunction searchFunction,
org.openrdf.model.URI searchDatatype,
IConstant<?> subject,
TermNode predicate,
TermNode context,
GeoSpatialUtility.PointLatLon spatialCircleCenter,
Double spatialCircleRadius,
GeoSpatialUtility.PointLatLon spatialRectangleSouthWest,
GeoSpatialUtility.PointLatLon spatialRectangleNorthEast,
ICoordinate.UNITS spatialUnit,
Long timeStart,
Long timeEnd,
Long coordSystem,
Map<String,IGeoSpatialQuery.LowerAndUpperValue> customFieldsConstraints,
IVariable<?> locationVar,
IVariable<?> timeVar,
IVariable<?> locationAndTimeVar,
IVariable<?> latVar,
IVariable<?> lonVar,
IVariable<?> coordSystemVar,
IVariable<?> customFieldsVar,
IVariable<?> literalVar,
IVariable<?> distanceVar,
IBindingSet incomingBindings)
Constructor
|
public GeoSpatialQuery(GeoSpatialConfig geoSpatialConfig, GeoSpatial.GeoFunction searchFunction, org.openrdf.model.URI searchDatatype, IConstant<?> subject, TermNode predicate, TermNode context, GeoSpatialUtility.PointLatLon spatialCircleCenter, Double spatialCircleRadius, GeoSpatialUtility.PointLatLon spatialRectangleSouthWest, GeoSpatialUtility.PointLatLon spatialRectangleNorthEast, ICoordinate.UNITS spatialUnit, Long timeStart, Long timeEnd, Long coordSystem, Map<String,IGeoSpatialQuery.LowerAndUpperValue> customFieldsConstraints, IVariable<?> locationVar, IVariable<?> timeVar, IVariable<?> locationAndTimeVar, IVariable<?> latVar, IVariable<?> lonVar, IVariable<?> coordSystemVar, IVariable<?> customFieldsVar, IVariable<?> literalVar, IVariable<?> distanceVar, IBindingSet incomingBindings)
public static Map<String,IGeoSpatialQuery.LowerAndUpperValue> toValidatedCustomFieldsConstraints(String[] customFields, Object[] customFieldsLowerBounds, Object[] customFieldsUpperBounds)
customFields - the custom field definitionscustomFieldsLowerBounds - the lower bounds for the custom fields definition (needs to have same arity)customFieldsUpperBounds - the upper bounds for the custom fields definition (needs to have same arity)public GeoSpatial.GeoFunction getSearchFunction()
getSearchFunction in interface IGeoSpatialQuerypublic org.openrdf.model.URI getSearchDatatype()
getSearchDatatype in interface IGeoSpatialQuerypublic IConstant<?> getSubject()
getSubject in interface IGeoSpatialQuerypublic TermNode getPredicate()
getPredicate in interface IGeoSpatialQuerypublic TermNode getContext()
getContext in interface IGeoSpatialQuerypublic GeoSpatialUtility.PointLatLon getSpatialCircleCenter()
getSpatialCircleCenter in interface IGeoSpatialQueryGeoSpatial.GeoFunction.IN_CIRCLE querypublic Double getSpatialCircleRadius()
getSpatialCircleRadius in interface IGeoSpatialQueryGeoSpatial.GeoFunction.IN_CIRCLE querypublic GeoSpatialUtility.PointLatLon getSpatialRectangleSouthWest()
getSpatialRectangleSouthWest in interface IGeoSpatialQuerypublic GeoSpatialUtility.PointLatLon getSpatialRectangleNorthEast()
getSpatialRectangleNorthEast in interface IGeoSpatialQuerypublic ICoordinate.UNITS getSpatialUnit()
getSpatialUnit in interface IGeoSpatialQuerypublic Long getTimeStart()
getTimeStart in interface IGeoSpatialQuerypublic Long getTimeEnd()
getTimeEnd in interface IGeoSpatialQuerypublic Long getCoordSystem()
getCoordSystem in interface IGeoSpatialQuerypublic Map<String,IGeoSpatialQuery.LowerAndUpperValue> getCustomFieldsConstraints()
getCustomFieldsConstraints in interface IGeoSpatialQuerypublic IVariable<?> getLocationVar()
getLocationVar in interface IGeoSpatialQuerypublic IVariable<?> getTimeVar()
getTimeVar in interface IGeoSpatialQuerypublic IVariable<?> getLatVar()
getLatVar in interface IGeoSpatialQuerypublic IVariable<?> getLonVar()
getLonVar in interface IGeoSpatialQuerypublic IVariable<?> getCoordSystemVar()
getCoordSystemVar in interface IGeoSpatialQuerypublic IVariable<?> getCustomFieldsVar()
getCustomFieldsVar in interface IGeoSpatialQuerypublic IVariable<?> getLocationAndTimeVar()
getLocationAndTimeVar in interface IGeoSpatialQuerypublic IVariable<?> getLiteralVar()
getLiteralVar in interface IGeoSpatialQuerypublic IVariable<?> getDistanceVar()
getDistanceVar in interface IGeoSpatialQuerypublic IBindingSet getIncomingBindings()
getIncomingBindings in interface IGeoSpatialQuerypublic IGeoSpatialQuery.LowerAndUpperBound getLowerAndUpperBound()
getLowerAndUpperBound in interface IGeoSpatialQuerypublic List<IGeoSpatialQuery> normalize()
IGeoSpatialQuerynormalize in interface IGeoSpatialQuerypublic boolean isNormalized()
isNormalized in interface IGeoSpatialQuerypublic boolean isSatisfiable()
isSatisfiable in interface IGeoSpatialQuerypublic GeoSpatialDatatypeConfiguration getDatatypeConfig()
getDatatypeConfig in interface IGeoSpatialQueryCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.