groimp-platform:xl-operators
This is an old revision of the document!
XL-Operators are designed to simplify the usage of XL queries and rewriting rules. Moreover these operators can improve the performance of a query due to there deep integration into the model. In the following the operators a separated into Analytical and selection operators to either get a value for analysis or a node/ a collection of nodes for rewriting.
Analytical Operators
Command | description | example |
min((*query*)[value]) | returns the smallest value | min((*F*)[length]) |
max((*query*)[value]) | returns the largest value | max((*F*)[length]) |
sum((*query*)[value]) | calculate the sum of the values | sum((*F*)[length]) |
prod((*query*)[value]) | unclear | prod((*F*)[length]) |
count((*query*) ) | returns the number of pattern matching the query | count((*F*) ) |
empty((*query*) ) | returns true if no pattern matches the query | empty((*F*) ) |
Selection Operators
command | description | example |
selectWhere() | ||
selectWhereMin() | ||
selectWhereMax() | ||
selectRandomly() |
groimp-platform/xl-operators.1714494215.txt.gz · Last modified: 2024/04/30 18:23 by timOb