T
- search result typeEC
- public interface Search<T extends EntityType<?>,EC extends Collection<T>> extends Serializable
Modifier and Type | Method and Description |
---|---|
EC |
getResult()
Executes a $search search and return the search results as collection.
|
String |
getSearch()
The $search expression for this search.
|
Search<T,EC> |
setSearch(String search)
Sets the $search expression for this search.
|
Search<T,EC> |
setSearch(URISearch search)
Sets the search generating the $search expression for this search.
|
Search<T,EC> setSearch(String search)
search
- the $search expression for this searchSearch<T,EC> setSearch(URISearch search)
search
- search instance (to be obtained via ODataSearchFactory): note that build() method
will be immediately invoked.String getSearch()
EC getResult()
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.