20 lines
720 B
Java
20 lines
720 B
Java
package info.frostfs.sdk.services;
|
|
|
|
import info.frostfs.sdk.dto.container.ContainerId;
|
|
import info.frostfs.sdk.dto.object.ObjectFilter;
|
|
import info.frostfs.sdk.dto.object.ObjectFrostFS;
|
|
import info.frostfs.sdk.dto.object.ObjectHeader;
|
|
import info.frostfs.sdk.dto.object.ObjectId;
|
|
import info.frostfs.sdk.jdo.PutObjectParameters;
|
|
|
|
public interface ObjectClient {
|
|
ObjectHeader getObjectHead(ContainerId containerId, ObjectId objectId);
|
|
|
|
ObjectFrostFS getObject(ContainerId containerId, ObjectId objectId);
|
|
|
|
ObjectId putObject(PutObjectParameters parameters);
|
|
|
|
void deleteObject(ContainerId containerId, ObjectId objectId);
|
|
|
|
Iterable<ObjectId> searchObjects(ContainerId cid, ObjectFilter... filters);
|
|
}
|