Interface ISearchService
This interface contains properties and methods required for Search Service.
Namespace:
Assembly: Alachisoft.NCache.Client.dll
Syntax
public interface ISearchService
Methods
Name | Description |
---|---|
Execute |
Executes Delete statements on ICache. Returns number of affected rows after query is executed. |
Execute |
Performs search on the ICache based on the query specified. Returns list of key-value pairs in a data reader which fulfills the query criteria. This key-value pair has cache key and its respective value. You can specify the flag for specifying if you want data with keys. |
Execute |
Executes the query, and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored. |
GetByTag<T>(Tag) | Gets all the cached items with the specified tag. |
GetByTag<T>(String) | Gets all the cached objects with the specified tag. |
GetByTags<T>(IEnumerable<Tag>, TagSearchOptions) | Returns the cached objects that have tags with specified Tag |
GetGroupData<T>(String) | Retrieves the key and value pairs of the specified group. |
Get |
Retrieves the keys of the items in the specified group. |
Get |
Gets all keys of the objects with the specified tag. |
Get |
Gets all the keys with the wild card supported tag. |
GetKeysByTags(IEnumerable<Tag>, TagSearchOptions) | Returns keys of the cached items that have tags with specified Tag |
Remove |
Removes the cached objects with the specified tag. |
RemoveByTags(IEnumerable<Tag>, TagSearchOptions) | Removes the cached objects that have tags with specified Tag |
Remove |
Remove the data items pertaining to the specified group from cache. |