public class SharedS3DataStore extends S3DataStore implements SharedDataStore
SharedDataStore implementation for S3SharedDataStore.Type| Constructor and Description |
|---|
SharedS3DataStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMetadataRecord(InputStream stream,
String name)
Adds the root record.
|
void |
deleteAllMetadataRecords(String prefix)
Deletes all records matching the given prefix.
|
boolean |
deleteMetadataRecord(String name)
Deletes the root record represented by the given parameters.
|
List<DataRecord> |
getAllMetadataRecords(String prefix)
Gets the all root records.
|
DataRecord |
getMetadataRecord(String name)
Retrieves the metadata record with the given name
|
SharedDataStore.Type |
getType()
Gets the type.
|
public void addMetadataRecord(InputStream stream, String name) throws DataStoreException
SharedDataStoreaddMetadataRecord in interface SharedDataStorestream - the streamname - the name of the root recordDataStoreException - the data store exceptionpublic DataRecord getMetadataRecord(String name)
SharedDataStoregetMetadataRecord in interface SharedDataStorename - the name of the recordpublic List<DataRecord> getAllMetadataRecords(String prefix)
SharedDataStoregetAllMetadataRecords in interface SharedDataStorepublic boolean deleteMetadataRecord(String name)
SharedDataStoredeleteMetadataRecord in interface SharedDataStorename - the name of the root recordpublic void deleteAllMetadataRecords(String prefix)
SharedDataStoredeleteAllMetadataRecords in interface SharedDataStoreprefix - metadata type identifierpublic SharedDataStore.Type getType()
SharedDataStoregetType in interface SharedDataStore"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"