java.lang.Object
org.springframework.data.elasticsearch.core.query.HighlightQuery

public class HighlightQuery extends Object
Combines a Highlight definition with the type of the entity where it's present on a method.
Since:
4.0
Author:
Peter-Josef Meisch
  • Constructor Details

    • HighlightQuery

      public HighlightQuery(Highlight highlight, @Nullable Class<?> type)
  • Method Details

    • getHighlight

      public Highlight getHighlight()
    • getType

      @Nullable public Class<?> getType()