public class XAttrsHdfsStore<T> extends Object implements org.trustedanalytics.cfbroker.store.api.BrokerStore<T>
| Constructor and Description |
|---|
XAttrsHdfsStore(HdfsClient hdfsClient,
org.trustedanalytics.cfbroker.store.serialization.RepositorySerializer<T> serializer,
org.trustedanalytics.cfbroker.store.serialization.RepositoryDeserializer<T> deserializer,
String attributeName) |
| Modifier and Type | Method and Description |
|---|---|
Optional<T> |
deleteById(org.trustedanalytics.cfbroker.store.api.Location location) |
Optional<T> |
getById(org.trustedanalytics.cfbroker.store.api.Location location) |
void |
save(org.trustedanalytics.cfbroker.store.api.Location location,
T t) |
public XAttrsHdfsStore(HdfsClient hdfsClient, org.trustedanalytics.cfbroker.store.serialization.RepositorySerializer<T> serializer, org.trustedanalytics.cfbroker.store.serialization.RepositoryDeserializer<T> deserializer, String attributeName)
public void save(org.trustedanalytics.cfbroker.store.api.Location location,
T t)
throws IOException
save in interface org.trustedanalytics.cfbroker.store.api.BrokerStore<T>IOExceptionpublic Optional<T> getById(org.trustedanalytics.cfbroker.store.api.Location location) throws IOException
getById in interface org.trustedanalytics.cfbroker.store.api.BrokerStore<T>IOExceptionpublic Optional<T> deleteById(org.trustedanalytics.cfbroker.store.api.Location location) throws IOException
deleteById in interface org.trustedanalytics.cfbroker.store.api.BrokerStore<T>IOExceptionCopyright © 2016. All rights reserved.