Class GroupingSpecification

  • public class GroupingSpecification
    extends Object
    Encapsulates the grouping options like fields group sort and more specified by clients.
    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Constructor Detail

      • GroupingSpecification

        public GroupingSpecification()
    • Method Detail

      • getFields

        public String[] getFields()
      • setFields

        public void setFields​(String[] fields)
      • getQueries

        public String[] getQueries()
      • setQueries

        public void setQueries​(String[] queries)
      • getFunctions

        public String[] getFunctions()
      • setFunctions

        public void setFunctions​(String[] functions)
      • isIncludeGroupCount

        public boolean isIncludeGroupCount()
      • setIncludeGroupCount

        public void setIncludeGroupCount​(boolean includeGroupCount)
      • isMain

        public boolean isMain()
      • setMain

        public void setMain​(boolean main)
      • setResponseFormat

        public void setResponseFormat​(Grouping.Format responseFormat)
      • isNeedScore

        public boolean isNeedScore()
      • setNeedScore

        public void setNeedScore​(boolean needScore)
      • isTruncateGroups

        public boolean isTruncateGroups()
      • setTruncateGroups

        public void setTruncateGroups​(boolean truncateGroups)
      • getGroupSortSpec

        public SortSpec getGroupSortSpec()
      • setGroupSortSpec

        public void setGroupSortSpec​(SortSpec groupSortSpec)
      • getWithinGroupSortSpec

        public SortSpec getWithinGroupSortSpec()
      • setWithinGroupSortSpec

        public void setWithinGroupSortSpec​(SortSpec withinGroupSortSpec)