| Package | Description | 
|---|---|
| org.apache.cassandra.config | |
| org.apache.cassandra.db.view | |
| org.apache.cassandra.schema | |
| org.apache.cassandra.service | 
| Modifier and Type | Method and Description | 
|---|---|
| ViewDefinition | ViewDefinition. copy() | 
| ViewDefinition | Schema. getView(java.lang.String keyspaceName,
       java.lang.String viewName) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Schema. addView(ViewDefinition view) | 
| void | Schema. load(ViewDefinition view)Load individual View Definition to the schema
 (to make View lookup faster) | 
| void | Schema. updateView(ViewDefinition view) | 
| Constructor and Description | 
|---|
| ViewDefinition(ViewDefinition def) | 
| Modifier and Type | Method and Description | 
|---|---|
| ViewDefinition | View. getDefinition() | 
| Modifier and Type | Method and Description | 
|---|---|
| static java.lang.Iterable<ViewDefinition> | View. findAll(java.lang.String keyspace,
       java.lang.String baseTable) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ViewManager. addView(ViewDefinition definition) | 
| void | View. updateDefinition(ViewDefinition definition)This updates the columns stored which are dependent on the base CFMetaData. | 
| Constructor and Description | 
|---|
| View(ViewDefinition definition,
    ColumnFamilyStore baseCfs) | 
| Modifier and Type | Method and Description | 
|---|---|
| ViewDefinition | Views. getNullable(java.lang.String name)Get the view with the specified name | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Optional<ViewDefinition> | Views. get(java.lang.String name)Get the materialized view with the specified name | 
| java.util.Iterator<ViewDefinition> | Views. iterator() | 
| Modifier and Type | Method and Description | 
|---|---|
| Views.Builder | Views.Builder. add(ViewDefinition view) | 
| static Mutation.SimpleBuilder | SchemaKeyspace. makeCreateViewMutation(KeyspaceMetadata keyspace,
                      ViewDefinition view,
                      long timestamp) | 
| static Mutation.SimpleBuilder | SchemaKeyspace. makeDropViewMutation(KeyspaceMetadata keyspace,
                    ViewDefinition view,
                    long timestamp) | 
| static Mutation.SimpleBuilder | SchemaKeyspace. makeUpdateViewMutation(Mutation.SimpleBuilder builder,
                      ViewDefinition oldView,
                      ViewDefinition newView) | 
| Views | Views. replace(ViewDefinition view,
       CFMetaData cfm)Creates a MaterializedViews instance which contains an updated materialized view | 
| Views | Views. with(ViewDefinition view)Create a MaterializedViews instance with the provided materialized view added | 
| Modifier and Type | Method and Description | 
|---|---|
| Views.Builder | Views.Builder. add(java.lang.Iterable<ViewDefinition> views) | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | MigrationManager. announceNewView(ViewDefinition view,
               boolean announceLocally) | 
| static void | MigrationManager. announceViewUpdate(ViewDefinition view,
                  boolean announceLocally) | 
| void | MigrationManager. notifyCreateView(ViewDefinition view) | 
| void | MigrationManager. notifyDropView(ViewDefinition view) | 
| void | MigrationManager. notifyUpdateView(ViewDefinition view,
                boolean columnsDidChange) | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | MigrationManager. announceColumnFamilyUpdate(CFMetaData cfm,
                          java.util.Collection<ViewDefinition> views,
                          boolean announceLocally) | 
Copyright © 2018 The Apache Software Foundation