Package io.zenoh.query
Object Selector.Companion
-
- All Implemented Interfaces:
public class Selector.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static Selector.Companion
INSTANCE
-
Method Summary
-
-
Method Detail
-
tryFrom
final Selector tryFrom(String selector)
Try from.
The default way to construct a Selector.
When in string form, selectors look a lot like a URI, with similar semantics:
the
key_expr
before the first?
must be a valid key expression.the
parameters
after the first?
should be encoded like the query section of a URL:
- Parameters:
selector
- The selector expression as a String.- Returns:
An instance Selector.
-
-
-
-