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:SearchSets the $search expression for this search.
Any of available operators and functions can be embodied here.- Specified by:
setSearchin 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:SearchSets the search generating the $search expression for this search.- Specified by:
setSearchin 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:SearchThe $search expression for this search.- Specified by:
getSearchin interfaceSearch<T extends EntityType<?>,EC extends EntityCollection<T, ?, ?>> - Returns:
- the $search expression for this search
-
getResult
Description copied from interface:SearchExecutes a $search search and return the search results as collection.- Specified by:
getResultin interfaceSearch<T extends EntityType<?>,EC extends EntityCollection<T, ?, ?>> - Returns:
- an iterable view of the results
-