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.19.0
Show newest version
/*
 * Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
 */

package net.snowflake.client.loader;

import java.sql.Connection;
import java.util.Map;
import net.snowflake.client.log.SFLogger;
import net.snowflake.client.log.SFLoggerFactory;

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