Package org.jpmml.sparkml
Class ArchiveUtil
java.lang.Object
org.jpmml.sparkml.ArchiveUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic <E extends org.apache.spark.ml.PipelineStage & org.apache.spark.ml.util.MLReadable<E>>
Estatic <E extends org.apache.spark.ml.PipelineStage & org.apache.spark.ml.util.MLWritable>
voidstatic voidstatic Fileuncompress(File file) static voiduncompress(File file, File dir) static voiduncompress(ZipFile zipFile, File dir)
-
Method Details
-
loadZip
public static <E extends org.apache.spark.ml.PipelineStage & org.apache.spark.ml.util.MLReadable<E>> E loadZip(org.apache.spark.ml.util.MLReader<E> mlReader, File file) throws IOException - Throws:
IOException
-
storeZip
public static <E extends org.apache.spark.ml.PipelineStage & org.apache.spark.ml.util.MLWritable> void storeZip(E stage, File file) throws IOException - Throws:
IOException
-
storeZip
public static void storeZip(org.apache.spark.ml.util.MLWriter mlWriter, File file) throws IOException - Throws:
IOException
-
compress
- Throws:
IOException
-
uncompress
- Throws:
IOException
-
uncompress
- Throws:
IOException
-
uncompress
- Throws:
IOException
-