Class Checkpoint


  • public class Checkpoint
    extends java.lang.Object
    Checkpoint data to make it available in future pipeline runs.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Checkpoint.CheckpointDir
      Checkpoint dir tree.
    • Constructor Summary

      Constructors 
      Constructor Description
      Checkpoint()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T readObject​(org.apache.hadoop.fs.FileSystem fileSystem, org.apache.hadoop.fs.Path checkpointfilePath)  
      static void writeObject​(org.apache.hadoop.fs.FileSystem fileSystem, org.apache.hadoop.fs.Path checkpointFilePath, java.lang.Object value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Checkpoint

        public Checkpoint()
    • Method Detail

      • writeObject

        public static void writeObject​(org.apache.hadoop.fs.FileSystem fileSystem,
                                       org.apache.hadoop.fs.Path checkpointFilePath,
                                       java.lang.Object value)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • readObject

        public static <T> T readObject​(org.apache.hadoop.fs.FileSystem fileSystem,
                                       org.apache.hadoop.fs.Path checkpointfilePath)
                                throws java.io.IOException,
                                       java.lang.ClassNotFoundException
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException