public interface StreamMetaStore
| Modifier and Type | Method and Description |
|---|---|
void |
addStream(Id.Stream streamId)
Adds a stream to the meta store.
|
com.google.common.collect.Multimap<Id.Namespace,co.cask.cdap.api.data.stream.StreamSpecification> |
listStreams()
List all stream specifications with their associated
Id.Namespace. |
List<co.cask.cdap.api.data.stream.StreamSpecification> |
listStreams(Id.Namespace namespaceId)
List all stream specifications stored for the
namespaceId. |
void |
removeStream(Id.Stream streamId)
Removes a stream from the meta store.
|
boolean |
streamExists(Id.Stream streamId)
Checks if a stream exists in the meta store.
|
void addStream(Id.Stream streamId) throws Exception
Exceptionvoid removeStream(Id.Stream streamId) throws Exception
Exceptionboolean streamExists(Id.Stream streamId) throws Exception
ExceptionList<co.cask.cdap.api.data.stream.StreamSpecification> listStreams(Id.Namespace namespaceId) throws Exception
namespaceId.Exceptioncom.google.common.collect.Multimap<Id.Namespace,co.cask.cdap.api.data.stream.StreamSpecification> listStreams() throws Exception
Id.Namespace.ExceptionCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.