public enum CollocationModelType extends Enum<CollocationModelType>
| Enum Constant and Description |
|---|
PARTITIONED_COLLOCATED |
PARTITIONED_NOT_COLLOCATED |
REPLICATED |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCollocated() |
boolean |
isPartitioned() |
static CollocationModelType |
of(boolean partitioned,
boolean collocated) |
static CollocationModelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollocationModelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollocationModelType PARTITIONED_COLLOCATED
public static final CollocationModelType PARTITIONED_NOT_COLLOCATED
public static final CollocationModelType REPLICATED
public static CollocationModelType[] values()
for (CollocationModelType c : CollocationModelType.values()) System.out.println(c);
public static CollocationModelType 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 isPartitioned()
true If partitioned.public boolean isCollocated()
true If collocated.public static CollocationModelType of(boolean partitioned, boolean collocated)
partitioned - Partitioned.collocated - Collocated.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.17-p1 Release Date : November 27 2025