Class StatOptions

java.lang.Object
org.apache.opendal.StatOptions

public class StatOptions extends Object
Options for stat operations.

All supplied conditions must hold for metadata to be returned. For direct stat operations, missing files fail with OpenDALException.Code.NotFound and failed conditions on an existing file fail with OpenDALException.Code.ConditionNotMatch. Unsupported version selection or conditions fail with OpenDALException.Code.Unsupported. Presigned stat requests validate options and capabilities without executing against storage.

An Instant outside the Rust core timestamp range fails with OpenDALException.Code.Unexpected.

Optional reference fields default to null.

  • Constructor Details

    • StatOptions

      public StatOptions()