@Override
    public void fire(Connection conn, ResultSet oldRow, ResultSet newRow) throws SQLException {
        if (super.type == INSERT || super.type == UPDATE) {
            insertOrUpdate(conn, oldRow, newRow);
            return;
        } else if (super.type == DELETE) {
            delete(conn, oldRow, newRow);
            return;
        }
        throw new IllegalArgumentException("ApiPlanDiscoverabilityTrigger: Unexpected operation type " + super.type);
    }
Synchronize DiscoverabilityEntity materialized view when any ApiPlan with a DiscoverabilityLevel is inserted, updated, or deleted.

@author Marc Savy {@literal <marc@blackparrotlabs.io>}
manager/api/jpa/src/main/java/io/apiman/manager/api/jpa/h2/ApiPlanDiscoverabilityTrigger.java