Package org.apache.opendal
Class Capability
java.lang.Object
org.apache.opendal.Capability
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
If operator supports blocking.final boolean
If operator supports copy.final boolean
If operator supports create dir.final boolean
If operator supports delete.final boolean
If operator supports list.final boolean
If backend supports list with limit.final boolean
If backend support list with recursive.final boolean
If backend supports list with start after.final boolean
If operator supports presign.final boolean
If operator supports presign read.final boolean
If operator supports presign stat.final boolean
If operator supports presign write.final boolean
If operator supports read.final boolean
If operator supports read with if matched.final boolean
If operator supports read with if none match.final boolean
If operator supports read with override cache control.final boolean
if operator supports read with override content disposition.final boolean
if operator supports read with override content type.final boolean
If operator supports rename.final boolean
If operator supports shared.final boolean
If operator supports stat.final boolean
If operator supports stat with if matched.final boolean
If operator supports stat with if none match.final boolean
If operator supports write.final boolean
If operator supports write by append.final boolean
If operator supports write can be called in multi times.final long
write_multi_max_size is the max size that services support in write_multi.final long
write_multi_min_size is the min size that services support in write_multi.final boolean
If operator supports write with cache control.final boolean
If operator supports write with content disposition.final boolean
If operator supports write with content type. -
Constructor Summary
ConstructorDescriptionCapability
(boolean stat, boolean statWithIfMatch, boolean statWithIfNoneMatch, boolean read, boolean readWithIfMatch, boolean readWithIfNoneMatch, boolean readWithOverrideCacheControl, boolean readWithOverrideContentDisposition, boolean readWithOverrideContentType, boolean write, boolean writeCanMulti, boolean writeCanAppend, boolean writeWithContentType, boolean writeWithContentDisposition, boolean writeWithCacheControl, long writeMultiMaxSize, long writeMultiMinSize, boolean createDir, boolean delete, boolean copy, boolean rename, boolean list, boolean listWithLimit, boolean listWithStartAfter, boolean listWithRecursive, boolean presign, boolean presignRead, boolean presignStat, boolean presignWrite, boolean blocking, boolean shared) -
Method Summary
-
Field Details
-
stat
public final boolean statIf operator supports stat. -
statWithIfMatch
public final boolean statWithIfMatchIf operator supports stat with if matched. -
statWithIfNoneMatch
public final boolean statWithIfNoneMatchIf operator supports stat with if none match. -
read
public final boolean readIf operator supports read. -
readWithIfMatch
public final boolean readWithIfMatchIf operator supports read with if matched. -
readWithIfNoneMatch
public final boolean readWithIfNoneMatchIf operator supports read with if none match. -
readWithOverrideCacheControl
public final boolean readWithOverrideCacheControlIf operator supports read with override cache control. -
readWithOverrideContentDisposition
public final boolean readWithOverrideContentDispositionif operator supports read with override content disposition. -
readWithOverrideContentType
public final boolean readWithOverrideContentTypeif operator supports read with override content type. -
write
public final boolean writeIf operator supports write. -
writeCanMulti
public final boolean writeCanMultiIf operator supports write can be called in multi times. -
writeCanAppend
public final boolean writeCanAppendIf operator supports write by append. -
writeWithContentType
public final boolean writeWithContentTypeIf operator supports write with content type. -
writeWithContentDisposition
public final boolean writeWithContentDispositionIf operator supports write with content disposition. -
writeWithCacheControl
public final boolean writeWithCacheControlIf operator supports write with cache control. -
writeMultiMaxSize
public final long writeMultiMaxSizewrite_multi_max_size is the max size that services support in write_multi. For example, AWS S3 supports 5GiB as max in write_multi. -
writeMultiMinSize
public final long writeMultiMinSizewrite_multi_min_size is the min size that services support in write_multi. For example, AWS S3 requires at least 5MiB in write_multi expect the last one. -
createDir
public final boolean createDirIf operator supports create dir. -
delete
public final boolean deleteIf operator supports delete. -
copy
public final boolean copyIf operator supports copy. -
rename
public final boolean renameIf operator supports rename. -
list
public final boolean listIf operator supports list. -
listWithLimit
public final boolean listWithLimitIf backend supports list with limit. -
listWithStartAfter
public final boolean listWithStartAfterIf backend supports list with start after. -
listWithRecursive
public final boolean listWithRecursiveIf backend support list with recursive. -
presign
public final boolean presignIf operator supports presign. -
presignRead
public final boolean presignReadIf operator supports presign read. -
presignStat
public final boolean presignStatIf operator supports presign stat. -
presignWrite
public final boolean presignWriteIf operator supports presign write. -
blocking
public final boolean blockingIf operator supports blocking.
-
-
Constructor Details
-
Capability
public Capability(boolean stat, boolean statWithIfMatch, boolean statWithIfNoneMatch, boolean read, boolean readWithIfMatch, boolean readWithIfNoneMatch, boolean readWithOverrideCacheControl, boolean readWithOverrideContentDisposition, boolean readWithOverrideContentType, boolean write, boolean writeCanMulti, boolean writeCanAppend, boolean writeWithContentType, boolean writeWithContentDisposition, boolean writeWithCacheControl, long writeMultiMaxSize, long writeMultiMinSize, boolean createDir, boolean delete, boolean copy, boolean rename, boolean list, boolean listWithLimit, boolean listWithStartAfter, boolean listWithRecursive, boolean presign, boolean presignRead, boolean presignStat, boolean presignWrite, boolean blocking, boolean shared)
-