Class SchemaKeyspaceTables


  • public class SchemaKeyspaceTables
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String AGGREGATES  
      static com.google.common.collect.ImmutableList<java.lang.String> ALL
      The order in this list matters.
      static java.lang.String COLUMN_MASKS  
      static java.lang.String COLUMNS  
      static java.lang.String DROPPED_COLUMNS  
      static java.lang.String FUNCTIONS  
      static java.lang.String INDEXES  
      static java.lang.String KEYSPACES  
      static java.lang.String TABLES  
      static java.lang.String TRIGGERS  
      static java.lang.String TYPES  
      static java.lang.String VIEWS  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ALL

        public static final com.google.common.collect.ImmutableList<java.lang.String> ALL
        The order in this list matters. When flushing schema tables, we want to flush them in a way that mitigates the effects of an abrupt shutdown whilst the tables are being flushed. On startup, we load the schema from disk before replaying the CL, so we need to try to avoid problems like reading a table without columns or types, for example. So columns and types should be flushed before tables, which should be flushed before keyspaces. When truncating, the order should be reversed. For immutable lists this is an efficient operation that simply iterates in reverse order. See CASSANDRA-12213 for more details.
    • Constructor Detail

      • SchemaKeyspaceTables

        public SchemaKeyspaceTables()