public static enum ColumnDefinition.Kind extends java.lang.Enum<ColumnDefinition.Kind>
Enum Constant and Description |
---|
CLUSTERING |
PARTITION_KEY |
REGULAR |
STATIC |
Modifier and Type | Method and Description |
---|---|
boolean |
isPrimaryKeyKind() |
static ColumnDefinition.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColumnDefinition.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnDefinition.Kind PARTITION_KEY
public static final ColumnDefinition.Kind CLUSTERING
public static final ColumnDefinition.Kind REGULAR
public static final ColumnDefinition.Kind STATIC
public static ColumnDefinition.Kind[] values()
for (ColumnDefinition.Kind c : ColumnDefinition.Kind.values()) System.out.println(c);
public static ColumnDefinition.Kind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isPrimaryKeyKind()
Copyright © 2019 The Apache Software Foundation