public static enum ColumnMetadata.Kind extends java.lang.Enum<ColumnMetadata.Kind>
Enum Constant and Description |
---|
CLUSTERING |
PARTITION_KEY |
REGULAR |
STATIC |
Modifier and Type | Method and Description |
---|---|
boolean |
isPrimaryKeyKind() |
static ColumnMetadata.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColumnMetadata.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnMetadata.Kind PARTITION_KEY
public static final ColumnMetadata.Kind CLUSTERING
public static final ColumnMetadata.Kind REGULAR
public static final ColumnMetadata.Kind STATIC
public static ColumnMetadata.Kind[] values()
for (ColumnMetadata.Kind c : ColumnMetadata.Kind.values()) System.out.println(c);
public static ColumnMetadata.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 © 2009-2021 The Apache Software Foundation