Interface SearchEngineClient.SearchResult<T,B,R>

Type Parameters:
T - the result type
B - the request builder type
R - the response type
Enclosing class:
SearchEngineClient

public static interface SearchEngineClient.SearchResult<T,B,R>
Interface for building search results from response data.
  • Method Summary

    Modifier and Type
    Method
    Description
    build(B requestBuilder, long execTime, org.dbflute.optional.OptionalEntity<R> response)
    Builds a result object from the request builder, execution time, and response.
  • Method Details

    • build

      T build(B requestBuilder, long execTime, org.dbflute.optional.OptionalEntity<R> response)
      Builds a result object from the request builder, execution time, and response.
      Parameters:
      requestBuilder - the request builder that was executed
      execTime - the execution time in milliseconds
      response - the optional response from the search engine
      Returns:
      the built result object