Class GroupId

  • Direct Known Subclasses:
    BucketGroupId, NullId, RootId, ValueGroupId

    public abstract class GroupId
    extends java.lang.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 Summary

      Constructors 
      Modifier Constructor Description
      protected GroupId​(java.lang.String type, java.lang.Object... args)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getTypeName()
      Returns the type name of this group id.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GroupId

        protected GroupId​(java.lang.String type,
                          java.lang.Object... args)
    • Method Detail

      • getTypeName

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object