case class DataLoaderHandler(validatePath: (String) ⇒ Boolean, createDataFrame: (String, Map[String, String], JobConf) ⇒ DataFrame, createUnionDataFrame: (Seq[String], Map[String, String], JobConf) ⇒ DataFrame, writeDataFrame: (DataFrame, String, Map[String, String]) ⇒ Unit) extends Product with Serializable
Class that encloses hooks for creating/writing data frames depends on the data/path type.
- validatePath
used to validate if path should be routed to data handler
- createDataFrame
used to create a data frame given a path.
- createUnionDataFrame
used to create a data frame given multiple paths
- writeDataFrame
used to write a data frame to a path
- Alphabetic
- By Inheritance
- DataLoaderHandler
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
DataLoaderHandler(validatePath: (String) ⇒ Boolean, createDataFrame: (String, Map[String, String], JobConf) ⇒ DataFrame, createUnionDataFrame: (Seq[String], Map[String, String], JobConf) ⇒ DataFrame, writeDataFrame: (DataFrame, String, Map[String, String]) ⇒ Unit)
- validatePath
used to validate if path should be routed to data handler
- createDataFrame
used to create a data frame given a path.
- createUnionDataFrame
used to create a data frame given multiple paths
- writeDataFrame
used to write a data frame to a path
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 createDataFrame: (String, Map[String, String], JobConf) ⇒ DataFrame
- val createUnionDataFrame: (Seq[String], Map[String, String], JobConf) ⇒ DataFrame
-
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()
-
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
- val validatePath: (String) ⇒ Boolean
-
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()
- val writeDataFrame: (DataFrame, String, Map[String, String]) ⇒ Unit