public interface ViewStore
| Modifier and Type | Method and Description |
|---|---|
boolean |
createOrUpdate(Id.Stream.View viewId,
ViewSpecification config)
Creates a view.
|
void |
delete(Id.Stream.View viewId)
Deletes a view.
|
boolean |
exists(Id.Stream.View viewId) |
ViewDetail |
get(Id.Stream.View viewId) |
List<Id.Stream.View> |
list(Id.Stream streamId) |
boolean createOrUpdate(Id.Stream.View viewId, ViewSpecification config)
viewId - the viewconfig - the view configboolean exists(Id.Stream.View viewId)
viewId - the viewvoid delete(Id.Stream.View viewId) throws NotFoundException
viewId - the viewNotFoundExceptionList<Id.Stream.View> list(Id.Stream streamId)
streamId - the streamViewDetail get(Id.Stream.View viewId) throws NotFoundException
viewId - the viewNotFoundExceptionCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.