public enum CLevel extends Enum<CLevel> implements CLevelInterface
AbstractCassandraStoreManager.| Enum Constant and Description |
|---|
ALL |
ANY |
EACH_QUORUM |
LOCAL_QUORUM |
ONE |
QUORUM |
THREE |
TWO |
| Modifier and Type | Method and Description |
|---|---|
com.netflix.astyanax.model.ConsistencyLevel |
getAstyanax() |
org.apache.cassandra.db.ConsistencyLevel |
getDB() |
org.apache.cassandra.thrift.ConsistencyLevel |
getThrift() |
static CLevel |
parse(String value) |
static CLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLevel ANY
public static final CLevel ONE
public static final CLevel TWO
public static final CLevel THREE
public static final CLevel QUORUM
public static final CLevel ALL
public static final CLevel LOCAL_QUORUM
public static final CLevel EACH_QUORUM
public static CLevel[] values()
for (CLevel c : CLevel.values()) System.out.println(c);
public static CLevel 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 org.apache.cassandra.db.ConsistencyLevel getDB()
getDB in interface CLevelInterfacepublic org.apache.cassandra.thrift.ConsistencyLevel getThrift()
getThrift in interface CLevelInterfacepublic com.netflix.astyanax.model.ConsistencyLevel getAstyanax()
getAstyanax in interface CLevelInterfaceCopyright © 2012–2016. All rights reserved.