hansken_extraction_plugin.api.trace_searcher

This module contains the definition of a trace searcher.

Classes

TraceSearcher()

This class can be used to search for traces, using the search method.

class TraceSearcher[source]

Bases: object

This class can be used to search for traces, using the search method.

abstract search(query: str, count: int) SearchResult[source]

Search for indexed traces in Hansken using provided query returning at most count results.

Parameters:
  • query – HQL-query used for searching

  • count – Maximum number of traces to return

Returns:

SearchResult containing found traces