Apache OpenDAL™ - v0.49.13
    Preparing search index...

    Class Capability

    Capability is used to describe what operations are supported by the current Operator.

    Via capability, we can know:

    • Whether current Operator supports read or not.
    • Whether current Operator supports read with if match or not.
    • What's current Operator max supports batch operations count.

    Add fields of Capabilities to be public and can be accessed directly.

    These flags describe the underlying OpenDAL operator. A flag can be true even when the Node.js binding does not expose the matching method (for example, restore).

    Index

    Constructors

    Accessors

    compose composeWithCacheControl composeWithContentDisposition composeWithContentEncoding composeWithContentType composeWithIfMatch composeWithIfNoneMatch composeWithIfNotExists composeWithIfVersionMatch composeWithIfVersionNotMatch composeWithSourceIfMatch composeWithSourceVersion composeWithUserMetadata copy copyCanMulti copyMultiMaxSize copyMultiMinSize copyWithContentLanguage copyWithContentType copyWithIfMatch copyWithIfNoneMatch copyWithIfNotExists copyWithIfVersionMatch copyWithIfVersionNotMatch copyWithSourceVersion copyWithUserMetadata createDir delete deleteMaxSize deleteWithIfMatch deleteWithIfNoneMatch deleteWithIfVersionMatch deleteWithIfVersionNotMatch deleteWithRecursive deleteWithVersion list listWithDeleted listWithGlob listWithLimit listWithRecursive listWithStartAfter listWithVersions presign presignDelete presignRead presignStat presignWrite read readWithChecksum readWithIfMatch readWithIfModifiedSince readWithIfNoneMatch readWithIfUnmodifiedSince readWithIfVersionMatch readWithIfVersionNotMatch readWithOverrideCacheControl readWithOverrideContentDisposition readWithOverrideContentType readWithSuffix readWithVersion rename renameWithIfNotExists restore restoreWithIfNotExists restoreWithVersion shared stat statWithIfMatch statWithIfModifiedSince statWithIfNoneMatch statWithIfUnmodifiedSince statWithIfVersionMatch statWithIfVersionNotMatch statWithOverrideCacheControl statWithOverrideContentDisposition statWithOverrideContentType statWithVersion write writeCanAppend writeCanCopyFrom writeCanEmpty writeCanMulti writeMultiMaxSize writeMultiMinSize writeTotalMaxSize writeWithCacheControl writeWithChecksum writeWithContentDisposition writeWithContentEncoding writeWithContentLanguage writeWithContentType writeWithExpires writeWithIfMatch writeWithIfNoneMatch writeWithIfNotExists writeWithIfVersionMatch writeWithIfVersionNotMatch writeWithUserMetadata

    Constructors

    Accessors

    • get compose(): boolean

      Indicates if the operator supports composing complete source objects.

      Returns boolean

    • get composeWithCacheControl(): boolean

      Indicates if Cache-Control can be specified during composition.

      Returns boolean

    • get composeWithContentDisposition(): boolean

      Indicates if Content-Disposition can be specified during composition.

      Returns boolean

    • get composeWithContentEncoding(): boolean

      Indicates if Content-Encoding can be specified during composition.

      Returns boolean

    • get composeWithContentType(): boolean

      Indicates if Content-Type can be specified during composition.

      Returns boolean

    • get composeWithIfMatch(): boolean

      Indicates if composition supports a destination ETag match condition.

      Returns boolean

    • get composeWithIfNoneMatch(): boolean

      Indicates if composition supports a destination ETag non-match condition.

      Returns boolean

    • get composeWithIfNotExists(): boolean

      Indicates if composition can require a missing destination.

      Returns boolean

    • get composeWithIfVersionMatch(): boolean

      Indicates if composition supports a destination version match condition.

      Returns boolean

    • get composeWithIfVersionNotMatch(): boolean

      Indicates if composition supports a destination version non-match condition.

      Returns boolean

    • get composeWithSourceIfMatch(): boolean

      Indicates if composition supports a source ETag match condition.

      Returns boolean

    • get composeWithSourceVersion(): boolean

      Indicates if composition can select a specific source version.

      Returns boolean

    • get composeWithUserMetadata(): boolean

      Indicates if custom user metadata can be attached during composition.

      Returns boolean

    • get copy(): boolean

      Indicates if copy operations are supported.

      Returns boolean

    • get copyCanMulti(): boolean

      Indicates if copy operations can be split into multiple server-side tasks.

      Returns boolean

    • get copyMultiMaxSize(): null | bigint

      Maximum size supported for segmented copy tasks.

      Returns null | bigint

    • get copyMultiMinSize(): null | bigint

      Minimum size required for segmented copy tasks.

      Returns null | bigint

    • get copyWithContentLanguage(): boolean

      Indicates if copy operations can replace the destination's Content-Language.

      Returns boolean

    • get copyWithContentType(): boolean

      Indicates if copy operations can replace the destination's Content-Type.

      Returns boolean

    • get copyWithIfMatch(): boolean

      Indicates if conditional copy operations with if-match are supported.

      Returns boolean

    • get copyWithIfNoneMatch(): boolean

      Indicates if conditional copy operations with if-none-match are supported.

      Returns boolean

    • get copyWithIfNotExists(): boolean

      Indicates if conditional copy operations with if-not-exists are supported.

      Returns boolean

    • get copyWithIfVersionMatch(): boolean

      Indicates if conditional copy operations using version match are supported.

      Returns boolean

    • get copyWithIfVersionNotMatch(): boolean

      Indicates if conditional copy operations using version non-match are supported.

      Returns boolean

    • get copyWithSourceVersion(): boolean

      Indicates if copy operations from a specific source version are supported.

      Returns boolean

    • get copyWithUserMetadata(): boolean

      Indicates if copy operations can replace the destination's user metadata.

      Returns boolean

    • get createDir(): boolean

      Indicates if directory creation is supported.

      Returns boolean

    • get delete(): boolean

      Indicates if delete operations are supported.

      Returns boolean

    • get deleteMaxSize(): null | bigint

      Maximum size supported for single delete operations.

      Returns null | bigint

    • get deleteWithIfMatch(): boolean

      Indicates if conditional delete operations using If-Match are supported.

      Returns boolean

    • get deleteWithIfNoneMatch(): boolean

      Indicates if conditional delete operations using If-None-Match are supported.

      Returns boolean

    • get deleteWithIfVersionMatch(): boolean

      Indicates if conditional delete operations using version match are supported.

      Returns boolean

    • get deleteWithIfVersionNotMatch(): boolean

      Indicates if conditional delete operations using version non-match are supported.

      Returns boolean

    • get deleteWithRecursive(): boolean

      Indicates if recursive delete operations are supported.

      Returns boolean

    • get deleteWithVersion(): boolean

      Indicates if versions delete operations are supported.

      Returns boolean

    • get list(): boolean

      Indicates if list operations are supported.

      Returns boolean

    • get listWithDeleted(): boolean

      Indicates if listing with deleted files included is supported.

      Returns boolean

    • get listWithGlob(): boolean

      Indicates if listing with a glob pattern is supported by this service stack.

      Returns boolean

    • get listWithLimit(): boolean

      Indicates if list operations support result limiting.

      Returns boolean

    • get listWithRecursive(): boolean

      Indicates if recursive listing is supported.

      Returns boolean

    • get listWithStartAfter(): boolean

      Indicates if list operations support continuation from a specific point.

      Returns boolean

    • get listWithVersions(): boolean

      Indicates if listing with versions included is supported.

      Returns boolean

    • get presign(): boolean

      Indicates if presigned URL generation is supported.

      Returns boolean

    • get presignDelete(): boolean

      Indicates if presigned URLs for delete operations are supported.

      Returns boolean

    • get presignRead(): boolean

      Indicates if presigned URLs for read operations are supported.

      Returns boolean

    • get presignStat(): boolean

      Indicates if presigned URLs for stat operations are supported.

      Returns boolean

    • get presignWrite(): boolean

      Indicates if presigned URLs for write operations are supported.

      Returns boolean

    • get read(): boolean

      Indicates if the operator supports read operations.

      Returns boolean

    • get readWithChecksum(): boolean

      Indicates if the operator supports requesting stored full-file checksum metadata. Stat and read responses may include that metadata when requested.

      Returns boolean

    • get readWithIfMatch(): boolean

      Indicates if conditional read operations using If-Match are supported.

      Returns boolean

    • get readWithIfModifiedSince(): boolean

      Indicates if conditional read operations using If-Modified-Since are supported.

      Returns boolean

    • get readWithIfNoneMatch(): boolean

      Indicates if conditional read operations using If-None-Match are supported.

      Returns boolean

    • get readWithIfUnmodifiedSince(): boolean

      Indicates if conditional read operations using If-Unmodified-Since are supported.

      Returns boolean

    • get readWithIfVersionMatch(): boolean

      Indicates if conditional read operations using version match are supported.

      Returns boolean

    • get readWithIfVersionNotMatch(): boolean

      Indicates if conditional read operations using version non-match are supported.

      Returns boolean

    • get readWithOverrideCacheControl(): boolean

      Indicates if Cache-Control header override is supported during read operations.

      Returns boolean

    • get readWithOverrideContentDisposition(): boolean

      Indicates if Content-Disposition header override is supported during read operations.

      Returns boolean

    • get readWithOverrideContentType(): boolean

      Indicates if Content-Type header override is supported during read operations.

      Returns boolean

    • get readWithSuffix(): boolean

      Indicates if suffix read operations are supported.

      Returns boolean

    • get readWithVersion(): boolean

      Indicates if versions read operations are supported.

      Returns boolean

    • get rename(): boolean

      Indicates if rename operations are supported.

      Returns boolean

    • get renameWithIfNotExists(): boolean

      Indicates if conditional rename operations with if-not-exists are supported.

      Returns boolean

    • get restore(): boolean

      Indicates if restore operations are supported.

      Returns boolean

    • get restoreWithIfNotExists(): boolean

      Indicates if conditional restore operations using if-not-exists are supported.

      Returns boolean

    • get restoreWithVersion(): boolean

      Indicates if restoring a specific version is supported.

      Returns boolean

    • get shared(): boolean

      Indicate if the operator supports shared access.

      Returns boolean

    • get stat(): boolean

      Indicates if the operator supports metadata retrieval operations.

      Returns boolean

    • get statWithIfMatch(): boolean

      Indicates if conditional stat operations using If-Match are supported.

      Returns boolean

    • get statWithIfModifiedSince(): boolean

      Indicates if conditional stat operations using If-Modified-Since are supported.

      Returns boolean

    • get statWithIfNoneMatch(): boolean

      Indicates if conditional stat operations using If-None-Match are supported.

      Returns boolean

    • get statWithIfUnmodifiedSince(): boolean

      Indicates if conditional stat operations using If-Unmodified-Since are supported.

      Returns boolean

    • get statWithIfVersionMatch(): boolean

      Indicates if conditional stat operations using version match are supported.

      Returns boolean

    • get statWithIfVersionNotMatch(): boolean

      Indicates if conditional stat operations using version non-match are supported.

      Returns boolean

    • get statWithOverrideCacheControl(): boolean

      Indicates if Cache-Control header override is supported during stat operations.

      Returns boolean

    • get statWithOverrideContentDisposition(): boolean

      Indicates if Content-Disposition header override is supported during stat operations.

      Returns boolean

    • get statWithOverrideContentType(): boolean

      Indicates if Content-Type header override is supported during stat operations.

      Returns boolean

    • get statWithVersion(): boolean

      Indicates if versions stat operations are supported.

      Returns boolean

    • get write(): boolean

      Indicates if the operator supports write operations.

      Returns boolean

    • get writeCanAppend(): boolean

      Indicates if append operations are supported.

      Returns boolean

    • get writeCanCopyFrom(): boolean

      Indicates if an open, non-append writer can copy eligible byte ranges from existing objects without transferring the copied bytes through the client. Whole-object copy is a separate capability.

      Returns boolean

    • get writeCanEmpty(): boolean

      Indicates if writing empty content is supported.

      Returns boolean

    • get writeCanMulti(): boolean

      Indicates if multiple write operations can be performed on the same object.

      Returns boolean

    • get writeMultiMaxSize(): null | bigint

      Maximum size supported for multipart uploads. For example, AWS S3 supports up to 5GiB per part in multipart uploads.

      Returns null | bigint

    • get writeMultiMinSize(): null | bigint

      Minimum size required for multipart uploads (except for the last part). For example, AWS S3 requires at least 5MiB per part.

      Returns null | bigint

    • get writeTotalMaxSize(): null | bigint

      Maximum total size supported for write operations. For example, Cloudflare D1 has a 1MB total size limit.

      Returns null | bigint

    • get writeWithCacheControl(): boolean

      Indicates if Cache-Control can be specified during write operations.

      Returns boolean

    • get writeWithChecksum(): boolean

      Indicates if non-append writes support native verification with a checksum algorithm selected by the service. Verification may cover only individual upload requests, parts, or blocks. Support for caller-selected algorithms and full-object verification depends on the service and write mode. OpenDAL rejects unsupported explicit checksum requests before performing I/O.

      Returns boolean

    • get writeWithContentDisposition(): boolean

      Indicates if Content-Disposition can be specified during write operations.

      Returns boolean

    • get writeWithContentEncoding(): boolean

      Indicates if Content-Encoding can be specified during write operations.

      Returns boolean

    • get writeWithContentLanguage(): boolean

      Indicates if a write can store Content-Language and a subsequent stat can retrieve it.

      Returns boolean

    • get writeWithContentType(): boolean

      Indicates if Content-Type can be specified during write operations.

      Returns boolean

    • get writeWithExpires(): boolean

      Indicates if writes can set a lifetime for the new file.

      Returns boolean

    • get writeWithIfMatch(): boolean

      Indicates if conditional write operations using If-Match are supported.

      Returns boolean

    • get writeWithIfNoneMatch(): boolean

      Indicates if conditional write operations using If-None-Match are supported.

      Returns boolean

    • get writeWithIfNotExists(): boolean

      Indicates if write operations can be conditional on object non-existence.

      Returns boolean

    • get writeWithIfVersionMatch(): boolean

      Indicates if conditional write operations using version match are supported.

      Returns boolean

    • get writeWithIfVersionNotMatch(): boolean

      Indicates if conditional write operations using version non-match are supported.

      Returns boolean

    • get writeWithUserMetadata(): boolean

      Indicates if custom user metadata can be attached during write operations.

      Returns boolean