public enum GroupStrategy extends Enum<GroupStrategy>
| Enum Constant and Description |
|---|
CUSTOM
The intervals are defined in a custom manner and are not bound to any specific generation algorithm.
|
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.
|
FIXED
The intervals are fixed of an specific size and they don't depend on the underlying data.
|
| Modifier and Type | Method and Description |
|---|---|
static GroupStrategy |
getByName(String strategy) |
boolean |
isColumnTypeSupported(ColumnType ct)
Check if this strategy can be used with the specified column type.
|
static GroupStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupStrategy FIXED
public static final GroupStrategy DYNAMIC
public static final GroupStrategy CUSTOM
public static GroupStrategy[] values()
for (GroupStrategy c : GroupStrategy.values()) System.out.println(c);
public static GroupStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isColumnTypeSupported(ColumnType ct)
public static GroupStrategy getByName(String strategy)
Copyright © 2017–2019 JBoss by Red Hat. All rights reserved.