|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IOpenStreetMapDao
| Method Summary | |
|---|---|
void |
clearPartialSearchName()
clear the value of the textsearchname column, the textsearchname column is used to calculate textsearchvector and is unused after the calculation |
long |
countEstimate()
|
void |
createFulltextIndexes()
Create the fulltext index for openstreetMap to improve performances |
void |
createSpatialIndexes()
Create the database GIST for openstreetMap to improve performances |
OpenStreetMap |
getByGid(Long gid)
|
long |
getMaxGid()
|
long |
getMaxOpenstreetMapId()
|
List<com.gisgraphy.domain.valueobject.StreetDistance> |
getNearestAndDistanceFrom(com.vividsolutions.jts.geom.Point point,
double distance,
int firstResult,
int maxResults,
com.gisgraphy.street.StreetType streetType,
Boolean oneWay,
String name,
com.gisgraphy.street.StreetSearchMode streetSearchMode,
boolean includeDistanceField)
base method for all findNearest |
Integer |
updateTS_vectorColumnForStreetNameSearch()
Update the ts_vector column for the street name search (partial search and fulltext search) |
Integer |
updateTS_vectorColumnForStreetNameSearchPaginate(long from,
long to)
Update the ts_vector column for the street name search from the gid that are >= from and < to |
| Methods inherited from interface com.gisgraphy.domain.repository.IDao |
|---|
count, deleteAll, deleteAll, exists, flushAndClear, get, getAll, getAllPaginate, getPersistenceClass, remove, save, setFlushMode |
| Method Detail |
|---|
List<com.gisgraphy.domain.valueobject.StreetDistance> getNearestAndDistanceFrom(com.vividsolutions.jts.geom.Point point,
double distance,
int firstResult,
int maxResults,
com.gisgraphy.street.StreetType streetType,
Boolean oneWay,
String name,
com.gisgraphy.street.StreetSearchMode streetSearchMode,
boolean includeDistanceField)
point - The point from which we want to find GIS Objectdistance - The radius in metersfirstResult - the firstResult index (for pagination), numbered from 1,
if < 1 : it will not be taken into accountmaxResults - The Maximum number of results to retrieve (for
pagination), if <= 0 : it will not be taken into acountstreetType - The type of streetoneWay - whether the street should be oneway or notname - the name the street name must containsstreetSearchMode - if we search in fulltext or contain modeincludeDistanceField - if we have to calculate the distance or not
StreetDistanceOpenStreetMap getByGid(Long gid)
gid - the gid of the openstreetmap entity we want to retrieve
Integer updateTS_vectorColumnForStreetNameSearch()
StreetSearchMode
Integer updateTS_vectorColumnForStreetNameSearchPaginate(long from,
long to)
from - the start pagination index of gidto - the end pagination index
(partial search and fulltext search)
StreetSearchModevoid createSpatialIndexes()
void createFulltextIndexes()
void clearPartialSearchName()
long countEstimate()
long getMaxOpenstreetMapId()
long getMaxGid()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||