HavingFilterNodeBuilder

Having filter node builder for configuring a single Having filter condition.

Properties

Methods

constructor

Definition:

constructor(yMap: Y.Map<any>)

Parameters:

ParameterTypeDescription
yMapY.Map-

getId

Gets the node ID.

Definition:

getId(): string

Returns: string

getField

Gets the field name.

Definition:

getField(): string

Returns: string

getOperator

Gets the filter operator.

Definition:

getOperator(): string | undefined

Returns: string \| undefined

getAggregate

Gets the aggregate configuration.

Definition:

getAggregate(): VBIHavingAggregate | undefined

Returns: VBIHavingAggregate \| undefined

setValue

Sets the value for the filter condition.

Definition:

setValue(value: unknown): this

Returns: this

Parameters:

ParameterTypeDescription
valueunknown- Filter value

setOperator

Sets the filter operator.

Definition:

setOperator(operator: string): this

Returns: this

Parameters:

ParameterTypeDescription
operatorstring- Operator

setAggregate

Sets the aggregate configuration.

Definition:

setAggregate(aggregate: VBIHavingAggregate): this

Returns: this

Parameters:

ParameterTypeDescription
aggregateVBIHavingAggregate- Aggregate configuration

toJSON

Exports to JSON.

Definition:

toJSON(): VBIHavingFilter

Returns: VBIHavingFilter