FuncCall
Represents a function call https://datagrok.ai/help/datagrok/functions/function-call*
Extends
Constructors
new FuncCall()
new FuncCall(
dart
):FuncCall
Parameters
Parameter | Type |
---|---|
dart | any |
Returns
Overrides
Source
Properties
Property | Modifier | Type | Description | Overrides |
---|---|---|---|---|
aux | public | any | - | - |
dart | readonly | any | - | Entity .dart |
inputParams | public | FuncCallParams | Input parameter metadata. See inputs for parameter values. | - |
inputs | public | object | Named input values. See inputParams for parameter metadata. | - |
options | public | any | - | - |
outputParams | public | FuncCallParams | Output parameter metadata. See outputs for parameter values. | - |
outputs | public | object | Named output values. See outputParams for parameter metadata. | - |
Accessors
adHoc
get
adHoc():boolean
set
adHoc(a
):void
Parameters
Parameter | Type |
---|---|
a | boolean |
Returns
boolean
Source
author
get
author():User
Who created entity *
Returns
Source
context
get
context():Context
Function call execution context.
set
context(context
):void
Parameters
Parameter | Type |
---|---|
context | Context |
Returns
Source
createdOn
get
createdOn():Dayjs
Time when entity was created *
Returns
Dayjs
Source
errorMessage
get
errorMessage():null
|string
Error message, if this call resulted in an exception, or null.
Returns
null
| string
Source
finished
get
finished():Dayjs
Returns
Dayjs
Source
friendlyName
get
friendlyName():string
Entity friendly name
set
friendlyName(x
):void
Parameters
Parameter | Type |
---|---|
x | string |
Returns
string
Source
func
get
func():Func
Function this call is associated with.
set
func(func
):void
Parameters
Parameter | Type |
---|---|
func | Func |
Returns
Source
id
get
id():string
Entity ID (GUID)
set
id(x
):void
Parameters
Parameter | Type |
---|---|
x | string |
Returns
string
Source
name
get
name():string
Entity short name
set
name(x
):void
Parameters
Parameter | Type |
---|---|
x | string |
Returns
string
Source
nqName
get
nqName():string
Entity full-qualified name
Returns
string
Source
parentCall
get
parentCall():FuncCall
set
parentCall(c
):void
Parameters
Parameter | Type |
---|---|
c | FuncCall |
Returns
Source
path
get
path():string
Entity path
Returns
string
Source
started
get
started():Dayjs
set
started(value
):void
Parameters
Parameter | Type |
---|---|
value | Dayjs |
Returns
Dayjs
Source
status
get
status():string
Returns
string
Source
updatedOn
get
updatedOn():null
|Dayjs
Time when entity was updated *
Returns
null
| Dayjs
Source
Methods
buildEditor()
buildEditor(
root
,options
?):Promise
<InputBase
<any
>[]>
Parameters
Parameter | Type |
---|---|
root | HTMLDivElement |
options ? | object |
options.condensed ? | boolean |
options.showTableSelectors ? | boolean |
Returns
Promise
<InputBase
<any
>[]>
Source
call()
call(
showProgress
,progress
?,options
?):Promise
<FuncCall
>
Executes the function call
Parameters
Parameter | Type | Default value |
---|---|---|
showProgress | boolean | false |
progress ? | ProgressIndicator | undefined |
options ? | object | undefined |
options.processed ? | boolean | undefined |
options.report ? | boolean | undefined |
Returns
Promise
<FuncCall
>
Source
callSync()
callSync(
options
?):FuncCall
Executes the function call synchronously
Parameters
Parameter | Type |
---|---|
options ? | object |
options.processed ? | boolean |
options.report ? | boolean |
Returns
Source
cancel()
cancel():
Promise
<void
>
Returns
Promise
<void
>
Source
clone()
clone():
FuncCall
Makes a shallow copy.
Returns
Source
edit()
edit():
void
Shows the corresponding dialog (or view).
Returns
void
Source
getEditor()
getEditor(
condensed
?,showTableSelectors
?):Promise
<HTMLDivElement
>
Parameters
Parameter | Type |
---|---|
condensed ? | boolean |
showTableSelectors ? | boolean |
Returns
Promise
<HTMLDivElement
>
Source
getOutputParamValue()
getOutputParamValue():
any
Returns the first output parameter value, or null.
Returns
any
Source
getParamValue()
getParamValue(
name
):any
Returns function call parameter value
Parameters
Parameter | Type | Description |
---|---|---|
name | string |
Returns
any
Source
getProperties()
getProperties():
Promise
<object
>
Gets entity properties
Returns
Promise
<object
>
Inherited from
Source
getResultViews()
getResultViews():
ViewBase
[]
Returns views with result. Should be called on succeeded FuncCall *
Returns
ViewBase
[]
Source
hasTag()
hasTag(
tag
):boolean
Parameters
Parameter | Type |
---|---|
tag | string |
Returns
boolean
Inherited from
Source
newId()
newId():
void
Generates new id for this entity.
Returns
void
Inherited from
Source
setAuxValue()
setAuxValue(
name
,value
):void
Parameters
Parameter | Type |
---|---|
name | string |
value | any |
Returns
void
Source
setParamValue()
setParamValue(
name
,value
):void
Parameters
Parameter | Type |
---|---|
name | string |
value | any |
Returns
void
Source
setProperties()
setProperties(
props
):Promise
<any
>
Sets entity properties
Parameters
Parameter | Type |
---|---|
props | object |
Returns
Promise
<any
>
Inherited from
Source
tag()
tag(
tag
):boolean
Adds a specified tag
Parameters
Parameter | Type |
---|---|
tag | string |
Returns
boolean
Inherited from
Source
toString()
toString():
string
Returns a string representing the object
Returns
string
Inherited from
Source
unTag()
unTag(
tag
):boolean
Removes a specified tag
Parameters
Parameter | Type |
---|---|
tag | string |
Returns
boolean