Class SearchImpl<T extends EntityType<?>,EC extends EntityCollection<T,?,?>>
java.lang.Object
org.apache.olingo.ext.proxy.commons.SearchImpl<T,EC>
- All Implemented Interfaces:
Serializable
,Search<T,
EC>
public class SearchImpl<T extends EntityType<?>,EC extends EntityCollection<T,?,?>>
extends Object
implements Search<T,EC>
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionExecutes a $search search and return the search results as collection.The $search expression for this search.Sets the $search expression for this search.Sets the search generating the $search expression for this search.
-
Method Details
-
setSearch
Description copied from interface:Search
Sets the $search expression for this search.
Any of available operators and functions can be embodied here.- Specified by:
setSearch
in interfaceSearch<T extends EntityType<?>,
EC extends EntityCollection<T, ?, ?>> - Parameters:
search
- the $search expression for this search- Returns:
- the same search instance
-
setSearch
Description copied from interface:Search
Sets the search generating the $search expression for this search.- Specified by:
setSearch
in interfaceSearch<T extends EntityType<?>,
EC extends EntityCollection<T, ?, ?>> - Parameters:
search
- search instance (to be obtained via ODataSearchFactory): note that build() method will be immediately invoked.- Returns:
- the same search instance
-
getSearch
Description copied from interface:Search
The $search expression for this search.- Specified by:
getSearch
in interfaceSearch<T extends EntityType<?>,
EC extends EntityCollection<T, ?, ?>> - Returns:
- the $search expression for this search
-
getResult
Description copied from interface:Search
Executes a $search search and return the search results as collection.- Specified by:
getResult
in interfaceSearch<T extends EntityType<?>,
EC extends EntityCollection<T, ?, ?>> - Returns:
- an iterable view of the results
-