public static enum CassandraProperties.Compression extends Enum<CassandraProperties.Compression>
Enum Constant and Description |
---|
LZ4
Requires 'net.jpountz.lz4:lz4'.
|
NONE
No compression.
|
SNAPPY
Requires org.xerial.snappy:snappy-java.
|
Modifier and Type | Method and Description |
---|---|
static CassandraProperties.Compression |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CassandraProperties.Compression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CassandraProperties.Compression LZ4
public static final CassandraProperties.Compression SNAPPY
public static final CassandraProperties.Compression NONE
public static CassandraProperties.Compression[] values()
for (CassandraProperties.Compression c : CassandraProperties.Compression.values()) System.out.println(c);
public static CassandraProperties.Compression 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 null