Class ValueGroupId<T>

java.lang.Object
com.yahoo.search.grouping.result.GroupId
com.yahoo.search.grouping.result.ValueGroupId<T>
Direct Known Subclasses:
BoolId, DoubleId, LongId, RawId, StringId

public abstract class ValueGroupId<T> extends GroupId
This abstract class is used in Group instances where the identifying expression evaluated to a singe value.
Author:
Simon Thoresen Hult
  • Constructor Details

    • ValueGroupId

      public ValueGroupId(String type, T value)
      Constructs a new instance of this class.
      Parameters:
      type - the type of this id's value
      value - the identifying value
    • ValueGroupId

      public ValueGroupId(String type, T value, String valueImage)
      Constructs a new instance of this class.
      Parameters:
      type - the type of this id's value
      value - the identifying value
      valueImage - the String representation of the value argument
  • Method Details

    • getValue

      public T getValue()
      Returns the identifying value.