class SourceVars extends AnyRef
Extracts the database connection details
- Alphabetic
- By Inheritance
- SourceVars
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
SourceVars(source: File)
Convert an input configuration file into a map containing connection properties and query specifications
Convert an input configuration file into a map containing connection properties and query specifications
- source
this is the input file that contains the configuration per the spec in the usage documentation
- new SourceVars(fileName: String)
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()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getConnection(): String
Gets the type of database connection
Gets the type of database connection
- returns
This string represents the full JDBC connection that will be passed to the JDBC driver in order to connect to the DB. The expectation is that it contains the authentication user and password as well.
-
def
getQuery(dataName: String): String
Gets the data retrieval query specified in the source file based on the corresponding variable name
Gets the data retrieval query specified in the source file based on the corresponding variable name
- dataName
variable to describe the source
- returns
query associated with the passed variable name
-
def
getVar(key: String): String
Gets the database connection details based on the key provided
Gets the database connection details based on the key provided
- key
Variable used to define the connection details like driver, URL, username, password
- returns
The value of the passed variable for database connection
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()