public class AddressMatchImpl extends java.lang.Object implements AddressMatch, ComponentContextAware
Constructor and Description |
---|
AddressMatchImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.List<GeoAddress> |
geocoding(GeoCodingParam param)
Forward address matching method
|
java.util.List<GeoAddress> |
geodecoding(GeoDecodingParam param)
Reverse address matching method
|
java.util.List<java.lang.String> |
getDatasetNamesInUse(java.lang.String datasourceName)
Get the name of the dataset being used
|
java.util.List<java.lang.String> |
getDatasourceNames()
Get the name of the datasource being used
|
boolean |
isUpdatingIndex()
Whether the index is being updated
|
void |
setComponentContext(ComponentContext context)
Sets the service component context.
|
void |
updateIndex(IndexUpdateParameter param)
Update forward address match index
|
public void setComponentContext(ComponentContext context)
ComponentContextAware
Sets the service component context.
setComponentContext
in interface ComponentContextAware
context
- The service component context.public java.util.List<GeoAddress> geocoding(GeoCodingParam param)
AddressMatch
geocoding
in interface AddressMatch
param
- Forward address matching parameterspublic java.util.List<GeoAddress> geodecoding(GeoDecodingParam param)
AddressMatch
geodecoding
in interface AddressMatch
param
- Reverse address matching parameterspublic void updateIndex(IndexUpdateParameter param)
AddressMatch
updateIndex
in interface AddressMatch
param
- parameters for updating indexpublic boolean isUpdatingIndex()
AddressMatch
isUpdatingIndex
in interface AddressMatch
public java.util.List<java.lang.String> getDatasourceNames()
AddressMatch
getDatasourceNames
in interface AddressMatch
public java.util.List<java.lang.String> getDatasetNamesInUse(java.lang.String datasourceName)
AddressMatch
getDatasetNamesInUse
in interface AddressMatch
datasourceName
- the name of the datasource