#' OperatorResult
#'
#' @export
#' @format \code{\link{R6Class}} object, super class \code{\link{SciObject}}.
#' @field tables list of class \code{\link{Table}}.
#' @field joinOperators list of class \code{\link{JoinOperator}}.
OperatorResult <- R6::R6Class("OperatorResult", inherit = SciObject, public = list(tables = NULL,
joinOperators = NULL, initialize = function(json = NULL) {
super$initialize(json = json)
}, init = function() {
super$init()
self$tables = list()
self$joinOperators = list()
}, initJson = function(json) {
super$initJson(json)
self$tables = lapply(json$tables, createObjectFromJson)
self$joinOperators = lapply(json$joinOperators, createObjectFromJson)
}, toTson = function() {
m = super$toTson()
m$kind = tson.scalar("OperatorResult")
m$tables = lapply(self$tables, function(each) each$toTson())
m$joinOperators = lapply(self$joinOperators, function(each) each$toTson())
return(m)
}))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.