Window

Window Nodes are utilized to create windows with certian spatial and/or quantititave limits.

  • Every Window Node is defined by a specific schema for a window definition. (cf. Step 1 - General)

  • Window Node then enables the user to select a Window Type and set up its parameters. (cf. Step 2 - Window Type )

  • Window Nodes automatically expire events based on their Window Type and parameters, without manual deletion. (cf. Step 3 - Window Parameters )

  • However, you have the flexibility to choose whether to use Expired, Current, or both Events Types to relay to a succeeding node. (cf. Step 4 - Event Type)

Their purpose is to economize memory usage, facilitate aggregation across queries, and enable simultaneous querying of the same data, enhancing efficiency and data management in complex query environments.

Window Nodes are utilized in Applications to insert to Processing Nodes, join with Buffer Nodes , or consume output from Processing Nodes.

Step 1 - General

Name and Description

When configuring a Window Node in Cortex, Step 1 involves several key actions.

  • Assign a unique name to the Node, distinct from other Nodes in your Application.

  • Optionally, add a Description for detail and clarity.

  • The Node Name and Description will help distinguish it in the Canvas via Node Preview.

New Attributes

Defining new Attributes for the Node is a crucial part of Step 2. Here, you must not only name these Attributes but also select their respective Attribute Types.

  • Specify New Attributes for the Node and select their Attribute Types.

  • This setup is crucial for Cortex to work and you cannot complete node setup unless you have defined at least one New Attribute and defined its Attribute Type.

Step 2 - Window Type

In this Step, you will decide on the Window Type that will be implemented in the Window Node.

For further information you can refer to Windows.

In the next Step, you will configure corresponding settings of the Window Type.

Step 3 - Window Parameters

Cron Window

You can use a Cron Window that XXX

For further information and configuration instructions refer to Cron Window.

Delay Window

You can use a Delay Window that XXX

For further information and configuration instructions refer to Delay Window.

Unique Event Window

You can use a Unique Event Window that XXX

For further information and configuration instructions refer to Unique Event Window.

First Event Window

You can use a First Event Window that XXX

For further information and configuration instructions refer to First Event Window.

Sliding Event Count Window

You can use a Sliding Event Count Window that XXX

For further information and configuration instructions refer to Sliding Event Count Window.

Tumbling Event Count Window

You can use a Tumbling Event Count Window that XXX

For further information and configuration instructions refer to Tumbling Event Count Window.

Session Window

You can use a Session Window that XXX

For further information and configuration instructions refer to Session Window.

Tumbling Event Sort Window

You can use a Tumbling Event Sort Window that XXX

For further information and configuration instructions refer to Tumbling Event Sort Window.

Sliding Time Window

You can use a Sliding Time Window that XXX

For further information and configuration instructions refer to Sliding Time Window.

Tumbling Time Window

You can use a Tumbling Time Window that XXX

For further information and configuration instructions refer to Tumbling Time Window.

Sliding Time and Event Count Window

You can use a Sliding Time and Event Count Window that XXX

For further information and configuration instructions refer to Sliding Time and Event Count Window.

Step 4 - Event Type

At Step 4; you will decide on the "freshness" of events that will be sent to the output node. Event Type choice is where you define "freshness" that is defined via Window Expiry.

"Fresh" events are called Current Events that have not expired and are within the temporal or quantitative bound that a window constitutes.

Any Window Node also accommodates some "expired" events as windows keep events based on a time/quantity condition (cf. Windows). As these expired events have already expired due to Window Expiry; they are considered "stale/not-fresh" compared to Current Events that have not expired yet.

Windows additionally accommodate Expired Events along with Current Events that are considered "fresh" in their Window Queue.

Event Type

Event Type is crucial for identifying which type of events will be relayed to the output node when an input node should send these events.

Event Type
Description

Current Events

Only events that are actively within the input node window's defined criteria will be sent to the output node.

Expired Events

Only events that were once current but have now exceeded the window's criteria will be sent to the output node.

All Events

Both current and expired events at the window will be relayed to the output node.

Step 5 - Preview

In Preview Step, you're provided with a concise summary of all the changes you've made to the Window Node. This step is pivotal for reviewing and ensuring that your configurations are as intended before completing node setup.

  • Viewing Configurations: Preview Step presents a consolidated view of your node setup.

  • Saving and Exiting: Use the Complete button to save your changes and exit the node and return back to Canvas.

  • Revisions: Use the Back button to return to any Step of modify node setup.

The Preview Step offers a user-friendly summary to manage and finalize node settings in Cortex.

Last updated