com.supermap.services.providers
类 TilesetRealspaceProvider
- java.lang.Object
 - 
- com.supermap.services.components.spi.RealspaceProviderBase
 - 
- com.supermap.services.providers.TilesetRealspaceProvider
 
 
 
- 
- 所有已实现的接口:
 - ProviderContextAware, RealspaceProvider
 
- 直接已知子类:
 - MongoDBRealspaceProvider
 
public abstract class TilesetRealspaceProvider extends RealspaceProviderBase implements ProviderContextAware
基于切片集实现的三维真空间服务提供者的基类。
- 从以下版本开始:
 - 7.1.2
 
 
- 
- 
字段概要
字段 限定符和类型 字段和说明 protected java.util.List<RealspaceDataAdapter>realspaceDataAdapters 
- 
构造器概要
构造器 构造器和说明 TilesetRealspaceProvider() 
- 
方法概要
方法 限定符和类型 方法和说明 java.lang.StringgetCacheAccessKey()返回用于对缓存数据进行加密的密码。RealspaceDataResultgetData(RealspaceDataParam dataParam)获取三维瓦片数据结果。byte[]getDataConfig(java.lang.String dataName)根据名称获取三维缓存数据的配置文件。byte[]getDataConfig(java.lang.String dataName, CompressType compressType)根据名称获取三维缓存数据的配置文件。java.util.List<RealspaceDataInfo>getDataInfos()获取当前 Provider 的所有三维数据信息。java.util.List<java.lang.String>getSceneNames()获取当前服务提供者所有可用的三维场景的名称。protected voidinit(Tileset<?,?>[] tilesets, java.lang.String... tilesetNames)根据切片集初使化。booleanisDataAvailable(java.lang.String dataName)三维数据是否可用。booleanisSecurityEnabled()是否启用安全机制。- 
从类继承的方法 com.supermap.services.components.spi.RealspaceProviderBase
cleanCacheData, getData, getDataVersion, getDataVersion, getLayerExtendXML, getLayerPrj, getModelIndex, getOfflineDataPaths, getSceneInfo, getTilesRevisionInfo, getVectorIndex, isSceneAvailable, outputDataToMemory 
- 
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
从接口继承的方法 com.supermap.services.components.spi.ProviderContextAware
setProviderContext 
 - 
 
 - 
 
- 
- 
方法详细资料
- 
init
protected void init(Tileset<?,?>[] tilesets, java.lang.String... tilesetNames)
根据切片集初使化。 
- 
getCacheAccessKey
public java.lang.String getCacheAccessKey()
从接口复制的说明:RealspaceProvider返回用于对缓存数据进行加密的密码。- 指定者:
 getCacheAccessKey在接口中RealspaceProvider- 覆盖:
 getCacheAccessKey在类中RealspaceProviderBase- 返回:
 - 返回用于对缓存数据进行加密的密码。
 
 
- 
getSceneNames
public java.util.List<java.lang.String> getSceneNames() throws RealspaceException从接口复制的说明:RealspaceProvider获取当前服务提供者所有可用的三维场景的名称。- 指定者:
 getSceneNames在接口中RealspaceProvider- 覆盖:
 getSceneNames在类中RealspaceProviderBase- 返回:
 - 可用的场景名称列表。
 - 抛出:
 RealspaceException- 三维异常信息。
 
- 
getData
public RealspaceDataResult getData(RealspaceDataParam dataParam) throws RealspaceException
从接口复制的说明:RealspaceProvider获取三维瓦片数据结果。- 指定者:
 getData在接口中RealspaceProvider- 覆盖:
 getData在类中RealspaceProviderBase- 参数:
 dataParam- 瓦片参数。- 抛出:
 RealspaceException
 
- 
getDataConfig
public byte[] getDataConfig(java.lang.String dataName) throws RealspaceException从接口复制的说明:RealspaceProvider根据名称获取三维缓存数据的配置文件。- 指定者:
 getDataConfig在接口中RealspaceProvider- 覆盖:
 getDataConfig在类中RealspaceProviderBase- 参数:
 dataName- 三维数据的名称。对应 SuperMap 三维场景中的三维图层的名称(LayerName)。- 返回:
 - 三维缓存数据的配置文件。
 - 抛出:
 RealspaceException- 三维异常信息。
 
- 
getDataConfig
public byte[] getDataConfig(java.lang.String dataName, CompressType compressType) throws RealspaceException从接口复制的说明:RealspaceProvider根据名称获取三维缓存数据的配置文件。- 指定者:
 getDataConfig在接口中RealspaceProvider- 覆盖:
 getDataConfig在类中RealspaceProviderBase- 参数:
 dataName- 三维数据的名称。对应 SuperMap 三维场景中的三维图层的名称(LayerName)。- 返回:
 - 三维缓存数据的配置文件。
 - 抛出:
 RealspaceException- 三维异常信息。
 
- 
getDataInfos
public java.util.List<RealspaceDataInfo> getDataInfos() throws RealspaceException
从接口复制的说明:RealspaceProvider获取当前 Provider 的所有三维数据信息。- 指定者:
 getDataInfos在接口中RealspaceProvider- 覆盖:
 getDataInfos在类中RealspaceProviderBase- 返回:
 - 三维数据信息。
 - 抛出:
 RealspaceException- 三维异常信息。
 
- 
isDataAvailable
public boolean isDataAvailable(java.lang.String dataName) throws RealspaceException从接口复制的说明:RealspaceProvider三维数据是否可用。- 指定者:
 isDataAvailable在接口中RealspaceProvider- 覆盖:
 isDataAvailable在类中RealspaceProviderBase- 参数:
 dataName- 三维数据的名称。对应 SuperMap 三维场景中的三维图层的名称(LayerName)。- 返回:
 - 三维数据可用返回 true;否则返回 false。
 - 抛出:
 RealspaceException- 三维异常信息。
 
- 
isSecurityEnabled
public boolean isSecurityEnabled()
从接口复制的说明:RealspaceProvider是否启用安全机制。- 指定者:
 isSecurityEnabled在接口中RealspaceProvider- 覆盖:
 isSecurityEnabled在类中RealspaceProviderBase- 返回:
 - 安全机制启用则返回 true;否则返回 false。
 
 
 - 
 
 -