| Constructor and Description |
|---|
InMemoryViewStore() |
| 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) |
public boolean createOrUpdate(Id.Stream.View viewId, ViewSpecification config)
ViewStorecreateOrUpdate in interface ViewStoreviewId - the viewconfig - the view configpublic boolean exists(Id.Stream.View viewId)
public void delete(Id.Stream.View viewId) throws NotFoundException
ViewStoredelete in interface ViewStoreviewId - the viewNotFoundExceptionpublic List<Id.Stream.View> list(Id.Stream streamId)
public ViewDetail get(Id.Stream.View viewId) throws NotFoundException
get in interface ViewStoreviewId - the viewNotFoundExceptionCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.