public class SearchParameterBase
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
SearchParameterBase.DirLevel
目录级别
|
限定符和类型 | 字段和说明 |
---|---|
AggregationType[] |
aggregationTypes
是否同时执行聚合查询,有标签/资源类型聚合统计。
|
Rectangle2D |
boundingBox
查询的地理范围 说明:elasticsearch中只支持地理坐标,所以投影坐标要转换成地理坐标,再进行搜索。
|
CheckStatus[] |
checkStatuses
审核状态过滤
|
int |
currentPage
分页请求,页码
|
java.lang.String |
currentUserName
当前用户。
|
int[] |
departmentIds
部门id过滤。
|
DirFilterType |
dirFilterType
使用目录过滤资源时的方式
|
int[] |
dirIds
目录Ids, id = -1 代表是默认目录
|
SearchParameterBase.DirLevel |
dirLevel
过滤的目录级别(站点级目录 or 个人目录)
|
ResourceEntity.ResourceType[] |
excludedResourceTypes
当查询时全部资源(resourceType = null)时,指定排除的资源类型
|
int[] |
groupIds
群组id过滤。
|
boolean |
isAdmin
当前用户是否是管理员。
|
OrderBy |
orderBy
排序方式
|
SearchParameter.OrderType |
orderType
升序还是降序
|
int |
pageSize
每页大小
|
java.lang.String |
permissionType
权限类型,取值范围:[SEARCH|READ|DOWNLOAD|READWRITE|DELETE],指查询某权限及以上权限的资源。
|
ResourceEntity.ResourceType |
resourceType
过滤某类资源
|
java.lang.String[] |
tags
标签过滤
|
java.lang.String |
text
进行全文检索的文本
|
int[] |
unhostingServiceRootUrlIds
被取消批量注册的 服务根地址 ID 列表
|
构造器和说明 |
---|
SearchParameterBase() |
public java.lang.String text
public int currentPage
public int pageSize
public Rectangle2D boundingBox
public java.lang.String currentUserName
public java.lang.String[] tags
public ResourceEntity.ResourceType resourceType
public ResourceEntity.ResourceType[] excludedResourceTypes
public int[] groupIds
public int[] departmentIds
public AggregationType[] aggregationTypes
public OrderBy orderBy
public int[] dirIds
public DirFilterType dirFilterType
public SearchParameterBase.DirLevel dirLevel
public int[] unhostingServiceRootUrlIds
public SearchParameter.OrderType orderType
public CheckStatus[] checkStatuses
public java.lang.String permissionType
public boolean isAdmin