Interface TraceSearcher
public interface TraceSearcher
Allows searching for traces within the scope of the process function.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault SearchResultSearches in Hansken for Traces matching provided query, scoped to the image under extraction.default SearchResultSearches in Hansken for Traces matching provided query, scoped to the image under extraction.default SearchResultsearch(String query, int count, SearchOptions options) Searches in Hansken for Traces matching provided query.search(String query, int count, SearchScope scope, int start, List<SearchSortOption> sort) Searches in Hansken for Traces matching provided query.default SearchResultsearch(String query, SearchOptions options) Searches in Hansken for Traces matching provided query.
-
Field Details
-
ALL_SEARCH_RESULTS
static final int ALL_SEARCH_RESULTS- See Also:
-
-
Method Details
-
search
Searches in Hansken for Traces matching provided query, scoped to the image under extraction.- Parameters:
query- Search query to match traces. This is an HQL query.- Returns:
- SearchResult containing traces matching the provided query.
- Throws:
InterruptedException- if a thread searching for traces is interrupted.ExecutionException- if searching for traces is throws an exception.
-
search
default SearchResult search(String query, int count) throws InterruptedException, ExecutionException Searches in Hansken for Traces matching provided query, scoped to the image under extraction.- Parameters:
query- Search query to match traces. This is an HQL query.count- Maximum number of traces to return.- Returns:
- SearchResult containing traces matching the provided query.
- Throws:
InterruptedException- if a thread searching for traces is interrupted.ExecutionException- if searching for traces is throws an exception.
-
search
default SearchResult search(String query, SearchOptions options) throws InterruptedException, ExecutionException Searches in Hansken for Traces matching provided query.- Parameters:
query- Search query to match traces. This is an HQL query.options-SearchOptionsobject containing various search options.- Returns:
- SearchResult containing traces matching the provided query.
- Throws:
InterruptedException- if a thread searching for traces is interrupted.ExecutionException- if searching for traces is throws an exception.
-
search
default SearchResult search(String query, int count, SearchOptions options) throws InterruptedException, ExecutionException Searches in Hansken for Traces matching provided query.- Parameters:
query- Search query to match traces. This is an HQL query.count- Maximum number of traces to return.options-SearchOptionsobject containing various search options.- Returns:
- SearchResult containing traces matching the provided query.
- Throws:
InterruptedException- if a thread searching for traces is interrupted.ExecutionException- if searching for traces is throws an exception.
-
search
SearchResult search(String query, int count, SearchScope scope, int start, List<SearchSortOption> sort) throws InterruptedException, ExecutionException Searches in Hansken for Traces matching provided query.- Parameters:
query- Search query to match traces. This is an HQL query.count- Maximum number of traces to return.scope- Scope the search to image or project level.start- Starting index of traces.sort- Field to sort on.- Returns:
- SearchResult containing traces matching the provided query.
- Throws:
InterruptedException- if a thread searching for traces is interrupted.ExecutionException- if searching for traces is throws an exception.
-