Class DbDataRecord

    • Field Detail

      • length

        protected final long length
      • lastModified

        protected long lastModified
    • Constructor Detail

      • DbDataRecord

        public DbDataRecord​(DbDataStore store,
                            DataIdentifier identifier,
                            long length,
                            long lastModified)
        Creates a data record based on the given identifier and length.
        identifier - data identifier
        length - the length
        lastModified -
    • Method Detail

      • getLength

        public long getLength()
                       throws DataStoreException
        Returns the length of the binary stream in this record.
        length of the binary stream
        DataStoreException - if the record could not be accessed
      • getLastModified

        public long getLastModified()
        Returns the last modified of the record.
        last modified time of the binary stream