|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gisgraphy.domain.repository.SolRSynchroniser
public class SolRSynchroniser
Interface of data access object for Language
ISolRSynchroniser
Field Summary | |
---|---|
protected static org.slf4j.Logger |
logger
|
Constructor Summary | |
---|---|
SolRSynchroniser(IsolrClient solrClient)
|
Method Summary | |
---|---|
boolean |
commit()
Send a commit to the full text search engine |
void |
deleteAll()
/! |
void |
deleteAllByPlaceType(Class<? extends GisFeature> placetype)
|
void |
handleEvent(IEvent event)
handle an event in order to synchronise Data (the event may be add, update, delete a GIS object) |
void |
handleEvent(PlaceTypeDeleteAllEvent placeTypeDeleteAllEvent)
|
void |
optimize()
Send a optimize command to the full text search engine |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.slf4j.Logger logger
Constructor Detail |
---|
public SolRSynchroniser(IsolrClient solrClient)
Method Detail |
---|
public void deleteAll()
ISolRSynchroniser
deleteAll
in interface ISolRSynchroniser
public void handleEvent(PlaceTypeDeleteAllEvent placeTypeDeleteAllEvent)
public void deleteAllByPlaceType(Class<? extends GisFeature> placetype)
public void handleEvent(IEvent event)
ISolRSynchroniser
handleEvent
in interface ISolRSynchroniser
event
- The event to handlepublic boolean commit()
ISolRSynchroniser
commit
in interface ISolRSynchroniser
public void optimize()
ISolRSynchroniser
optimize
in interface ISolRSynchroniser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |