Class ReaderOptions

java.lang.Object
org.apache.opendal.ReaderOptions

public final class ReaderOptions extends Object
Configures version selection, read conditions, and execution options for an OperatorReader.

All supplied conditions must hold for data to be returned. When OpenDAL issues a backend read, 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.

Depending on the service, errors can surface when creating the reader or while reading. Conditions apply to every request, including streams.

Execution options apply independently of each logical range. OpenDAL uses concurrent and prefetch only for chunked reads enabled by chunk. Invalid execution values fail with OpenDALException.Code.ConfigInvalid when OpenDAL creates the reader.

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

Optional reference fields default to null.