Class GroupingListHit

java.lang.Object
com.yahoo.component.provider.FreezableClass
com.yahoo.component.provider.ListenableFreezableClass
com.yahoo.search.result.Hit
com.yahoo.prelude.fastsearch.GroupingListHit
All Implemented Interfaces:
com.yahoo.component.provider.Freezable, com.yahoo.component.provider.ListenableFreezable, com.yahoo.processing.response.Data, Cloneable, Comparable<Hit>

public class GroupingListHit extends Hit
  • Constructor Details

    • GroupingListHit

      public GroupingListHit(List<com.yahoo.searchlib.aggregation.Grouping> groupingList)
      for unit tests only, may give problems if grouping contains docsums
    • GroupingListHit

      public GroupingListHit(List<com.yahoo.searchlib.aggregation.Grouping> groupingList, DocsumDefinitionSet defs)
  • Method Details

    • isMeta

      public boolean isMeta()
      Description copied from class: Hit
      Returns whether this is a concrete hit, containing content of the requested kind, or a meta hit containing information on the collection of hits, the query, the service and so on. This default implementation return false.
      Overrides:
      isMeta in class Hit
    • getGroupingList

      public List<com.yahoo.searchlib.aggregation.Grouping> getGroupingList()
    • getDocsumDefinitionSet

      public DocsumDefinitionSet getDocsumDefinitionSet()