# Striim 3.10.1 documentation

##### WAEvent functions

Use the following functions in CQs with an input stream of type WAEvent.

function

description

notes

BEFORE(String)

returns the values in the WAEvent before array of the specified stream as a java.util.HashMap, with column names as the keys

clearUserdata

DATA[Integer]

returns the value from field number Integer in a WAEvent data array

DATA(String)

returns the values in the WAEvent data array of the specified stream as a java.util.HashMap, with column names as the keys

getUserdata

IS_PRESENT()

maxOccurs(String)

value that had the maximum occurrences in the String

see MultiLogApp for examples

META(<stream name>, key)

extracts a value from a WAEvent METADATA map

MODIFY()

putUserdata

replaceData()

replaceString()

replaceStringRegex()

USERDATA(stream name,key)

extracts a value from a WAEvent USERDATA map