QueryCountWorker()QueryCountMaster objects instantiate and run a distributed query count computation
new()Create a new QueryCountMaster object.
QueryCountMaster$new(defn, debug = FALSE)defnthe computation definition
debuga 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)nameof the site
urlweb url of the site; exactly one of url or worker should be specified
workerworker 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)deepWhether to make a deep clone.
QueryCountWorker() which goes hand-in-hand with this object