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 IGeoSpatialQuery
public org.openrdf.model.URI getSearchDatatype()
getSearchDatatype
in interface IGeoSpatialQuery
public IConstant<?> getSubject()
getSubject
in interface IGeoSpatialQuery
public TermNode getPredicate()
getPredicate
in interface IGeoSpatialQuery
public TermNode getContext()
getContext
in interface IGeoSpatialQuery
public GeoSpatialUtility.PointLatLon getSpatialCircleCenter()
getSpatialCircleCenter
in interface IGeoSpatialQuery
GeoSpatial.GeoFunction.IN_CIRCLE
querypublic Double getSpatialCircleRadius()
getSpatialCircleRadius
in interface IGeoSpatialQuery
GeoSpatial.GeoFunction.IN_CIRCLE
querypublic GeoSpatialUtility.PointLatLon getSpatialRectangleSouthWest()
getSpatialRectangleSouthWest
in interface IGeoSpatialQuery
public GeoSpatialUtility.PointLatLon getSpatialRectangleNorthEast()
getSpatialRectangleNorthEast
in interface IGeoSpatialQuery
public ICoordinate.UNITS getSpatialUnit()
getSpatialUnit
in interface IGeoSpatialQuery
public Long getTimeStart()
getTimeStart
in interface IGeoSpatialQuery
public Long getTimeEnd()
getTimeEnd
in interface IGeoSpatialQuery
public Long getCoordSystem()
getCoordSystem
in interface IGeoSpatialQuery
public Map<String,IGeoSpatialQuery.LowerAndUpperValue> getCustomFieldsConstraints()
getCustomFieldsConstraints
in interface IGeoSpatialQuery
public IVariable<?> getLocationVar()
getLocationVar
in interface IGeoSpatialQuery
public IVariable<?> getTimeVar()
getTimeVar
in interface IGeoSpatialQuery
public IVariable<?> getLatVar()
getLatVar
in interface IGeoSpatialQuery
public IVariable<?> getLonVar()
getLonVar
in interface IGeoSpatialQuery
public IVariable<?> getCoordSystemVar()
getCoordSystemVar
in interface IGeoSpatialQuery
public IVariable<?> getCustomFieldsVar()
getCustomFieldsVar
in interface IGeoSpatialQuery
public IVariable<?> getLocationAndTimeVar()
getLocationAndTimeVar
in interface IGeoSpatialQuery
public IVariable<?> getLiteralVar()
getLiteralVar
in interface IGeoSpatialQuery
public IVariable<?> getDistanceVar()
getDistanceVar
in interface IGeoSpatialQuery
public IBindingSet getIncomingBindings()
getIncomingBindings
in interface IGeoSpatialQuery
public IGeoSpatialQuery.LowerAndUpperBound getLowerAndUpperBound()
getLowerAndUpperBound
in interface IGeoSpatialQuery
public List<IGeoSpatialQuery> normalize()
IGeoSpatialQuery
normalize
in interface IGeoSpatialQuery
public boolean isNormalized()
isNormalized
in interface IGeoSpatialQuery
public boolean isSatisfiable()
isSatisfiable
in interface IGeoSpatialQuery
public GeoSpatialDatatypeConfiguration getDatatypeConfig()
getDatatypeConfig
in interface IGeoSpatialQuery
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.