public class PageQuery extends AbstractModel
header, skipSign
Constructor and Description |
---|
PageQuery() |
PageQuery(PageQuery source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getDocumentSetId()
Get 文件id数组,表示要查询的文件的所有 ID,支持批量查询,数组元素范围[1,20]。
|
String[] |
getDocumentSetName()
Get 表示要查询的文档名称,支持批量查询,数组元素范围[1,20]。
|
String |
getFilter()
Get 使用创建 CollectionView 指定的 Filter 索引的字段设置查询过滤表达式。
|
Long |
getLimit()
Get 取值范围:[1,16384]
|
Long |
getOffset()
Get 设置分页偏移量,用于控制分页查询返回结果的起始位置,方便用户对数据进行分页展示和浏览。
取值:为 limit 整数倍。
计算公式:offset=limit*(page-1)。
例如:当 limit = 10,page = 2 时,分页偏移量 offset = 10 * (2 - 1) = 10,表示从查询结果的第 11 条记录开始返回数据。
|
String[] |
getOutputFields()
Get 设置后,其他字段为空值
|
void |
setDocumentSetId(String[] DocumentSetId)
Set 文件id数组,表示要查询的文件的所有 ID,支持批量查询,数组元素范围[1,20]。
|
void |
setDocumentSetName(String[] DocumentSetName)
Set 表示要查询的文档名称,支持批量查询,数组元素范围[1,20]。
|
void |
setFilter(String Filter)
Set 使用创建 CollectionView 指定的 Filter 索引的字段设置查询过滤表达式。
|
void |
setLimit(Long Limit)
Set 取值范围:[1,16384]
|
void |
setOffset(Long Offset)
Set 设置分页偏移量,用于控制分页查询返回结果的起始位置,方便用户对数据进行分页展示和浏览。
取值:为 limit 整数倍。
计算公式:offset=limit*(page-1)。
例如:当 limit = 10,page = 2 时,分页偏移量 offset = 10 * (2 - 1) = 10,表示从查询结果的第 11 条记录开始返回数据。
|
void |
setOutputFields(String[] OutputFields)
Set 设置后,其他字段为空值
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public PageQuery()
public PageQuery(PageQuery source)
public String[] getDocumentSetId()
public void setDocumentSetId(String[] DocumentSetId)
DocumentSetId
- 文件id数组,表示要查询的文件的所有 ID,支持批量查询,数组元素范围[1,20]。public String[] getDocumentSetName()
public void setDocumentSetName(String[] DocumentSetName)
DocumentSetName
- 表示要查询的文档名称,支持批量查询,数组元素范围[1,20]。public Long getLimit()
public void setLimit(Long Limit)
Limit
- 取值范围:[1,16384]public Long getOffset()
public void setOffset(Long Offset)
Offset
- 设置分页偏移量,用于控制分页查询返回结果的起始位置,方便用户对数据进行分页展示和浏览。
取值:为 limit 整数倍。
计算公式:offset=limit*(page-1)。
例如:当 limit = 10,page = 2 时,分页偏移量 offset = 10 * (2 - 1) = 10,表示从查询结果的第 11 条记录开始返回数据。public String[] getOutputFields()
public void setOutputFields(String[] OutputFields)
OutputFields
- 设置后,其他字段为空值public String getFilter()
public void setFilter(String Filter)
Filter
- 使用创建 CollectionView 指定的 Filter 索引的字段设置查询过滤表达式。Copyright © 2025. All rights reserved.