Object - streams : AbstractPatternProcessor

Abstract processor encapsulating pattern processor functions.

Methods

Fields

  • lockField int
  • lock object to be used with lock blocks

process

(StreamEvent event, string? processorAlias)

returns [boolean, boolean]

Processes the StreamEvent.

Parameters

  • processorAlias string?
  • alias for the calling processor, for identification purposes (lhs, rhs).

  • Return Type

    ([boolean, boolean])
  • a tuple indicating, whether the event is promoted and whether to continue to the next processor.

setPreviousProcessor

Sets a link to the previous AbstractOperatorProcessor.

Parameters

getAlias

()

returns string

Returns the alias of the current processor.

  • Return Type

    (string)
  • alias of the processor.

setStateMachine

Set the StateMachine to the procesor and it's descendants.

Parameters

validate

Validates the processor and its configs.

remove

Removes a given StreamEvent from the StateMachine.

Parameters