public static enum CellValidator.Kind extends Enum<CellValidator.Kind>
| Enum Constant and Description |
|---|
LIST |
MAP |
NOT_A_COLLECTION |
SET |
| Modifier and Type | Method and Description |
|---|---|
static <T> CellValidator.Kind |
objectToKind(T object)
Returns the Kind associated to the provided object instance.
|
static CellValidator.Kind |
validatorClassToKind(Class<? extends org.apache.cassandra.db.marshal.AbstractType> type)
Returns the Kind associated to the provided Cassandra validator class.
|
static CellValidator.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CellValidator.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CellValidator.Kind MAP
public static final CellValidator.Kind SET
public static final CellValidator.Kind LIST
public static final CellValidator.Kind NOT_A_COLLECTION
public static CellValidator.Kind[] values()
for (CellValidator.Kind c : CellValidator.Kind.values()) System.out.println(c);
public static CellValidator.Kind 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 static CellValidator.Kind validatorClassToKind(Class<? extends org.apache.cassandra.db.marshal.AbstractType> type)
To be more specific, returns:
type - the marshaller Class object.public static <T> CellValidator.Kind objectToKind(T object)
To be more specific, returns:
T - the generic type of the provided object instance.object - an object instance.Copyright © 2014. All rights reserved.