(self, meta)
| 200 | self._keyspace_removed(keyspace) |
| 201 | |
| 202 | def _update_table(self, meta): |
| 203 | try: |
| 204 | keyspace_meta = self.keyspaces[meta.keyspace_name] |
| 205 | # this is unfortunate, but protocol v4 does not differentiate |
| 206 | # between events for tables and views. <parser>.get_table will |
| 207 | # return one or the other based on the query results. |
| 208 | # Here we deal with that. |
| 209 | if isinstance(meta, TableMetadata): |
| 210 | keyspace_meta._add_table_metadata(meta) |
| 211 | else: |
| 212 | keyspace_meta._add_view_metadata(meta) |
| 213 | except KeyError: |
| 214 | # can happen if keyspace disappears while processing async event |
| 215 | pass |
| 216 | |
| 217 | def _drop_table(self, keyspace, table): |
| 218 | try: |
nothing calls this directly
no test coverage detected