Interface SearchEngineClient.EntityCreator<T,R,H>

Type Parameters:
T - the entity type
R - the response type
H - the hit type
Enclosing class:
SearchEngineClient

public static interface SearchEngineClient.EntityCreator<T,R,H>
Interface for creating entities from search response hits.
  • Method Summary

    Modifier and Type
    Method
    Description
    build(R response, H hit)
    Creates an entity from a search response and hit.
  • Method Details

    • build

      T build(R response, H hit)
      Creates an entity from a search response and hit.
      Parameters:
      response - the search response
      hit - the individual search hit
      Returns:
      the created entity