Package org.apache.cassandra.schema
Class SchemaKeyspace
- java.lang.Object
-
- org.apache.cassandra.schema.SchemaKeyspace
-
@NotThreadSafe public final class SchemaKeyspace extends java.lang.Objectsystem_schema.* tables and methods for manipulating them. Please notice this class is _not_ thread safe and all methods which reads or updates the data in schema keyspace should be accessed only from the implementation ofSchemaUpdateHandlerin synchronized blocks.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.UUIDcalculateSchemaDigest()Read schema from system keyspace and calculate MD5 digest of every row, resulting digest will be converted into UUID which would act as content-based version of the schema.static KeyspacesfetchNonSystemKeyspaces()static KeyspaceMetadatametadata()
-
-
-
Method Detail
-
metadata
public static KeyspaceMetadata metadata()
-
calculateSchemaDigest
public static java.util.UUID calculateSchemaDigest()
Read schema from system keyspace and calculate MD5 digest of every row, resulting digest will be converted into UUID which would act as content-based version of the schema.
-
fetchNonSystemKeyspaces
public static Keyspaces fetchNonSystemKeyspaces()
-
-