Class EmbeddedStorageRestAdapter.Default
java.lang.Object
one.microstream.storage.restadapter.types.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.types.EmbeddedStorageRestAdapter
EmbeddedStorageRestAdapter.Default
-
Method Summary
Modifier and Type Method Description ObjectDescription
getConstant(long objectId)
Get java constants values.StorageRawFileStatistics
getFileStatistics()
ViewerRootDescription
getRoot()
Get the current root name and object id.List<ViewerRootDescription>
getRoots()
Get all registered root elements of the current MicroStream instance.ObjectDescription
getStorageObject(long objectId)
Get an object's description by a MicroStream ObjectId.String
getTypeDictionary()
-
Method Details
-
getStorageObject
Get an object's description by a MicroStream ObjectId.- Specified by:
getStorageObject
in interfaceEmbeddedStorageRestAdapter
- Parameters:
objectId
- the object id to look up- Returns:
- description of the object
-
getConstant
Get java constants values.- Specified by:
getConstant
in interfaceEmbeddedStorageRestAdapter
- Parameters:
objectId
- the object id to look up- 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
-