Package com.bc.zarr.storage
Class InMemoryStore
- java.lang.Object
-
- com.bc.zarr.storage.InMemoryStore
-
- All Implemented Interfaces:
Store,Closeable,AutoCloseable
public class InMemoryStore extends Object implements Store
-
-
Constructor Summary
Constructors Constructor Description InMemoryStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(String key)TreeSet<String>getArrayKeys()TreeSet<String>getGroupKeys()InputStreamgetInputStream(String key)TreeSet<String>getKeysEndingWith(String suffix)OutputStreamgetOutputStream(String key)Stream<String>getRelativeLeafKeys(String key)
-
-
-
Method Detail
-
getInputStream
public InputStream getInputStream(String key)
- Specified by:
getInputStreamin interfaceStore
-
getOutputStream
public OutputStream getOutputStream(String key)
- Specified by:
getOutputStreamin interfaceStore
-
getArrayKeys
public TreeSet<String> getArrayKeys()
- Specified by:
getArrayKeysin interfaceStore
-
getGroupKeys
public TreeSet<String> getGroupKeys()
- Specified by:
getGroupKeysin interfaceStore
-
getKeysEndingWith
public TreeSet<String> getKeysEndingWith(String suffix)
- Specified by:
getKeysEndingWithin interfaceStore
-
getRelativeLeafKeys
public Stream<String> getRelativeLeafKeys(String key) throws IOException
- Specified by:
getRelativeLeafKeysin interfaceStore- Throws:
IOException
-
-