Class ESGeoSearchPlugin
- java.lang.Object
-
- io.vertigo.geo.plugins.geosearch.es.ESGeoSearchPlugin
-
- All Implemented Interfaces:
io.vertigo.core.node.component.Activeable
,io.vertigo.core.node.component.CoreComponent
,io.vertigo.core.node.component.Plugin
,GeoSearchPlugin
public final class ESGeoSearchPlugin extends Object implements GeoSearchPlugin, io.vertigo.core.node.component.Activeable
-
-
Constructor Summary
Constructors Constructor Description ESGeoSearchPlugin(String envIndexPrefix, Optional<String> connectorNameOpt, List<io.vertigo.connectors.elasticsearch.RestHighLevelElasticSearchConnector> elasticSearchConnectors, io.vertigo.commons.codec.CodecManager codecManager, SmartTypeManager smartTypeManager, io.vertigo.core.resource.ResourceManager resourceManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <D extends DtObject>
DtList<D>searchInBoundingBox(GeoLocation topLeft, GeoLocation bottomRight, String indexName, Class<D> dtIndexClass, DtFieldName<D> fieldName, Integer maxRows)
void
start()
void
stop()
-
-
-
Constructor Detail
-
ESGeoSearchPlugin
@Inject public ESGeoSearchPlugin(String envIndexPrefix, Optional<String> connectorNameOpt, List<io.vertigo.connectors.elasticsearch.RestHighLevelElasticSearchConnector> elasticSearchConnectors, io.vertigo.commons.codec.CodecManager codecManager, SmartTypeManager smartTypeManager, io.vertigo.core.resource.ResourceManager resourceManager)
-
-
Method Detail
-
start
public void start()
- Specified by:
start
in interfaceio.vertigo.core.node.component.Activeable
-
stop
public void stop()
- Specified by:
stop
in interfaceio.vertigo.core.node.component.Activeable
-
searchInBoundingBox
public <D extends DtObject> DtList<D> searchInBoundingBox(GeoLocation topLeft, GeoLocation bottomRight, String indexName, Class<D> dtIndexClass, DtFieldName<D> fieldName, Integer maxRows)
- Specified by:
searchInBoundingBox
in interfaceGeoSearchPlugin
-
-