Class GroupId

java.lang.Object
com.yahoo.search.grouping.result.GroupId
Direct Known Subclasses:
BucketGroupId, NullId, RootId, ValueGroupId

public abstract class GroupId extends Object
This abstract class represents the id of a single group in the grouping result model. A subclass corresponding to the evaluation result of generating GroupingExpression is contained in all Group objects. It is used by GroupingRequest to identify its root result group, and by all client code for identifying groups.

The toString() method of this class generates a URI-compatible string on the form "group:<typeName>:<subclassSpecific>".

Author:
Simon Thoresen Hult
  • Constructor Details

  • Method Details

    • getTypeName

      public String getTypeName()
      Returns the type name of this group id. This is the second part of the toString() value of this.
    • toString

      public String toString()
      Overrides:
      toString in class Object