QueryCountWorker()
QueryCountMaster
objects instantiate and run a distributed query count computation
new()
Create a new QueryCountMaster
object.
QueryCountMaster$new(defn, debug = FALSE)
defn
the computation definition
debug
a flag for debugging, default FALSE
a new QueryCountMaster
object
kosher()
Check if inputs and state of object are sane. For future use
QueryCountMaster$kosher()
TRUE
or FALSE
queryCount()
Run the distributed query count and return the result
QueryCountMaster$queryCount()
the count
getSites()
Retrieve the value of the private sites
field
QueryCountMaster$getSites()
addSite()
Add a url or worker object for a site for participating in the distributed computation. The worker object can be used to avoid complications in debugging remote calls during prototyping.
QueryCountMaster$addSite(name, url = NULL, worker = NULL)
name
of the site
url
web url of the site; exactly one of url
or worker
should be specified
worker
worker object for the site; exactly one of url
or worker
should be specified
run()
Run the distributed query count
QueryCountMaster$run()
the count
clone()
The objects of this class are cloneable with this method.
QueryCountMaster$clone(deep = FALSE)
deep
Whether to make a deep clone.
QueryCountWorker()
which goes hand-in-hand with this object