Skip to main content
Version: Version 5 beta

Class: abstract SearchStrategy<T, K>

Represents an abstract search strategy template for executing search operations.

Extended by

Type Parameters

T

The type of parameters used for the search operation.

K

The type of result returned by the search operation.

Constructors

new SearchStrategy()

new SearchStrategy<T, K>(): SearchStrategy<T, K>

Returns

SearchStrategy<T, K>

Properties

document

document: Document

The Pdf.Document instance associated with this search strategy.

Methods

execute()

execute(params): SearchExecution<K>

Executes the search strategy asynchronously.

Parameters

params: T

The parameters for the search operation.

Returns

SearchExecution<K>

A SearchExecution object representing the ongoing search operation.