@Nullable
    public SQLNativeExecutorDescriptor getExecutorDescriptor(@NotNull DBPDataSourceContainer container) {
        DBPDataSourceProviderDescriptor provider = container.getDriver().getProviderDescriptor();
        for (DBPDataSourceProviderDescriptor pd = provider; pd != null; pd = pd.getParentProvider()) {
            for (SQLNativeExecutorDescriptor executor : executors) {
                if (executor.getDataSourceId().equals(pd.getId())) {
                    return executor;
                }
            }
        }
        return null;
    }
Returns the first possible supported executor for datasource
plugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/actions/exec/SQLNativeExecutorRegistry.java