Class HitList

java.lang.Object
com.yahoo.component.provider.FreezableClass
com.yahoo.component.provider.ListenableFreezableClass
All Implemented Interfaces:
com.yahoo.component.provider.Freezable, com.yahoo.component.provider.ListenableFreezable, com.yahoo.processing.response.Data, com.yahoo.processing.response.DataList<Hit>, Cloneable, Comparable<Hit>, Iterable<Hit>

public class HitList extends AbstractList
This class represents a labeled hit list in the grouping result model. It is contained in Group, and contains one or more hits itself, making this the parent of leaf nodes in the hierarchy of grouping results. Use the GroupingRequest.getResultGroup(Result) to retrieve grouping results.
Author:
Simon Thoresen Hult
  • Constructor Details

    • HitList

      public HitList(String label)
      Constructs a new instance of this class.
      Parameters:
      label - the label to assign to this