net.snowflake.client.loader.LoaderFactory Maven / Gradle / Ivy
/*
* Copyright (c) 2012-2018 Snowflake Computing Inc. All rights reserved.
*/
package net.snowflake.client.loader;
import net.snowflake.client.log.SFLoggerFactory;
import net.snowflake.client.log.SFLogger;
import java.sql.Connection;
import java.util.Map;
public class LoaderFactory
{
private static final SFLogger LOGGER = SFLoggerFactory.getLogger(
LoaderFactory.class);
public static Loader createLoader(Map properties,
Connection uploadConnection,
Connection processingConnection)
{
LOGGER.debug("");
StreamLoader loader = new StreamLoader(properties, uploadConnection,
processingConnection);
return loader;
}
}