Class Parameters

  • All Implemented Interfaces:
    io.zenoh.query.IntoParameters

    
    public final class Parameters
     implements IntoParameters
                        

    Parameters of the Selector.

    A thin facade over the shared string-backed implementation (io.zenoh.jni.query.Parameters), which mirrors Rust's zenoh::query::Parameters exactly. The string form follows the a=b;c=d|e;f=g format:

    • parameters are separated by ; (empty chunks are skipped),

    • the parameter name and value are separated by the first =,

    • in the absence of =, the parameter value is considered to be the empty string,

    • the value is taken verbatim (no percent-decoding),

    • a duplicated parameter name is allowed: get returns the FIRST occurrence, and the duplicates survive round-tripping until an insert/remove normalizes the string.