public static void announceTypeDrop(UserType droppedType) { announceTypeDrop(droppedType, false); }
public static void announceTypeDrop(UserType droppedType) { announceTypeDrop(droppedType, false); }
public static void announceTypeDrop(UserType droppedType) { announceTypeDrop(droppedType, false); }
public static void announceTypeDrop(UserType droppedType) { announceTypeDrop(droppedType, false); }
public boolean announceMigration(boolean isLocalOnly) throws InvalidRequestException, ConfigurationException { KSMetaData ksm = Schema.instance.getKSMetaData(name.getKeyspace()); if (ksm == null) return false; // do not assert (otherwise IF EXISTS case fails) UserType toDrop = ksm.userTypes.getType(name.getUserTypeName()); // Can be null with ifExists if (toDrop == null) return false; MigrationManager.announceTypeDrop(toDrop, isLocalOnly); return true; } }
public Event.SchemaChange announceMigration(QueryState queryState, boolean isLocalOnly) throws InvalidRequestException, ConfigurationException { KeyspaceMetadata ksm = Schema.instance.getKSMetaData(name.getKeyspace()); if (ksm == null) return null; // do not assert (otherwise IF EXISTS case fails) UserType toDrop = ksm.types.getNullable(name.getUserTypeName()); // Can be null with ifExists if (toDrop == null) return null; MigrationManager.announceTypeDrop(toDrop, isLocalOnly); return new Event.SchemaChange(Event.SchemaChange.Change.DROPPED, Event.SchemaChange.Target.TYPE, keyspace(), name.getStringTypeName()); } }
MigrationManager.announceTypeDrop(ut); continue;
public Event.SchemaChange announceMigration(QueryState queryState, boolean isLocalOnly) throws InvalidRequestException, ConfigurationException { KeyspaceMetadata ksm = Schema.instance.getKSMetaData(name.getKeyspace()); if (ksm == null) return null; // do not assert (otherwise IF EXISTS case fails) UserType toDrop = ksm.types.getNullable(name.getUserTypeName()); // Can be null with ifExists if (toDrop == null) return null; MigrationManager.announceTypeDrop(toDrop, isLocalOnly); return new Event.SchemaChange(Event.SchemaChange.Change.DROPPED, Event.SchemaChange.Target.TYPE, keyspace(), name.getStringTypeName()); } }
public Event.SchemaChange announceMigration(QueryState queryState, boolean isLocalOnly) throws InvalidRequestException, ConfigurationException { KeyspaceMetadata ksm = Schema.instance.getKSMetaData(name.getKeyspace()); if (ksm == null) return null; // do not assert (otherwise IF EXISTS case fails) UserType toDrop = ksm.types.getNullable(name.getUserTypeName()); // Can be null with ifExists if (toDrop == null) return null; MigrationManager.announceTypeDrop(toDrop, isLocalOnly); return new Event.SchemaChange(Event.SchemaChange.Change.DROPPED, Event.SchemaChange.Target.TYPE, keyspace(), name.getStringTypeName()); } }
MigrationManager.announceTypeDrop(ut); continue;
MigrationManager.announceTypeDrop(ut); continue;
MigrationManager.announceTypeDrop(ut); continue;