| Modifier and Type | Method and Description |
|---|---|
void |
addMetadataRecord(File input,
String name)
Adds a metadata record with the specified name
|
void |
addMetadataRecord(InputStream input,
String name)
Adds a metadata record with the specified name
|
void |
deleteAllMetadataRecords(String prefix)
Deletes all the metadata records with the specified prefix.
|
boolean |
deleteMetadataRecord(String name)
Deletes the metadata record with the specified name
|
List<DataRecord> |
getAllMetadataRecords(String prefix)
Gets all the metadata with a specified prefix.
|
Iterator<DataRecord> |
getAllRecords()
Returns a list of all DataRecords
|
DataRecord |
getMetadataRecord(String name)
Gets the metadata of the specified name.
|
DataRecord |
getRecord(DataIdentifier id)
Gets the record with the specified identifier
|
close, deleteAllOlderThan, deleteRecord, exists, exists, getAllIdentifiers, getLastModified, getLength, init, read, touch, touchAsync, write, writeAsyncvoid addMetadataRecord(InputStream input, String name) throws DataStoreException
input - the record input streamname - the nameDataStoreExceptionvoid addMetadataRecord(File input, String name) throws DataStoreException
input - the record filename - the nameDataStoreExceptionDataRecord getMetadataRecord(String name)
name - the name of the recordList<DataRecord> getAllMetadataRecords(String prefix)
prefix - the prefix of the records to retrieveboolean deleteMetadataRecord(String name)
name - the name of the recordvoid deleteAllMetadataRecords(String prefix)
prefix - the prefix of the recordIterator<DataRecord> getAllRecords() throws DataStoreException
DataStoreExceptionDataRecord getRecord(DataIdentifier id) throws DataStoreException
id - the record identifierDataStoreExceptionCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.