public class CachingDataRecord extends AbstractDataRecord
CachingDataStore
. This
class doesn't store any references to attributes but attributes are fetched
on demand from CachingDataStore
.Constructor and Description |
---|
CachingDataRecord(CachingDataStore store,
DataIdentifier identifier) |
Modifier and Type | Method and Description |
---|---|
long |
getLastModified()
Returns the last modified of the record.
|
long |
getLength()
Returns the length of the binary stream in this record.
|
InputStream |
getStream()
Returns the the binary stream in this record.
|
equals, getIdentifier, getReference, hashCode, toString
public CachingDataRecord(CachingDataStore store, DataIdentifier identifier)
public long getLastModified()
DataRecord
public long getLength() throws DataStoreException
DataRecord
DataStoreException
- if the record could not be accessedpublic InputStream getStream() throws DataStoreException
DataRecord
DataStoreException
- if the record could not be accessedCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.