3 configuration options · available in Rust, Python, Node.js, Java
use opendal::Operator;
let op = Operator::via_iter("persy", [
])?;
use opendal::Operator;
let op = Operator::via_iter("persy", [
// That path to the persy data file. The directory in the path must already exist.
// ("datafile".to_string(), "...".to_string()),
// That name of the persy segment.
// ("segment".to_string(), "...".to_string()),
// That name of the persy index.
// ("index".to_string(), "...".to_string()),
])?;
Every option is passed as a string key; OpenDAL parses it into the right type. Some services may require building the binding with the matching services-* feature enabled.
| Key | Type | Required | Description |
|---|---|---|---|
datafile | string | no | That path to the persy data file. The directory in the path must already exist. |
segment | string | no | That name of the persy segment. |
index | string | no | That name of the persy index. |