public enum QueryOption extends java.lang.Enum<QueryOption>
查询结果类型枚举类。
该类描述查询结果返回类型,包括只返回属性、只返回几何实体以及返回属性和几何实体。
枚举常量和说明 |
---|
ATTRIBUTE
属性类型,只返回地物的属性信息。
|
ATTRIBUTEANDGEOMETRY
属性和空间几何类型,返回地物的属性信息和空间几何信息。
|
GEOMETRY
空间几何类型,只返回地物的空间几何信息。
|
限定符和类型 | 方法和说明 |
---|---|
static QueryOption |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static QueryOption[] |
values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
|
public static final QueryOption ATTRIBUTE
属性类型,只返回地物的属性信息。
public static final QueryOption GEOMETRY
空间几何类型,只返回地物的空间几何信息。
public static final QueryOption ATTRIBUTEANDGEOMETRY
属性和空间几何类型,返回地物的属性信息和空间几何信息。
public static QueryOption[] values()
for (QueryOption c : QueryOption.values()) System.out.println(c);
public static QueryOption valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。