Class CachingDataRecord

java.lang.Object
org.apache.jackrabbit.core.data.AbstractDataRecord
org.apache.jackrabbit.core.data.CachingDataRecord
All Implemented Interfaces:
DataRecord

public class CachingDataRecord extends AbstractDataRecord
CachingDataRecord which stores reference to CachingDataStore. This class doesn't store any references to attributes but attributes are fetched on demand from CachingDataStore.
  • Constructor Details

  • Method Details

    • getLastModified

      public long getLastModified()
      Description copied from interface: DataRecord
      Returns the last modified of the record.
      Returns:
      last modified time of the binary stream
    • getLength

      public long getLength() throws DataStoreException
      Description copied from interface: DataRecord
      Returns the length of the binary stream in this record.
      Returns:
      length of the binary stream
      Throws:
      DataStoreException - if the record could not be accessed
    • getStream

      public InputStream getStream() throws DataStoreException
      Description copied from interface: DataRecord
      Returns the the binary stream in this record.
      Returns:
      binary stream
      Throws:
      DataStoreException - if the record could not be accessed