Package ca.uqac.lif.cep.tuples
Manipulate tuples using SQL-like operations such as
SELECT
,
FROM
and WHERE
.- Author:
- Sylvain Hallé
-
Class Summary Class Description AppendToTuple AttributeExpression Association between an expression to compute a value from an AttributeGroup and an attribute name.AttributeGroup A group of attributes taken from the merging of one or more tuples.Blow Breaks a single tuple into multiple tuples, one for each key-value pair of the original tuple.CacheMap<T> Implementation of an immutable map.ExpandAsColumns Transforms a tuple by replacing two key-value pairs by a single new key-value pair.FetchAttribute Gets the value of an attribute in aTuple
FixedTupleBuilder Utility class to create instances of tuples with a fixed schemaFrom Creates anTupleExpression
from a set of input tuples and an array of names.FromFunction The internal function performing the actual work for theFrom
processor.GetAttribute Gets the value of an attribute in anAttributeGroup
JoinSet Merges all tuples in a set with the same value for a given attribute.Main Dummy main fileMapToTuple Converts aMap
object into aTuple
MergeScalars Creates a named tuple out of multiple input traces, each containing scalar values.MergeTuples Merges the key-value pairs of multiple tuples into a single tuple.NamedMapPlaceholder ProjectTuple Creates an output tuple from input tuples by combining their values.ProjectTuple.NameFunctionPair Associates a tuple's key to a function to be evaluated on input tuplesRegexTupleBuilder Builds a tuple out of parts of text.RegexTupleBuilder.RegexAttributeNameList ScalarIntoTuple Turns a scalar object into a singleton tuple.Select Creates a Tuple from anAttributeGroup
.Select.SelectFunction The internal function performing the actual work for theFrom
processor.SpliceTupleSource A splice source that generates a stream of tuples.TransposePair Creates two Applies a triple substitution to a singleton tuple.Tuple A (named) tuple is a map between attribute names (character strings) and attribute values (any kind of Object).Tuple.MapEntry<K,V> Simple implementation of the Map interfaceTupleComparator Compares two tuples according to the values of one or many of their attributes.TupleFeeder Creates a feed of events from CRLF-separated string chunks.TupleFixed Implementation of a named tuple.TupleMap Implementation of a named tuple based on theMap
class.Where Filters a trace ofAttributeGroup
objects according to a Boolean function