public class DraftStore extends Object
| Modifier and Type | Field and Description |
|---|---|
static io.cdap.cdap.spi.data.table.StructuredTableSpecification |
TABLE_SPEC |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteDraft(DraftId id) |
Optional<Draft> |
getDraft(DraftId id) |
List<Draft> |
listDrafts(Namespace namespace) |
void |
writeDraft(DraftId id,
DraftRequest draftRequest) |
public static final io.cdap.cdap.spi.data.table.StructuredTableSpecification TABLE_SPEC
public List<Draft> listDrafts(Namespace namespace) throws IOException
IOExceptionpublic Optional<Draft> getDraft(DraftId id) throws IOException
IOExceptionpublic void deleteDraft(DraftId id) throws IOException
IOExceptionpublic void writeDraft(DraftId id, DraftRequest draftRequest) throws IOException
IOExceptionCopyright © 2020 CDAP Licensed under the Apache License, Version 2.0.