Class Checkpoint
java.lang.Object
org.apache.beam.runners.spark.translation.streaming.Checkpoint
Checkpoint data to make it available in future pipeline runs.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
readObject
(FileSystem fileSystem, Path checkpointfilePath) static void
writeObject
(FileSystem fileSystem, Path checkpointFilePath, Object value)
-
Constructor Details
-
Checkpoint
public Checkpoint()
-
-
Method Details
-
writeObject
public static void writeObject(FileSystem fileSystem, Path checkpointFilePath, Object value) throws IOException - Throws:
IOException
-
readObject
public static <T> T readObject(FileSystem fileSystem, Path checkpointfilePath) throws IOException, ClassNotFoundException - Throws:
IOException
ClassNotFoundException
-