public class DataReturnOption
extends java.lang.Object
implements java.io.Serializable
返回结果参数设置类。
通过该类可以设置返回的最大记录。
限定符和类型 | 字段和说明 |
---|---|
DataReturnMode |
dataReturnMode
分析结果返回模式,默认为DataReturnMode.RECORDSET_ONLY
|
java.lang.String |
dataset
设置结果数据集名称,当 dataReturnMode 属性值不等于 DataReturnMode.RECORDSET_ONLY 时,该属性有效。
|
boolean |
deleteExistResultDataset
如果用户命名的结果数据集名称(dataset 属性值)与已有的数据集重名,是否覆盖已有的数据集。
|
int |
expectCount
获取或设置返回的最大记录数,小于或者等于0时表示返回所有记录集。
|
构造器和说明 |
---|
DataReturnOption() |
public DataReturnMode dataReturnMode
分析结果返回模式,默认为DataReturnMode.RECORDSET_ONLY
public java.lang.String dataset
设置结果数据集名称,当 dataReturnMode 属性值不等于 DataReturnMode.RECORDSET_ONLY 时,该属性有效。
public boolean deleteExistResultDataset
如果用户命名的结果数据集名称(dataset 属性值)与已有的数据集重名,是否覆盖已有的数据集。默认为 false,表示不覆盖,在这种情况下如果重名,系统内部会报错,返回“与已有数据集重名”的信息。
public int expectCount
获取或设置返回的最大记录数,小于或者等于0时表示返回所有记录集。默认值为0。