Class GeoHashFunction
java.lang.Object
org.springframework.data.solr.core.query.AbstractFunction
org.springframework.data.solr.core.query.GeoHashFunction
- All Implemented Interfaces:
Function
Implementation of
geohash(latitude, longitude)- Since:
- 1.1
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.solr.core.query.Function
Function.Context -
Method Summary
Modifier and TypeMethodDescriptionstatic GeoHashFunctiongeohash(double latitude, double longitude) static GeoHashFunctiongeohash(org.springframework.data.geo.Point location) solr readable representation of functionMethods inherited from class org.springframework.data.solr.core.query.AbstractFunction
addArgument, getArguments, hasArguments, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.data.solr.core.query.Function
getArgumentMap, toSolrFunction
-
Method Details
-
geohash
- Parameters:
location- must not be null- Returns:
-
geohash
- Parameters:
latitude-longitude-- Returns:
-
getOperation
Description copied from interface:Functionsolr readable representation of function- Returns:
-