org.saddle.io

H5Store

object H5Store

Implements (thread-safe) HDF5 I/O functionality for Series and Frames.

We serialize all reads and writes to the underlying library as recommended here:

http://www.hdfgroup.org/hdf-java-html/JNI/ -- Following the JNI specification, the recommended procedure is to use Java synchronization to create a monitor to serialize access to the library."

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. H5Store
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait H5Resource extends AnyRef

    Sealed trait representing resources that might be opened in an HDF5 file.

  2. case class H5StoreException(msg: String) extends RuntimeException with Product with Serializable

    For wrapping any HDF5 exception

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object H5A extends H5Resource with Product with Serializable

  7. object H5D extends H5Resource with Product with Serializable

  8. object H5F extends H5Resource with Product with Serializable

  9. object H5G extends H5Resource with Product with Serializable

  10. object H5P extends H5Resource with Product with Serializable

  11. object H5S extends H5Resource with Product with Serializable

  12. object H5T extends H5Resource with Product with Serializable

  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def assertException(condition: Boolean, errorMessage: String): Unit

  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def closeFile(fileid: Int): Unit

    Close an HDF5 file and return an integer handle.

    Close an HDF5 file and return an integer handle.

    fileid

    Integer handle of file

  17. def createFile(path: String): Int

    Create an HDF5 file and return an integer handle.

    Create an HDF5 file and return an integer handle.

    path

    Path of file

  18. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

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

    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def openFile(path: String, readOnly: Boolean = true): Int

    Open an HDF5 file and return an integer handle.

    Open an HDF5 file and return an integer handle.

    path

    Path of file

  28. def readFrame[RX, CX, T](fileid: Int, name: String)(implicit arg0: ST[RX], arg1: ORD[RX], arg2: ST[CX], arg3: ORD[CX], arg4: ST[T]): Frame[RX, CX, T]

    Read a Frame from an HDF5 file.

    Read a Frame from an HDF5 file.

    RX

    Frame row index type

    CX

    Frame col index type

    T

    Frame values type

    fileid

    HDF5 file handle returned from openFile

    name

    Name of hdf5 group holding frame data

  29. def readFrame[RX, CX, T](path: String, name: String)(implicit arg0: ST[RX], arg1: ORD[RX], arg2: ST[CX], arg3: ORD[CX], arg4: ST[T]): Frame[RX, CX, T]

    Read a Frame from an HDF5 file.

    Read a Frame from an HDF5 file.

    RX

    Frame row index type

    CX

    Frame col index type

    T

    Frame values type

    path

    Path to file to read

    name

    Name of hdf5 group holding frame data

  30. def readGroupNames(path: String, root: String = "/"): List[String]

    Read names of the groups at some level of the file hierarchy

    Read names of the groups at some level of the file hierarchy

    path

    Path of file

    root

    Level (group) of the hierarchy

  31. def readGroupNamesFid(fileid: Int, root: String = "/"): List[String]

    Read names of the groups at some level of the file hierarchy, given an open file

    Read names of the groups at some level of the file hierarchy, given an open file

    fileid

    File handle from openFile

    root

    Level (group) of the hierarchy

  32. def readSeries[X, T](fileid: Int, name: String)(implicit arg0: ST[X], arg1: ORD[X], arg2: ST[T]): Series[X, T]

    Read a Series from an already-open HDF5 file.

    Read a Series from an already-open HDF5 file.

    X

    Series index type

    T

    Series values type

    fileid

    HDF5 file handle returned from openFile

    name

    Name of hdf5 group holding series data

  33. def readSeries[X, T](path: String, name: String)(implicit arg0: ST[X], arg1: ORD[X], arg2: ST[T]): Series[X, T]

    Read a Series from an HDF5 file.

    Read a Series from an HDF5 file.

    X

    Series index type

    T

    Series values type

    path

    Path to file to read

    name

    Name of hdf5 group holding series data

  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  39. def writeFrame[R, C, T](fileid: Int, name: String, df: Frame[R, C, T])(implicit arg0: ST[R], arg1: ORD[R], arg2: ST[C], arg3: ORD[C], arg4: ST[T]): Unit

    Write a Frame to an HDF5 file.

    Write a Frame to an HDF5 file.

    R

    Frame row index type

    C

    Frame col index type

    T

    Framevalues type

    fileid

    HDF5 file handle returned from openFile

    name

    Name of hdf5 group to hold frame data

  40. def writeFrame[R, C, T](path: String, name: String, df: Frame[R, C, T])(implicit arg0: ST[R], arg1: ORD[R], arg2: ST[C], arg3: ORD[C], arg4: ST[T]): Unit

    Write a Frame to an HDF5 file.

    Write a Frame to an HDF5 file.

    R

    Frame row index type

    C

    Frame col index type

    T

    Framevalues type

    path

    Path to file to read

    name

    Name of hdf5 group to hold frame data

  41. def writeSeries[X, T](fileid: Int, name: String, s: Series[X, T])(implicit arg0: ST[X], arg1: ORD[X], arg2: ST[T]): Unit

    Write a Series to an already-open HDF5 file.

    Write a Series to an already-open HDF5 file.

    X

    Series index type

    T

    Series values type

    fileid

    HDF5 file handle returned from openFile

    name

    Name of hdf5 group to hold series data

  42. def writeSeries[X, T](path: String, name: String, s: Series[X, T])(implicit arg0: ST[X], arg1: ORD[X], arg2: ST[T]): Unit

    Write a Series to an HDF5 file.

    Write a Series to an HDF5 file.

    X

    Series index type

    T

    Series values type

    path

    Path to file to read

    name

    Name of hdf5 group to hold series data

Inherited from AnyRef

Inherited from Any

Ungrouped