Class SchemaKeyspace


  • @NotThreadSafe
    public final class SchemaKeyspace
    extends java.lang.Object
    system_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 of SchemaUpdateHandler in synchronized blocks.
    • Method Detail

      • 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()