Class GroupSpecifier

All Implemented Interfaces:
HasHandlers

public class GroupSpecifier extends DataClass
Class defining the details of a single group operation
  • Constructor Details

    • GroupSpecifier

      public GroupSpecifier(String property)
    • GroupSpecifier

      public GroupSpecifier(String property, String grouping)
    • GroupSpecifier

      public GroupSpecifier(JavaScriptObject jsObj)
  • Method Details

    • getOrCreateRef

      public static GroupSpecifier getOrCreateRef(JavaScriptObject jsObj)
    • setGrouping

      public void setGrouping(String grouping)
      The groupingMode to applied to associated field.
      Parameters:
      grouping - the groupingMode
    • getGrouping

      public String getGrouping()
      The groupingMode applied to the associated field.
      Returns:
      the groupingMode
    • setField

      public void setField(String field)
      The fieldName to which this groupSpecifier applies
      Parameters:
      field - the field name
    • getField

      public String getField()
      The fieldName to which this groupSpecifier applies
      Returns:
      the field name
    • convertToArray

      public static GroupSpecifier[] convertToArray(String groupByString)
    • convertToArray

      public static GroupSpecifier[] convertToArray(JavaScriptObject nativeArray)