FuncCall
Represents a function call https://datagrok.ai/help/datagrok/concepts/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
getadHoc():boolean
setadHoc(a):void
Parameters
| Parameter | Type |
|---|---|
a | boolean |
Returns
boolean
Source
author
getauthor():User
Who created entity *
Returns
Source
context
getcontext():Context
Function call execution context.
setcontext(context):void
Parameters
| Parameter | Type |
|---|---|
context | Context |
Returns
Source
createdOn
getcreatedOn():Dayjs
Time when entity was created *
Returns
Dayjs
Source
debugLogger
getdebugLogger():Logger
Returns
Source
errorMessage
geterrorMessage():null|string
Error message, if this call resulted in an exception, or null.
Returns
null | string
Source
finished
getfinished():Dayjs
Returns
Dayjs
Source
friendlyName
getfriendlyName():string
Entity friendly name
setfriendlyName(x):void
Parameters
| Parameter | Type |
|---|---|
x | string |
Returns
string
Source
func
getfunc():Func
Function this call is associated with.
setfunc(func):void
Parameters
| Parameter | Type |
|---|---|
func | Func |
Returns
Source
id
getid():string
Entity ID (GUID)
setid(x):void
Parameters
| Parameter | Type |
|---|---|
x | string |
Returns
string
Source
name
getname():string
Entity short name
setname(x):void
Parameters
| Parameter | Type |
|---|---|
x | string |
Returns
string
Source
nqName
getnqName():string
Entity full-qualified name
Returns
string
Source
parentCall
getparentCall():FuncCall
setparentCall(c):void
Parameters
| Parameter | Type |
|---|---|
c | FuncCall |
Returns
Source
path
getpath():string
Entity path
Returns
string
Source
started
getstarted():Dayjs
setstarted(value):void
Parameters
| Parameter | Type |
|---|---|
value | Dayjs |
Returns
Dayjs
Source
status
getstatus():string
Returns
string
Source
updatedOn
getupdatedOn():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