All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.newrelic.agent.bridge.datastore.DatabaseVendor Maven / Gradle / Ivy

The newest version!
/*
 *
 *  * Copyright 2020 New Relic Corporation. All rights reserved.
 *  * SPDX-License-Identifier: Apache-2.0
 *
 */

package com.newrelic.agent.bridge.datastore;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Collection;

public interface DatabaseVendor {

    String getName();

    String getType();

    boolean isExplainPlanSupported();

    String getExplainPlanSql(String sql) throws SQLException;

    Collection> parseExplainPlanResultSet(int columnCount, ResultSet rs, RecordSql recordSql)
            throws SQLException;

    String getExplainPlanFormat();

    DatastoreVendor getDatastoreVendor();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy