public class HqlStringCreator extends Object
HqlStringCreator.| Constructor and Description |
|---|
HqlStringCreator() |
| Modifier and Type | Method and Description |
|---|---|
static String |
forAddresses(de.alpharogroup.address.book.entities.Countries country,
String zipcode,
String city)
Generates hql script for addresses.
|
static String |
forCountries(String iso3166A2name,
String iso3166A3name,
String iso3166Number,
String name)
Generates hql script for countries.
|
static String |
forZipcodes(de.alpharogroup.address.book.entities.Countries country,
String zipcode,
String city)
Generates hql script for zipcodes.
|
static String |
forZipcodes(String country,
String zipcode,
String city)
Generates hql script for zipcodes.
|
static String |
getGeohashFirstAndSecondRingQuery(boolean asAddress)
Gets the geohash first and second ring query.
|
static String |
getGeohashFirstAndSecondRingSubQuery()
Gets the geohash first and second ring sub query.
|
static String |
getGeohashFirstRingQuery(boolean asAddress)
Gets the geohash first ring query.
|
static String |
getGeohashFirstRingSubQuery()
Gets the geohash first ring sub query.
|
static String |
getGeohashQuery()
Gets the geohash query.
|
static String |
getGeohashSubQuery()
Gets the geohash sub query.
|
public static String forAddresses(de.alpharogroup.address.book.entities.Countries country, String zipcode, String city)
country - the countryzipcode - the zipcodecity - the citypublic static String forCountries(String iso3166A2name, String iso3166A3name, String iso3166Number, String name)
iso3166A2name - the iso3166 a2nameiso3166A3name - the iso3166 a3nameiso3166Number - the iso3166 numbername - the namepublic static String forZipcodes(de.alpharogroup.address.book.entities.Countries country, String zipcode, String city)
country - the countryzipcode - the zipcodecity - the citypublic static String forZipcodes(String country, String zipcode, String city)
country - the countryzipcode - the zipcodecity - the citypublic static String getGeohashFirstAndSecondRingQuery(boolean asAddress)
asAddress - the as address flag if the result shell be objects or geohash values.public static String getGeohashFirstAndSecondRingSubQuery()
public static String getGeohashFirstRingQuery(boolean asAddress)
asAddress - the as address flag if the result shell be objects or geohash values.public static String getGeohashFirstRingSubQuery()
public static String getGeohashQuery()
public static String getGeohashSubQuery()
Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.