Class Checkpoint
- java.lang.Object
-
- org.apache.beam.runners.spark.translation.streaming.Checkpoint
-
public class Checkpoint extends java.lang.ObjectCheckpoint data to make it available in future pipeline runs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCheckpoint.CheckpointDirCheckpoint dir tree.
-
Constructor Summary
Constructors Constructor Description Checkpoint()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> TreadObject(org.apache.hadoop.fs.FileSystem fileSystem, org.apache.hadoop.fs.Path checkpointfilePath)static voidwriteObject(org.apache.hadoop.fs.FileSystem fileSystem, org.apache.hadoop.fs.Path checkpointFilePath, java.lang.Object value)
-
-
-
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.IOExceptionjava.lang.ClassNotFoundException
-
-