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

net.snowflake.client.loader.LoaderFactory Maven / Gradle / Ivy

There is a newer version: 3.18.0
Show newest version
/*
 * 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;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy