Interface SearchRequest
- All Known Implementing Classes:
AbstractSearchRequest
,PathSearchRequest
public interface SearchRequest
can be used to build queries from REST requests, use a
SearchRequest.Builder
to create the request and
RestSearchService
to execute it-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdditionalCondition
(Condition condition) getBase()
getLimit()
getPaths()
getSort()
boolean
If set to true, the request returns the key path only and the whole result set without pagingvoid
setAllKeys
(boolean allKeys) void
setBase
(SearchRequest.Base base) void
void
void
setPaths
(@Nullable RequestedPaths paths) void
-
Method Details
-
getBase
SearchRequest.Base getBase() -
setBase
-
getOffset
-
setOffset
-
getLimit
-
setLimit
-
getSort
-
setPaths
-
getPaths
Optional<RequestedPaths> getPaths() -
setSort
-
getQueryParameters
-
getAdditionalConditions
-
addAdditionalCondition
-
createEntityBeanListFactory
EntityBeanListFactory createEntityBeanListFactory() -
setAllKeys
void setAllKeys(boolean allKeys) -
isAllKeys
boolean isAllKeys()If set to true, the request returns the key path only and the whole result set without paging
-