Skip to main content

@terascope/data-mate / transforms/helpers / VariableState

Class: VariableState

Defined in: data-mate/src/transforms/helpers.ts:172

Constructors

new VariableState()

new VariableState(variables?): VariableState

Defined in: data-mate/src/transforms/helpers.ts:175

Parameters

ParameterType
variables?AnyObject

Returns

VariableState

Methods

createVariable()

createVariable(field, value): string

Defined in: data-mate/src/transforms/helpers.ts:191

Parameters

ParameterType
fieldstring
valueunknown

Returns

string


getVariables()

getVariables(): AnyObject

Defined in: data-mate/src/transforms/helpers.ts:207

Shallow clones and sorts the keys

Returns

AnyObject