public class SqlUtilities
extends java.lang.Object
构造器和说明 |
---|
SqlUtilities() |
限定符和类型 | 方法和说明 |
---|---|
static java.util.ArrayList<java.lang.Object> |
getAllValue(com.supermap.data.DatasetVector datasetVector, java.lang.String fieldName)
获取唯一值
|
static java.lang.String |
getSqlDatasetName(com.supermap.data.DatasetVector datasetVector)
获取sql查询时使用的数据集名称,postGis数据集查询时需要加引号
|
static java.lang.String |
getSqlFieldName(com.supermap.data.DatasetVector datasetVector, java.lang.String fieldName)
获取sql查询时使用的字段名称,postGis数据集查询时需要加引号
|
public static java.util.ArrayList<java.lang.Object> getAllValue(com.supermap.data.DatasetVector datasetVector, java.lang.String fieldName)
datasetVector
- 数据集fieldName
- 字段名称public static java.lang.String getSqlDatasetName(com.supermap.data.DatasetVector datasetVector)
datasetVector
- 数据集public static java.lang.String getSqlFieldName(com.supermap.data.DatasetVector datasetVector, java.lang.String fieldName)
datasetVector
- 数据集fieldName
- 字段名