Class MemStorage

  • All Implemented Interfaces:
    swim.store.Storage

    public class MemStorage
    extends Object
    implements swim.store.Storage
    • Constructor Summary

      Constructors 
      Constructor Description
      MemStorage()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void init​(String path, String basePath, swim.api.plane.PlaneContext planeContext)  
      void init​(swim.api.plane.PlaneContext planeContext, swim.structure.Value storeSettings)  
      swim.store.ListDataBinding openListData​(swim.structure.Value name)  
      swim.store.ListDataBinding openListData​(swim.uri.Uri nodeUri, swim.structure.Value name)  
      swim.store.MapDataBinding openMapData​(swim.structure.Value name)  
      swim.store.MapDataBinding openMapData​(swim.uri.Uri nodeUri, swim.structure.Value name)  
      <S> swim.store.SpatialDataBinding<S> openSpatialData​(swim.structure.Value name, swim.math.Z2Form<S> shapeForm)  
      <S> swim.store.SpatialDataBinding<S> openSpatialData​(swim.uri.Uri nodeUri, swim.structure.Value name, swim.math.Z2Form<S> shapeForm)  
      swim.store.ValueDataBinding openValueData​(swim.structure.Value name)  
      swim.store.ValueDataBinding openValueData​(swim.uri.Uri nodeUri, swim.structure.Value name)  
      protected swim.structure.Value treeName​(swim.uri.Uri nodeUri, swim.structure.Value name)  
    • Constructor Detail

      • MemStorage

        public MemStorage()
    • Method Detail

      • init

        public void init​(swim.api.plane.PlaneContext planeContext,
                         swim.structure.Value storeSettings)
        Specified by:
        init in interface swim.store.Storage
      • init

        public void init​(String path,
                         String basePath,
                         swim.api.plane.PlaneContext planeContext)
        Specified by:
        init in interface swim.store.Storage
      • openListData

        public swim.store.ListDataBinding openListData​(swim.structure.Value name)
        Specified by:
        openListData in interface swim.store.Storage
      • openListData

        public swim.store.ListDataBinding openListData​(swim.uri.Uri nodeUri,
                                                       swim.structure.Value name)
        Specified by:
        openListData in interface swim.store.Storage
      • openMapData

        public swim.store.MapDataBinding openMapData​(swim.structure.Value name)
        Specified by:
        openMapData in interface swim.store.Storage
      • openMapData

        public swim.store.MapDataBinding openMapData​(swim.uri.Uri nodeUri,
                                                     swim.structure.Value name)
        Specified by:
        openMapData in interface swim.store.Storage
      • openSpatialData

        public <S> swim.store.SpatialDataBinding<S> openSpatialData​(swim.structure.Value name,
                                                                    swim.math.Z2Form<S> shapeForm)
        Specified by:
        openSpatialData in interface swim.store.Storage
      • openSpatialData

        public <S> swim.store.SpatialDataBinding<S> openSpatialData​(swim.uri.Uri nodeUri,
                                                                    swim.structure.Value name,
                                                                    swim.math.Z2Form<S> shapeForm)
        Specified by:
        openSpatialData in interface swim.store.Storage
      • openValueData

        public swim.store.ValueDataBinding openValueData​(swim.structure.Value name)
        Specified by:
        openValueData in interface swim.store.Storage
      • openValueData

        public swim.store.ValueDataBinding openValueData​(swim.uri.Uri nodeUri,
                                                         swim.structure.Value name)
        Specified by:
        openValueData in interface swim.store.Storage
      • close

        public void close()
        Specified by:
        close in interface swim.store.Storage
      • treeName

        protected swim.structure.Value treeName​(swim.uri.Uri nodeUri,
                                                swim.structure.Value name)