case class Jdbc(url: String, dbtable: String, user: String = "", password: String = "", token: String = "") extends DataLocation with Product with Serializable
- Annotations
- @CaseClassDeserialize() @JsonIgnoreProperties()
- Alphabetic
- By Inheritance
- Jdbc
- Serializable
- Serializable
- Product
- Equals
- DataLocation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Jdbc(url: String, dbtable: String, user: String = "", password: String = "", token: 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()
- val dbtable: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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 getOptions(ss: SparkSession): Map[String, String]
-
def
getPath: String
Backward Compatibility Many existing codes expect a simple path
Backward Compatibility Many existing codes expect a simple path
- returns
the
pathorurlof the data source WARN: This method is deprecated, you must use match/case on InputLocation, and getpathfromSimplePathonly
- Definition Classes
- Jdbc → DataLocation
-
def
getPathList: List[String]
Backward Compatibility
Backward Compatibility
- returns
the
pathorurlof the data source, wrapped in an List WARN: This method is deprecated, you must use match/case on InputLocation, and getpathsfromPathListonly
- Definition Classes
- Jdbc → DataLocation
-
def
isFileBasedLocation(): Boolean
Tell if this location is file based
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
loadDf(ss: SparkSession, dataIOParameters: Map[String, String] = Map()): DataFrame
Load DataFrame from Spark session
-
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()
- val password: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Jdbc → DataLocation → AnyRef → Any
- val token: String
- val url: String
- val user: String
-
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
writeDf(ss: SparkSession, df: DataFrame, header: Option[Header]): Unit
Write DataFrame to the location
Write DataFrame to the location
- ss
SparkSession
- df
DataFrame to write
- Definition Classes
- Jdbc → DataLocation