Uses of Class
net.snowflake.hivemetastoreconnector.SnowflakeConf
-
Packages that use SnowflakeConf Package Description net.snowflake.hivemetastoreconnector.commands net.snowflake.hivemetastoreconnector.core net.snowflake.hivemetastoreconnector.util -
-
Uses of SnowflakeConf in net.snowflake.hivemetastoreconnector.commands
Methods in net.snowflake.hivemetastoreconnector.commands with parameters of type SnowflakeConf Modifier and Type Method Description static StringCreateExternalTable. generateColumnStr(org.apache.hadoop.hive.metastore.api.FieldSchema columnSchema, int columnPosition, HiveToSnowflakeType.SnowflakeFileFormatType snowflakeFileFormatType, SnowflakeConf snowflakeConf)Generate the string for a column to be used in the querystatic StringCreateExternalTable. generateStageName(org.apache.hadoop.hive.metastore.api.Table hiveTable, SnowflakeConf snowflakeConf)Helper method to generate a stage name for newly created stages.Constructors in net.snowflake.hivemetastoreconnector.commands with parameters of type SnowflakeConf Constructor Description AddPartition(org.apache.hadoop.hive.metastore.api.Table hiveTable, Iterator<org.apache.hadoop.hive.metastore.api.Partition> partitionsIterator, SnowflakeConf snowflakeConf, org.apache.hadoop.conf.Configuration hiveConf, boolean isCompact)Creates an AddPartition command without an eventAddPartition(org.apache.hadoop.hive.metastore.events.AddPartitionEvent addPartitionEvent, SnowflakeConf snowflakeConf)Creates an AddPartition commandAddPartition(org.apache.hadoop.hive.metastore.events.AlterPartitionEvent alterPartitionEvent, SnowflakeConf snowflakeConf)Creates an AddPartition commandAlterExternalTable(org.apache.hadoop.hive.metastore.events.AlterTableEvent alterTableEvent, SnowflakeConf snowflakeConf)Creates a AlterTable commandCreateExternalTable(org.apache.hadoop.hive.metastore.api.Table hiveTable, SnowflakeConf snowflakeConf, org.apache.hadoop.conf.Configuration hiveConf, boolean canReplace)Creates a CreateExternalTable command, without an eventCreateExternalTable(org.apache.hadoop.hive.metastore.events.CreateTableEvent createTableEvent, SnowflakeConf snowflakeConf)Creates a CreateExternalTable commandDropExternalTable(org.apache.hadoop.hive.metastore.events.DropTableEvent dropTableEvent, SnowflakeConf snowflakeConf)Creates a DropExternalTable command -
Uses of SnowflakeConf in net.snowflake.hivemetastoreconnector.core
Methods in net.snowflake.hivemetastoreconnector.core with parameters of type SnowflakeConf Modifier and Type Method Description static voidSnowflakeClient. createAndExecuteCommandForSnowflake(org.apache.hadoop.hive.metastore.events.ListenerEvent event, SnowflakeConf snowflakeConf)Creates and executes an event for snowflake.static ResultSetSnowflakeClient. executeStatement(Connection connection, String commandStr, SnowflakeConf snowflakeConf)(Deprecated) Utility method to connect to Snowflake and execute a query.static voidSnowflakeClient. executeStatements(List<String> commandList, SnowflakeConf snowflakeConf, String schema)Helper method to connect to Snowflake and execute a list of queriesstatic voidSnowflakeClient. generateAndExecuteSnowflakeStatements(Command command, SnowflakeConf snowflakeConf)Helper method.static CommandCommandGenerator. getCommand(org.apache.hadoop.hive.metastore.events.ListenerEvent event, SnowflakeConf snowflakeConf)Creates a command based on the arguments Defers the actual creation to subclassesstatic ConnectionSnowflakeClient. getConnection(SnowflakeConf snowflakeConf, String schema)Get the connection to the Snowflake account.static <T,E extends Throwable>
TSnowflakeClient. retry(SnowflakeClient.ThrowableSupplier<T,E> method, SnowflakeConf snowflakeConf)Helper method for simple retries.Constructors in net.snowflake.hivemetastoreconnector.core with parameters of type SnowflakeConf Constructor Description Scheduler(int threadPoolCount, SnowflakeConf snowflakeConf)Constructor for the scheduler -
Uses of SnowflakeConf in net.snowflake.hivemetastoreconnector.util
Methods in net.snowflake.hivemetastoreconnector.util with parameters of type SnowflakeConf Modifier and Type Method Description static StringHiveToSnowflakeSchema. getSnowflakeDefaultSchema(SnowflakeConf snowflakeConf)static StringHiveToSnowflakeSchema. getSnowflakeSchemaFromHiveSchema(String hiveSchema, SnowflakeConf snowflakeConf)static Set<String>HiveToSnowflakeSchema. getSnowflakeSchemaSet(SnowflakeConf snowflakeConf)
-