Class EmbeddedStorageRestAdapter.Default
java.lang.Object
one.microstream.storage.restadapter.EmbeddedStorageRestAdapter.Default
- All Implemented Interfaces:
EmbeddedStorageRestAdapter
- Enclosing interface:
- EmbeddedStorageRestAdapter
public static class EmbeddedStorageRestAdapter.Default extends Object implements EmbeddedStorageRestAdapter
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.storage.restadapter.EmbeddedStorageRestAdapter
EmbeddedStorageRestAdapter.Default
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description ObjectDescription
getConstant(long objectId)
Get java constants valuesStorageRawFileStatistics
getFileStatistics()
ViewerRootDescription
getRoot()
Get the current root name and object id If no default root is registered the returned ViewerRootDescription will have a "null" string as name and objectId 0.List<ViewerRootDescription>
getRoots()
Get all registered root elements of the current microstream instanceObjectDescription
getStorageObject(long objectId)
Get an object's description by a microstream ObjectIdString
getTypeDictionary()
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
getStorageObject
Get an object's description by a microstream ObjectId- Specified by:
getStorageObject
in interfaceEmbeddedStorageRestAdapter
- Parameters:
objectId
-- Returns:
- ViewerObjectDescription
-
getConstant
Get java constants values- Specified by:
getConstant
in interfaceEmbeddedStorageRestAdapter
- Parameters:
objectId
-- Returns:
- the constants value as object
-
getRoots
Get all registered root elements of the current microstream instance- Specified by:
getRoots
in interfaceEmbeddedStorageRestAdapter
- Returns:
- List of ViewerRootDescription objects
-
getRoot
Get the current root name and object id If no default root is registered the returned ViewerRootDescription will have a "null" string as name and objectId 0.- Specified by:
getRoot
in interfaceEmbeddedStorageRestAdapter
- Returns:
- ViewerRootDescription
-
getTypeDictionary
- Specified by:
getTypeDictionary
in interfaceEmbeddedStorageRestAdapter
-
getFileStatistics
- Specified by:
getFileStatistics
in interfaceEmbeddedStorageRestAdapter
-