-
- All Implemented Interfaces:
-
org.bitlap.geocoding.core.AddressPersister
public class DefaultAddressPersister implements AddressPersister
Desc: 地址持久层的操作, 这边暂时只是对标准地址库的处理. 暂时不将标准化后的地址存储在数据出中。 Mail: chk19940609@gmail.com Created by IceMimosa Date: 2017/1/17
-
-
Constructor Summary
Constructors Constructor Description DefaultAddressPersister(RegionCache regionCache)
-
Method Summary
Modifier and Type Method Description RegionEntitygetRootRegion()获取行政规划地址树状结构关系 RegionEntitygetRegion(Long id)根据id获取 UnitaddRegionEntity(RegionEntity entity)新增一个region信息 -
-
Constructor Detail
-
DefaultAddressPersister
DefaultAddressPersister(RegionCache regionCache)
-
-
Method Detail
-
getRootRegion
RegionEntity getRootRegion()
获取行政规划地址树状结构关系
-
getRegion
RegionEntity getRegion(Long id)
根据id获取
-
addRegionEntity
Unit addRegionEntity(RegionEntity entity)
新增一个region信息
-
-
-
-