Enum GroupStrategy

    • Enum Constant Detail

      • FIXED

        public static final GroupStrategy FIXED
        The intervals are fixed of an specific size and they don't depend on the underlying data.
      • DYNAMIC

        public static final GroupStrategy DYNAMIC
        The intervals depends on the underlying data plus some additional criteria such as the minimum interval size or the maximum number of intervals allowed.
      • CUSTOM

        public static final GroupStrategy CUSTOM
        The intervals are defined in a custom manner and are not bound to any specific generation algorithm.
    • Method Detail

      • values

        public static GroupStrategy[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (GroupStrategy c : GroupStrategy.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GroupStrategy valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isColumnTypeSupported

        public boolean isColumnTypeSupported​(ColumnType ct)
        Check if this strategy can be used with the specified column type.