frostfs-sdk-java/client/src/main/java/info/frostfs/sdk/services/ObjectClient.java
Bruk Ori f415b3063a [#XX] provide naming conventions
Signed-off-by: Ori Bruk <o.bruk@yadro.com>
2024-07-23 22:24:17 +03:00

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);
}