Class

cogx.runtime.checkpoint.hdf5

Hdf5ObjectRestorer

Related Doc: package hdf5

Permalink

class Hdf5ObjectRestorer extends ObjectRestorer with Hdf5Common

Cog ComputeGraph restorer based on HDF5

See Hdf5ObjectSaver for more on the approach used to save/restore ComputeGraphs.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hdf5ObjectRestorer
  2. Hdf5Common
  3. ObjectRestorer
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Hdf5ObjectRestorer(filename: String)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def arrayElementName(name: String, index: Int): String

    Permalink

    How the individual array elements are named in the HDF5 object naming space

    How the individual array elements are named in the HDF5 object naming space

    Definition Classes
    Hdf5Common
  5. def arraySizeName(name: String): String

    Permalink

    How the size of an array is tagged in the HDF5 object naming space

    How the size of an array is tagged in the HDF5 object naming space

    Definition Classes
    Hdf5Common
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def close(): Unit

    Permalink

    Close object store, preventing further writes.

    Close object store, preventing further writes.

    Definition Classes
    Hdf5Common
  9. def createAndEnterGroup(groupName: String): Int

    Permalink

    Create a group and make it the group used by any group-relative commands.

    Create a group and make it the group used by any group-relative commands.

    Definition Classes
    Hdf5Common
  10. def currentGroup: Int

    Permalink

    The most recently created or opened group.

    The most recently created or opened group.

    Definition Classes
    Hdf5Common
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. val fileId: Int

    Permalink

    The fileId of the opened (ObjectRestorer) or created (ObjectSaver) file

    The fileId of the opened (ObjectRestorer) or created (ObjectSaver) file

    Definition Classes
    Hdf5ObjectRestorerHdf5Common
  14. val fileOpenErrorMsg: String

    Permalink
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. lazy val groupIdStack: Stack[Int]

    Permalink

    The sequence of opened hdf5 groups, maintained as a stack.

    The sequence of opened hdf5 groups, maintained as a stack.

    Definition Classes
    Hdf5Common
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def leaveAndCloseGroup(expectedCurrentGroup: Int): Unit

    Permalink

    Close the last created/opened group, making the previous group the one used by any group-relative commands.

    Close the last created/opened group, making the previous group the one used by any group-relative commands.

    Definition Classes
    Hdf5Common
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def numElements(dataSpaceId: Int): Int

    Permalink

    Get the number of elements in the 0D or 1D dataSpace

  25. def openAndEnterGroup(name: String): Int

    Permalink

    Open an existing group and make it the group used by any group-relative commands.

    Open an existing group and make it the group used by any group-relative commands.

    Definition Classes
    Hdf5Common
  26. def openGroupAbsolutePath(groupName: String): Int

    Permalink

    Open an hdf5 group given its absolute pathname.

    Open an hdf5 group given its absolute pathname.

    Definition Classes
    Hdf5Common
  27. def readFloat(name: String): Float

    Permalink

    Read a Float from the object store.

    Read a Float from the object store.

    Definition Classes
    Hdf5ObjectRestorerObjectRestorer
  28. def readFloatArray(name: String): Array[Float]

    Permalink

    Read an Array[Float] from the object store.

    Read an Array[Float] from the object store.

    Definition Classes
    Hdf5ObjectRestorerObjectRestorer
  29. def readInt(name: String): Int

    Permalink

    Read an Int from the object store.

    Read an Int from the object store.

    Definition Classes
    Hdf5ObjectRestorerObjectRestorer
  30. def readIntArray(name: String): Array[Int]

    Permalink

    Read an Array[Int] from the object store.

    Read an Array[Int] from the object store.

    Definition Classes
    Hdf5ObjectRestorerObjectRestorer
  31. def readLong(name: String): Long

    Permalink

    Read a Long from the object store.

    Read a Long from the object store.

    Definition Classes
    Hdf5ObjectRestorerObjectRestorer
  32. def readLongArray(name: String): Array[Long]

    Permalink

    Read an Array[Long] from the object store.

    Read an Array[Long] from the object store.

    Definition Classes
    Hdf5ObjectRestorerObjectRestorer
  33. def readOptionalInt(name: String): Option[Int]

    Permalink

    Attempt to read an optional Int from the object store with key 'name', returning None if the given name isn't present in the store.

    Attempt to read an optional Int from the object store with key 'name', returning None if the given name isn't present in the store.

    Definition Classes
    Hdf5ObjectRestorerObjectRestorer
  34. def readOptionalString(name: String): Option[String]

    Permalink

    Attempt to read an optional String from the object store with key 'name', returning None if the given name isn't present in the store.

    Attempt to read an optional String from the object store with key 'name', returning None if the given name isn't present in the store.

    Definition Classes
    Hdf5ObjectRestorerObjectRestorer
  35. def readPrimitiveArray(name: String, receivingTypeId: Int, typeName: String, arrayMaker: (Int) ⇒ Array[_]): Array[_]

    Permalink

    Read an Array[Primitives] from the object store.

    Read an Array[Primitives] from the object store.

    name

    The key of this <key, value> pair to be read.

    receivingTypeId

    A "type id" describing the data format in memory (i.e. in the Array[]).

    typeName

    A name for the type (involved in the error reporting).

    arrayMaker

    A function to create the returned array (passed the array length as an Int arg).

  36. def readRestorable(name: String, factory: RestoreFactory): AnyRef

    Permalink

    Read a non-primitive "Restorable" object from the object store.

    Read a non-primitive "Restorable" object from the object store.

    Definition Classes
    Hdf5ObjectRestorerObjectRestorer
  37. def readRestorableArray(name: String, factory: RestoreFactory): Array[AnyRef]

    Permalink

    Read an array of non-primitive "Restorable" objects from the object store.

    Read an array of non-primitive "Restorable" objects from the object store.

    Definition Classes
    Hdf5ObjectRestorerObjectRestorer
  38. def readString(name: String): String

    Permalink

    Read a String from the object store.

    Read a String from the object store.

    Definition Classes
    Hdf5ObjectRestorerObjectRestorer
  39. def readStringArray(name: String): Array[String]

    Permalink

    Read an Array[String] from the object store.

    Read an Array[String] from the object store. (Can't use readPrimitiveArray because of H5DreadVL() call).

    Definition Classes
    Hdf5ObjectRestorerObjectRestorer
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  42. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Hdf5Common

Inherited from ObjectRestorer

Inherited from AnyRef

Inherited from Any

Ungrouped