object Pg extends Util
Utility class to query postgres metadata and execute API calls.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Pg
- Util
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
case class
NormalizedAttribute(rawAttributeName: String, columnAlias: String, hiveDdlType: String, upcastExpr: Option[String]) extends Product with Serializable
- Definition Classes
- Util
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
-
implicit
val
AttributeSchemaReads: Reads[NormalizedAttribute]
- Definition Classes
- Util
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
close: Unit
- Attributes
- protected
- Definition Classes
- Util
-
lazy val
cloud: String
- Attributes
- protected
- Definition Classes
- Util
-
implicit
val
config: Aux[MacroOptions]
- Definition Classes
- Util
-
lazy val
connectionId: Option[Int]
- Attributes
- protected
- Definition Classes
- Util
-
def
convertToObject(j: JsValue): Object
- Attributes
- protected
- Definition Classes
- Util
-
def
coreApiCall(route: String, verb: String = "GET", body: Option[JsValue] = None): JsValue
- Attributes
- protected
- Definition Classes
- Util
-
val
coreUri: String
- Attributes
- protected
- Definition Classes
- Util
-
def
endProcess(parameters: JsObject): Unit
- Attributes
- protected
- Definition Classes
- Util
-
lazy val
environment: String
- Attributes
- protected
- Definition Classes
- Util
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
execute(query: String): Boolean
Execute sql query
Execute sql query
- query
SQL string to execute
- returns
Boolean true if execution returned results, otherwise false
-
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
getConnectionParameters: JsObject
- Attributes
- protected
- Definition Classes
- Util
-
def
getProcessSourceName(processId: Int): String
- Attributes
- protected
- Definition Classes
- Util
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
jobRunId: Option[Int]
- Attributes
- protected
- Definition Classes
- Util
-
def
logFail(e: Exception): Unit
- Attributes
- protected
- Definition Classes
- Util
- val logId: Int
-
val
logger: Logger
- Attributes
- protected
- Definition Classes
- Util
-
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()
-
lazy val
originalProcessId: Option[Int]
- Attributes
- protected
- Definition Classes
- Util
-
val
packageName: String
- Definition Classes
- Util
-
lazy val
pgConnectionLog: Connection
- Attributes
- protected
- Definition Classes
- Util
-
implicit
lazy val
pgConnectionMain: Connection
- Attributes
- protected
- Definition Classes
- Util
-
lazy val
pgConnectionString: String
- Attributes
- protected
- Definition Classes
- Util
-
val
pgConnectionStringRead: String
- Attributes
- protected
- Definition Classes
- Util
- val process: Null
- val processId: Int
-
def
pull(sourceId: Int): Unit
Initiates data pull (input) from the source
Initiates data pull (input) from the source
- sourceId
Int source id
-
def
select(query: String): DataFrame
Execute select sql query
Execute select sql query
- query
SQL string to execute
- returns
dataframe with results
-
lazy val
smtpSenderDomain: String
- Attributes
- protected
- Definition Classes
- Util
-
val
spark: SparkSession
- Attributes
- protected
- Definition Classes
- Util
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
systemConfiguration: JsValue
- Attributes
- protected
- Definition Classes
- Util
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
update(query: String): Int
Execute update sql query
Execute update sql query
- query
SQL string to execute
- returns
# of rows updated
-
val
version: String
- Definition Classes
- Util
-
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()
-
def
writeLog(message: String, severity: String): Unit
- Attributes
- protected
- Definition Classes
- Util
-
def
writeParsedData(inDf: DataFrame, sourceId: Int, inputId: Int, destFilePath: String, forceCaseInsensitiveFlag: Boolean): (Long, Long)
- Attributes
- protected
- Definition Classes
- Util