Class CapabilityCheckLayer

java.lang.Object
org.apache.opendal.Layer
org.apache.opendal.layer.CapabilityCheckLayer

public class CapabilityCheckLayer extends Layer
Validates optional operation arguments against the capabilities of the wrapped service. Rejects selected unsupported write, copy, and compose options with OpenDALException.Code.Unsupported, and drops the list limit hint when the service does not support it.
See Also:
  • Constructor Details

    • CapabilityCheckLayer

      public CapabilityCheckLayer()
  • Method Details

    • layer

      protected long layer(long nativeOp)
      Specified by:
      layer in class Layer