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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalCondition(Condition condition) getBase()getLimit()getPaths()getSort()booleanIf set to true, the request returns the key path only and the whole result set without pagingvoidsetAllKeys(boolean allKeys) voidsetBase(SearchRequest.Base base) voidvoidvoidsetPaths(@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
-