Packages

o

io.smartdatalake.config

ConfigLoader

object ConfigLoader extends SmartDataLakeLogger

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConfigLoader
  2. SmartDataLakeLogger
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final val configFileExtensions: Set[String]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def loadConfigFromClasspath: Config

    Load the configuration from classpath using the default behavior of typesafe Config.

    Load the configuration from classpath using the default behavior of typesafe Config.

    The order of loading is:

    1. system properties 2. all application.conf files on the classpath 3. all application.json files on the classpath 4. all application.properties files on the classpath 5. all reference.conf files on the classpath.

    Configuration values take precedence in that order.

    returns

    the parsed, combined, and resolved configuration.

    Annotations
    @Scaladoc()
    See also

    https://github.com/lightbend/config#standard-behavior for more details.

  13. def loadConfigFromFilesystem(configLocations: Seq[String], hadoopConf: Configuration): Config

    Load the configuration from the file system locations configLocations.

    Load the configuration from the file system locations configLocations. Entries must be valid hadoop URIs or a special URI with scheme "cp" which is treated as classpath entry.

    If configLocation is a directory, it is traversed in breadth-first search (BFS) order provided by hadoop file system. Only file names ending in '.conf', '.json', or '.properties' are processed. If multiple entries are given, all entries must be on the same file system. All processed config files are merged and files encountered later overwrite settings in files processed earlier.

    The order of loading is:

    1. system properties 2. all '.conf' files in BFS order 3. all '.json' files in BFS order 4. all '.properties' files in BFS order

    Configuration values take precedence in that order.

    The file extension of any encountered file forces a corresponding config syntax:

    - '.conf' forces HOCON syntax - '.json' forces JSON syntax - '.properties' forces Java properties syntax

    configLocations

    configuration files or directories containing configuration files.

    hadoopConf

    Hadoop configuration to initialize filesystem. Note that maybe additional hadoop/spark configurations could not yet been loaded from the configuration files. In that case the default configuration is used.

    returns

    a resolved Config merged from all found configuration files.

    Annotations
    @Scaladoc()
    See also

    com.typesafe.config.ConfigSyntax

  14. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    SmartDataLakeLogger
    Annotations
    @transient()
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from SmartDataLakeLogger

Inherited from AnyRef

Inherited from Any

Ungrouped