Class SimpleGroupEntry<T>

java.lang.Object
org.springframework.data.solr.core.query.result.SimpleGroupEntry<T>
Type Parameters:
T -
All Implemented Interfaces:
GroupEntry<T>

public class SimpleGroupEntry<T> extends Object implements GroupEntry<T>
Represents a group holding the group value and all beans belonging to the group.
Since:
1.4
  • Constructor Details

    • SimpleGroupEntry

      public SimpleGroupEntry(String groupValue, org.springframework.data.domain.Page<T> result)
  • Method Details

    • getGroupValue

      public String getGroupValue()
      Description copied from interface: GroupEntry
      Group name, the value on which the results were grouped by.
      Specified by:
      getGroupValue in interface GroupEntry<T>
      Returns:
    • getResult

      public org.springframework.data.domain.Page<T> getResult()
      Description copied from interface: GroupEntry
      Results for the current group.
      Specified by:
      getResult in interface GroupEntry<T>
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object