Module glc_lib

Query processing functions.

Description

Query processing functions.

Function Index

matches/2Test if an event matches a query.
onoutput/1Return the output action of a query.
onoutput/2Modify the output action of a query.
reduce/1Return a reduced version of a query.

Function Details

matches/2

matches(X1, Event) -> any()

Test if an event matches a query. This function is only intended to be used for testing purposes.

onoutput/1

onoutput(Query::glc_ops:op()) -> output | no_return()

Return the output action of a query.

onoutput/2

onoutput(Action::any(), Query::glc_ops:op()) -> no_return()

Modify the output action of a query.

reduce/1

reduce(Query) -> any()

Return a reduced version of a query.

The purpose of this function is to ensure that a query filter is in the simplest possible form. The query filter returned from this function is functionally equivalent to the original.


Generated by EDoc