Class SnowflakeConf

  • All Implemented Interfaces:
    Iterable<Map.Entry<String,​String>>, org.apache.hadoop.io.Writable

    public class SnowflakeConf
    extends org.apache.hadoop.conf.Configuration
    The configuration for the Snowflake Hive metastore listener, which is stored in snowflake-config.xml
    Author:
    xma
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SnowflakeConf.ConfVars  
      • Nested classes/interfaces inherited from class org.apache.hadoop.conf.Configuration

        org.apache.hadoop.conf.Configuration.DeprecationDelta, org.apache.hadoop.conf.Configuration.IntegerRanges
    • Constructor Summary

      Constructors 
      Constructor Description
      SnowflakeConf()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getSecret​(String name)
      Convenience method.
      • Methods inherited from class org.apache.hadoop.conf.Configuration

        addDefaultResource, addDeprecation, addDeprecation, addDeprecation, addDeprecation, addDeprecations, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addTags, clear, dumpConfiguration, dumpConfiguration, dumpDeprecatedKeys, get, get, getAllPropertiesByTag, getAllPropertiesByTags, getBoolean, getClass, getClass, getClassByName, getClassByNameOrNull, getClasses, getClassLoader, getConfResourceAsInputStream, getConfResourceAsReader, getDouble, getEnum, getFile, getFinalParameters, getFloat, getInstances, getInt, getInts, getLocalPath, getLong, getLongBytes, getPassword, getPasswordFromConfig, getPasswordFromCredentialProviders, getPattern, getPropertySources, getProps, getPropsWithPrefix, getRange, getRaw, getResource, getSocketAddr, getSocketAddr, getStorageSize, getStorageSize, getStringCollection, getStrings, getStrings, getTimeDuration, getTimeDuration, getTimeDuration, getTimeDuration, getTimeDurationHelper, getTimeDurations, getTrimmed, getTrimmed, getTrimmedStringCollection, getTrimmedStrings, getTrimmedStrings, getValByRegex, hasWarnedDeprecation, isDeprecated, isPropertyTag, iterator, main, onlyKeyExists, readFields, reloadConfiguration, reloadExistingConfigurations, set, set, setAllowNullValueProperties, setBoolean, setBooleanIfUnset, setClass, setClassLoader, setDeprecatedProperties, setDouble, setEnum, setFloat, setIfUnset, setInt, setLong, setPattern, setQuietMode, setRestrictSystemProperties, setRestrictSystemPropertiesDefault, setRestrictSystemProps, setSocketAddr, setStorageSize, setStrings, setTimeDuration, size, toString, unset, updateConnectAddr, updateConnectAddr, write, writeXml, writeXml, writeXml
    • Constructor Detail

      • SnowflakeConf

        public SnowflakeConf()
    • Method Detail

      • getSecret

        public String getSecret​(String name)
        Convenience method. Retrieves a secret from a credential provider, configuration, or default value in the respective order of preference.
        Parameters:
        name - the name of the configuration
        Returns:
        the secret