object ConfigLoader extends SmartDataLakeLogger
- Alphabetic
- By Inheritance
- ConfigLoader
- SmartDataLakeLogger
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- final val configFileExtensions: Set[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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.
-
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
configLocationis 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
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- SmartDataLakeLogger
- Annotations
- @transient()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated