Class HitList

  • All Implemented Interfaces:
    com.yahoo.component.provider.Freezable, com.yahoo.component.provider.ListenableFreezable, com.yahoo.processing.response.Data, com.yahoo.processing.response.DataList<Hit>, java.lang.Cloneable, java.lang.Comparable<Hit>, java.lang.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 Detail

      • HitList

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