com.supermap.data.processing
类 StorageType

java.lang.Object
  继承者 com.supermap.data.Enum
      继承者 com.supermap.data.processing.StorageType

public final class StorageType
extends Enum

该类定义了缓存切片文件的存储类型常量。


字段摘要
static StorageType Compact
          紧凑型,即大文件缓存格式。
static StorageType GPKG
          GPKG缓存格式。
static StorageType MongoDB
          MongoDB缓存格式。
static StorageType Original
          原始型,即切片文件存储为原始图片格式,表现为多文件夹下的裸露图片。
static StorageType Single
          Single缓存格式。
 
方法摘要
 
从类 com.supermap.data.Enum 继承的方法
equals, getEnums, getNameByValue, getNames, getPredefineValues, getValueByName, getValues, hashCode, isDefined, isDefined, name, parse, parse, toString, value
 
从类 java.lang.Object 继承的方法
getClass, notify, notifyAll, wait, wait, wait
 

字段详细信息

Original

public static final StorageType Original
原始型,即切片文件存储为原始图片格式,表现为多文件夹下的裸露图片。


Compact

public static final StorageType Compact
紧凑型,即大文件缓存格式。此时,原本裸露的切片文件将进行紧凑存储,表现为紧凑文件格式。

若使用该类型,则可以为缓存设置密码,即各类型缓存生成类的 setPassword() 方法可以起作用,而 StorageType.Original 时,setPassword() 方法是无效的。


Single

public static final StorageType Single
Single缓存格式。


MongoDB

public static final StorageType MongoDB
MongoDB缓存格式。


GPKG

public static final StorageType GPKG
GPKG缓存格式。