public static URL buildSidePathByLoadMode(String type, String operator, String suffix, String localSqlPluginPath, String remoteSqlPluginPath, String pluginLoadMode) throws Exception {
        if (StringUtils.equalsIgnoreCase(pluginLoadMode, EPluginLoadMode.CLASSPATH.name())) {
            return getRemoteSideJarFilePath(type, operator, suffix, remoteSqlPluginPath, localSqlPluginPath, pluginLoadMode);
        }
        return getLocalSideJarFilePath(type, operator, suffix, localSqlPluginPath, pluginLoadMode);
    }
Reason:
Date: 2018/6/27
Company: www.dtstack.com
@author xuchao
core/src/main/java/com/dtstack/flink/sql/util/PluginUtil.java