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 ObjectDescriptiongetConstant(long objectId)Get java constants valuesStorageRawFileStatisticsgetFileStatistics()ViewerRootDescriptiongetRoot()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 instanceObjectDescriptiongetStorageObject(long objectId)Get an object's description by a microstream ObjectIdStringgetTypeDictionary()
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
getStorageObject
Get an object's description by a microstream ObjectId- Specified by:
getStorageObjectin interfaceEmbeddedStorageRestAdapter- Parameters:
objectId-- Returns:
- ViewerObjectDescription
-
getConstant
Get java constants values- Specified by:
getConstantin interfaceEmbeddedStorageRestAdapter- Parameters:
objectId-- Returns:
- the constants value as object
-
getRoots
Get all registered root elements of the current microstream instance- Specified by:
getRootsin 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:
getRootin interfaceEmbeddedStorageRestAdapter- Returns:
- ViewerRootDescription
-
getTypeDictionary
- Specified by:
getTypeDictionaryin interfaceEmbeddedStorageRestAdapter
-
getFileStatistics
- Specified by:
getFileStatisticsin interfaceEmbeddedStorageRestAdapter
-