public PatternStreamSpecCompiled( EvalRootForgeNode root, IDictionary<string, Pair<EventType, string>> taggedEventTypes, IDictionary<string, Pair<EventType, string>> arrayEventTypes, ISet<string> allTags, ViewSpec[] viewSpecs, string optionalStreamName, StreamSpecOptions streamSpecOptions, bool suppressSameEventMatches, bool discardPartialsOnMatch) : base(optionalStreamName, viewSpecs, streamSpecOptions) { IsSuppressSameEventMatches = suppressSameEventMatches; IsDiscardPartialsOnMatch = discardPartialsOnMatch; Root = root; AllTags = allTags; var copy = new LinkedHashMap<string, Pair<EventType, string>>(); copy.PutAll(taggedEventTypes); TaggedEventTypes = copy; copy = new LinkedHashMap<string, Pair<EventType, string>>(); copy.PutAll(arrayEventTypes); ArrayEventTypes = copy; }
/// <summary> /// Ctor. /// </summary> /// <param name="optionalStreamName">stream name, or null if none supplied</param> /// <param name="viewSpecs">specifies what view to use to derive data</param> /// <param name="streamSpecOptions"> /// indicates additional options such as unidirectional stream or retain-union or /// retain-intersection /// </param> public StreamSpecBase( string optionalStreamName, ViewSpec[] viewSpecs, StreamSpecOptions streamSpecOptions) { OptionalStreamName = optionalStreamName; ViewSpecs = viewSpecs; Options = streamSpecOptions; }
/// <summary> /// Ctor. /// </summary> /// <param name="rawFilterSpec">is unvalidated filter specification</param> /// <param name="viewSpecs">is the view definition</param> /// <param name="optionalStreamName">is the stream name if supplied, or null if not supplied</param> /// <param name="streamSpecOptions">additional options, such as unidirectional stream in a join</param> public FilterStreamSpecRaw( FilterSpecRaw rawFilterSpec, ViewSpec[] viewSpecs, string optionalStreamName, StreamSpecOptions streamSpecOptions) : base(optionalStreamName, viewSpecs, streamSpecOptions) { RawFilterSpec = rawFilterSpec; }
public TableQueryStreamSpec( string optionalStreamName, ViewSpec[] viewSpecs, StreamSpecOptions streamSpecOptions, TableMetaData table, IList<ExprNode> filterExpressions) : base(optionalStreamName, viewSpecs, streamSpecOptions) { this.table = table; this.filterExpressions = filterExpressions; }
public NamedWindowConsumerStreamSpec( NamedWindowMetaData namedWindow, string optionalAsName, ViewSpec[] viewSpecs, IList<ExprNode> filterExpressions, StreamSpecOptions streamSpecOptions, PropertyEvaluatorForge optPropertyEvaluator) : base(optionalAsName, viewSpecs, streamSpecOptions) { NamedWindow = namedWindow; FilterExpressions = filterExpressions; OptPropertyEvaluator = optPropertyEvaluator; }
public PatternStreamSpecRaw( EvalForgeNode evalForgeNode, ViewSpec[] viewSpecs, string optionalStreamName, StreamSpecOptions streamSpecOptions, bool suppressSameEventMatches, bool discardPartialsOnMatch) : base(optionalStreamName, viewSpecs, streamSpecOptions) { EvalForgeNode = evalForgeNode; IsSuppressSameEventMatches = suppressSameEventMatches; IsDiscardPartialsOnMatch = discardPartialsOnMatch; }
/// <summary> /// Ctor. /// </summary> /// <param name="windowName">the window name</param> /// <param name="viewSpecs">the view definitions</param> /// <param name="streamSpecOptions">options such as retain-union etc</param> /// <param name="insert">true for insert-INFO</param> /// <param name="insertFilter">optional filter expression</param> /// <param name="columns">list of columns, if using column syntax</param> /// <param name="asEventTypeName">Name of as event type.</param> public CreateWindowDesc( String windowName, IList <ViewSpec> viewSpecs, StreamSpecOptions streamSpecOptions, bool insert, ExprNode insertFilter, IList <ColumnDesc> columns, String asEventTypeName) { WindowName = windowName; ViewSpecs = viewSpecs; IsInsert = insert; InsertFilter = insertFilter; StreamSpecOptions = streamSpecOptions; Columns = columns; AsEventTypeName = asEventTypeName; }