Package org.apache.cassandra.schema
Class MemtableParams
- java.lang.Object
-
- org.apache.cassandra.schema.MemtableParams
-
public final class MemtableParams extends java.lang.ObjectMemtable types and options are specified with these parameters. Memtable classes must either contain a staticFACTORYfield (if they take no arguments other than class), or implement afactory(Map<String, String>)method. The latter should consume any further options (usingmap.remove). See Memtable_API.md for further details on the configuration and usage of memtable implementations.
-
-
Field Summary
Fields Modifier and Type Field Description static MemtableParamsDEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringconfigurationKey()booleanequals(java.lang.Object o)Memtable.Factoryfactory()static MemtableParamsget(java.lang.String key)static MemtableParamsgetWithFallback(java.lang.String key)inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
DEFAULT
public static final MemtableParams DEFAULT
-
-
Method Detail
-
configurationKey
public java.lang.String configurationKey()
-
factory
public Memtable.Factory factory()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
get
public static MemtableParams get(java.lang.String key)
-
getWithFallback
public static MemtableParams getWithFallback(java.lang.String key)
-
-