Description Usage Arguments Details
Key specifier serves in the process of building an object query. It
provides an interface to define the tag
and its value that will be
sent to the repository when querying for objects.
print_specifier
is an interceptor for the standard set
of S3 print
methods. We do not want to redefine the print method for
arbitrary classes, but at the same time have the ability to handle
arbitrary specifier sub-classes (like "time"
or "class"
), whose
names could potentially collide with existing S3 methods.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | new_specifier(query, key)
is_specifier(x)
## S3 method for class 'specifier'
dollar_names(x, pattern = "")
## S3 method for class 'specifier'
dollar_name(x, i)
## S3 method for class 'specifier'
print(x, ...)
print_specifier(x)
## S3 method for class 'specifier'
print_specifier(x)
|
query |
|
key |
Tag name as appears in the search UI. |
x |
|
pattern |
regular expression; only matching names are returned. |
i |
key name. |
... |
further arguments passed to or from other methods. |
Each key specifier must adhere to this rule: if the result of the
current query contains multiple objects, return a wrapped query
object. However, if there is only one object in the repository that
matches user query, return a wrapped single result.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.