Psetpre:
Filter:
Classes | Streams-Patterns-Events > Patterns > Filter

Psetpre : FilterPattern : Pattern : AbstractFunction : Object

set values of one key in an event before it is passed up
Subclasses: Paddpre, Pmulpre

Description

Sets a value in an event, before it is passed up the stream. To set the value after it has been passed to the stream, use Pset.

Class Methods

Psetpre.new(name, value, pattern)

Arguments:

name

the key

value

can be a pattern or a stream. The resulting stream ends when that incoming stream ends.

pattern

the pattern

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.embedInStream(event)

.filterEvent(event, val)

.name

.name = value

.value

.value = value

Examples