com.supermap.services.components.impl
Class AddressMatchImpl
- java.lang.Object
-
- com.supermap.services.components.impl.AddressMatchImpl
-
- All Implemented Interfaces:
- AddressMatch, ComponentContextAware
public class AddressMatchImpl extends java.lang.Object implements AddressMatch, ComponentContextAware
-
-
Constructor Summary
Constructors Constructor and Description AddressMatchImpl()
-
Method Summary
Methods Modifier and Type Method and Description java.util.List<GeoAddress>geocoding(GeoCodingParam param)Forward address matching methodjava.util.List<GeoAddress>geodecoding(GeoDecodingParam param)Reverse address matching methodjava.util.List<java.lang.String>getDatasetNamesInUse(java.lang.String datasourceName)Get the name of the dataset being usedjava.util.List<java.lang.String>getDatasourceNames()Get the name of the datasource being usedbooleanisUpdatingIndex()Whether the index is being updatedvoidsetComponentContext(ComponentContext context)Sets the service component context.voidupdateIndex(IndexUpdateParameter param)Update forward address match index
-
-
-
Method Detail
-
setComponentContext
public void setComponentContext(ComponentContext context)
Description copied from interface:ComponentContextAwareSets the service component context.
- Specified by:
setComponentContextin interfaceComponentContextAware- Parameters:
context- The service component context.
-
geocoding
public java.util.List<GeoAddress> geocoding(GeoCodingParam param)
Description copied from interface:AddressMatchForward address matching method- Specified by:
geocodingin interfaceAddressMatch- Parameters:
param- Forward address matching parameters- Returns:
- Forward address matching result set
-
geodecoding
public java.util.List<GeoAddress> geodecoding(GeoDecodingParam param)
Description copied from interface:AddressMatchReverse address matching method- Specified by:
geodecodingin interfaceAddressMatch- Parameters:
param- Reverse address matching parameters- Returns:
- Reverse address matching result set
-
updateIndex
public void updateIndex(IndexUpdateParameter param)
Description copied from interface:AddressMatchUpdate forward address match index- Specified by:
updateIndexin interfaceAddressMatch- Parameters:
param- parameters for updating index
-
isUpdatingIndex
public boolean isUpdatingIndex()
Description copied from interface:AddressMatchWhether the index is being updated- Specified by:
isUpdatingIndexin interfaceAddressMatch- Returns:
-
getDatasourceNames
public java.util.List<java.lang.String> getDatasourceNames()
Description copied from interface:AddressMatchGet the name of the datasource being used- Specified by:
getDatasourceNamesin interfaceAddressMatch- Returns:
- name collection
-
getDatasetNamesInUse
public java.util.List<java.lang.String> getDatasetNamesInUse(java.lang.String datasourceName)
Description copied from interface:AddressMatchGet the name of the dataset being used- Specified by:
getDatasetNamesInUsein interfaceAddressMatch- Parameters:
datasourceName- the name of the datasource- Returns:
- name collection
-
-