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