@groovy.util.logging.Slf4j class SnowConfig extends java.lang.Object
A class for parsing a credentials config file.
| Type | Name and description |
|---|---|
java.io.File |
configThe credentials config file. |
java.lang.String |
connectionThe credentials connection to use. |
| Constructor and description |
|---|
SnowConfig
(java.lang.String connection)Constructor using auto-detected credentials config file. |
SnowConfig
(java.io.File config, java.lang.String connection)Constructor using explicit credentials config file as a File object. |
SnowConfig
(java.lang.String config, java.lang.String connection)Constructor using explicit credentials config file as a String path. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.util.Map |
getConnectionsProps()Build a Map of connection properties for making a Snowflake connection. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The credentials config file.
The credentials connection to use.
Constructor using auto-detected credentials config file.
Constructor using explicit credentials config file as a File object.
Constructor using explicit credentials config file as a String path.
Groovy Documentation