Packages

implicit class SaveBytes extends AnyRef

Given a dataframe, serializes binary object and saves to disk

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SaveBytes
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SaveBytes(df: DataFrame)

    df

    the input dataframe

Value Members

  1. def saveToDisk(bytesColumnName: String, fileName: String, extensionColumnName: String): Unit

    bytesColumnName

    the name of the column containing the bytes

    fileName

    the name of the file to save the binary file to (without extension)

    extensionColumnName

    the name of the column containin the extension e.g. fileName = "foo" => files are saved as "foo-[MD5 hash].pdf"