@Alpha public interface CommitSequenceStore
CommitSequences. A CommitSequence is identified by job name and dataset URN.| Modifier and Type | Method and Description |
|---|---|
void |
delete(String jobName)
delete a given job name from the store along with all
CommitSequences associated with this job. |
void |
delete(String jobName,
String datasetUrn)
delete the
CommitSequence for the given job name and dataset URN. |
boolean |
exists(String jobName)
Whether a
CommitSequence with the given job name exists in the store. |
boolean |
exists(String jobName,
String datasetUrn)
Whether a
CommitSequence with the given job name and dataset URN exists in a store. |
Collection<String> |
get(String jobName)
Get a
Collection of dataset URNs with the given job name. |
com.google.common.base.Optional<CommitSequence> |
get(String jobName,
String datasetUrn)
Get the
CommitSequence associated with the given job name and dataset URN. |
void |
put(String jobName,
String datasetUrn,
CommitSequence commitSequence)
Put a
CommitSequence with the given job name and dataset URN. |
boolean exists(String jobName) throws IOException
CommitSequence with the given job name exists in the store.IOExceptionboolean exists(String jobName, String datasetUrn) throws IOException
CommitSequence with the given job name and dataset URN exists in a store.IOExceptionvoid delete(String jobName) throws IOException
CommitSequences associated with this job.IOExceptionvoid delete(String jobName, String datasetUrn) throws IOException
CommitSequence for the given job name and dataset URN.IOExceptionvoid put(String jobName, String datasetUrn, CommitSequence commitSequence) throws IOException
CommitSequence with the given job name and dataset URN.IOException - if a CommitSequence for the given job name and dataset URN exists in the store.Collection<String> get(String jobName) throws IOException
Collection of dataset URNs with the given job name.IOExceptioncom.google.common.base.Optional<CommitSequence> get(String jobName, String datasetUrn) throws IOException
CommitSequence associated with the given job name and dataset URN.IOException