object Serializer
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Serializer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
- val ContextClassLoader: ClassLoader
- val Mirror: Mirror
-
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 getPath(baseDir: Path, i: Int): Path
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def makeQualifiedPath(sc: SparkContext, path: String): Path
-
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()
- def read[A](is: InputStream)(implicit ttag: scala.reflect.api.JavaUniverse.TypeTag[A]): A
-
def
readFromHDFS[O](sc: SparkContext, path: Path)(implicit ttag: scala.reflect.api.JavaUniverse.TypeTag[O]): O
Loads the object from the given path.
Loads the object from the given path.
- path
The main path for model to load the object from.
- returns
The loaded object.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def typeToSerializer[T](tpe: scala.reflect.api.JavaUniverse.Type, sparkSession: SparkSession): Serializer[T]
- def typeToTypeTag[T](tpe: scala.reflect.api.JavaUniverse.Type): scala.reflect.api.JavaUniverse.TypeTag[T]
-
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 write[A](o: A, outputStream: OutputStream)(implicit ttag: scala.reflect.api.JavaUniverse.TypeTag[A]): Unit
- def writeMLWritable(stage: MLWritable, outputPath: Path, overwrite: Boolean): Unit
-
def
writeToHDFS[O](sc: SparkContext, obj: O, outputPath: Path, overwrite: Boolean)(implicit ttag: scala.reflect.api.JavaUniverse.TypeTag[O]): Unit
Writes the object to the given path.
Writes the object to the given path.
- obj
The object to write.
- outputPath
Where to write the object