Skip to main content

FuncCall

Defined in: src/functions.ts:285

Represents a function call https://datagrok.ai/help/datagrok/concepts/functions/function-call

Extends

Constructors

Constructor

new FuncCall(dart): FuncCall

Defined in: src/functions.ts:303

Parameters

ParameterType
dartany

Returns

FuncCall

Overrides

Entity.constructor

Properties

PropertyModifierTypeDescriptionOverridesDefined in
auxpublicany--src/functions.ts:300
dartreadonlyany-Entity.dartsrc/functions.ts:286
inputParamspublicFuncCallParamsInput parameter metadata. See inputs for parameter values.-src/functions.ts:295
inputspublicobjectNamed input values. See inputParams for parameter metadata.-src/functions.ts:289
optionspublicany--src/functions.ts:301
outputParamspublicFuncCallParamsOutput parameter metadata. See outputs for parameter values.-src/functions.ts:298
outputspublicobjectNamed output values. See outputParams for parameter metadata.-src/functions.ts:292

Accessors

adHoc

Get Signature

get adHoc(): boolean

Defined in: src/functions.ts:337

Returns

boolean

Set Signature

set adHoc(a): void

Defined in: src/functions.ts:338

Parameters
ParameterType
aboolean
Returns

void


author

Get Signature

get author(): User

Defined in: src/functions.ts:340

Who created entity *

Returns

User

Overrides

Entity.author


context

Get Signature

get context(): Context

Defined in: src/functions.ts:350

Function call execution context.

Returns

Context

Set Signature

set context(context): void

Defined in: src/functions.ts:351

Parameters
ParameterType
contextContext
Returns

void


createdOn

Get Signature

get createdOn(): Dayjs

Defined in: src/entities/entity.ts:50

Time when entity was created *

Returns

Dayjs

Inherited from

Entity.createdOn


debugLogger

Get Signature

get debugLogger(): Logger

Defined in: src/functions.ts:342

Returns

Logger


entityType

Get Signature

get entityType(): string

Defined in: src/entities/entity.ts:66

Entity type name *

Returns

string

Inherited from

Entity.entityType


errorMessage

Get Signature

get errorMessage(): string | null

Defined in: src/functions.ts:354

Error message, if this call resulted in an exception, or null.

Returns

string | null


finished

Get Signature

get finished(): Dayjs

Defined in: src/functions.ts:333

Returns

Dayjs


friendlyName

Get Signature

get friendlyName(): string

Defined in: src/entities/entity.ts:36

Entity friendly name

Returns

string

Set Signature

set friendlyName(x): void

Defined in: src/entities/entity.ts:37

Parameters
ParameterType
xstring
Returns

void

Inherited from

Entity.friendlyName


func

Get Signature

get func(): Func

Defined in: src/functions.ts:319

Function this call is associated with.

Returns

Func

Set Signature

set func(func): void

Defined in: src/functions.ts:320

Parameters
ParameterType
funcFunc
Returns

void


id

Get Signature

get id(): string

Defined in: src/entities/entity.ts:28

Entity ID (GUID)

Returns

string

Set Signature

set id(x): void

Defined in: src/entities/entity.ts:29

Parameters
ParameterType
xstring
Returns

void

Inherited from

Entity.id


name

Get Signature

get name(): string

Defined in: src/entities/entity.ts:40

Entity short name

Returns

string

Set Signature

set name(x): void

Defined in: src/entities/entity.ts:41

Parameters
ParameterType
xstring
Returns

void

Inherited from

Entity.name


nqName

Get Signature

get nqName(): string

Defined in: src/entities/entity.ts:44

Entity full-qualified name

Returns

string

Inherited from

Entity.nqName


parentCall

Get Signature

get parentCall(): FuncCall

Defined in: src/functions.ts:322

Returns

FuncCall

Set Signature

set parentCall(c): void

Defined in: src/functions.ts:323

Parameters
ParameterType
cFuncCall
Returns

void


path

Get Signature

get path(): string

Defined in: src/entities/entity.ts:47

Entity path

Returns

string

Inherited from

Entity.path


started

Get Signature

get started(): Dayjs

Defined in: src/functions.ts:325

Returns

Dayjs

Set Signature

set started(value): void

Defined in: src/functions.ts:327

Parameters
ParameterType
valueDayjs
Returns

void


status

Get Signature

get status(): string

Defined in: src/functions.ts:335

Returns

string


updatedOn

Get Signature

get updatedOn(): Dayjs | null

Defined in: src/entities/entity.ts:53

Time when entity was updated *

Returns

Dayjs | null

Inherited from

Entity.updatedOn

Methods

buildEditor()

buildEditor(root, options?): Promise<InputBase<any>[]>

Defined in: src/functions.ts:391

Parameters

ParameterType
rootHTMLDivElement
options?{ condensed?: boolean; showTableSelectors?: boolean; }
options.condensed?boolean
options.showTableSelectors?boolean

Returns

Promise<InputBase<any>[]>


call()

call(showProgress?, progress?, options?): Promise<FuncCall>

Defined in: src/functions.ts:370

Executes the function call

Parameters

ParameterTypeDefault value
showProgressbooleanfalse
progress?ProgressIndicatorundefined
options?{ processed?: boolean; report?: boolean; }undefined
options.processed?booleanundefined
options.report?booleanundefined

Returns

Promise<FuncCall>


callSync()

callSync(options?): FuncCall

Defined in: src/functions.ts:380

Executes the function call synchronously

Parameters

ParameterType
options?{ processed?: boolean; report?: boolean; }
options.processed?boolean
options.report?boolean

Returns

FuncCall


cancel()

cancel(): Promise<void>

Defined in: src/functions.ts:375

Returns

Promise<void>


clone()

clone(): FuncCall

Defined in: src/functions.ts:404

Makes a shallow copy.

Returns

FuncCall


edit()

edit(): void

Defined in: src/functions.ts:385

Shows the corresponding dialog (or view).

Returns

void


getEditor()

getEditor(condensed?, showTableSelectors?): Promise<HTMLDivElement>

Defined in: src/functions.ts:387

Parameters

ParameterType
condensed?boolean
showTableSelectors?boolean

Returns

Promise<HTMLDivElement>


getOutputParamValue()

getOutputParamValue(): any

Defined in: src/functions.ts:357

Returns the first output parameter value, or null.

Returns

any


getParamValue()

getParamValue(name): any

Defined in: src/functions.ts:345

Returns function call parameter value

Parameters

ParameterType
namestring

Returns

any


getProperties()

getProperties(): Promise<{[index: string]: any; }>

Defined in: src/entities/entity.ts:69

Gets entity properties

Returns

Promise<{[index: string]: any; }>

Inherited from

Entity.getProperties


getResultViews()

getResultViews(): ViewBase[]

Defined in: src/functions.ts:396

Returns views with result. Should be called on succeeded FuncCall *

Returns

ViewBase[]


hasTag()

hasTag(tag): boolean

Defined in: src/entities/entity.ts:81

Parameters

ParameterType
tagstring

Returns

boolean

Inherited from

Entity.hasTag


newId()

newId(): void

Defined in: src/entities/entity.ts:32

Generates new id for this entity.

Returns

void

Inherited from

Entity.newId


setAuxValue()

setAuxValue(name, value): void

Defined in: src/functions.ts:361

Parameters

ParameterType
namestring
valueany

Returns

void


setParamValue()

setParamValue(name, value): void

Defined in: src/functions.ts:365

Parameters

ParameterType
namestring
valueany

Returns

void


setProperties()

setProperties(props): Promise<any>

Defined in: src/entities/entity.ts:74

Sets entity properties

Parameters

ParameterType
props{[index: string]: any; }

Returns

Promise<any>

Inherited from

Entity.setProperties


tag()

tag(tag): boolean

Defined in: src/entities/entity.ts:84

Adds a specified tag

Parameters

ParameterType
tagstring

Returns

boolean

Inherited from

Entity.tag


toString()

toString(): string

Defined in: src/entities/entity.ts:79

Returns a string representing the object

Returns

string

Inherited from

Entity.toString


unTag()

unTag(tag): boolean

Defined in: src/entities/entity.ts:87

Removes a specified tag

Parameters

ParameterType
tagstring

Returns

boolean

Inherited from

Entity.unTag