Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As a user, you can use the normal operators as you would without using temporal attributes. Nevertheless, the operators behave a little different. Their behavior with the temporal feature is explained in the following. Additionally, you need to define the PredictionTime, which is done with the PredictionTime operator. Additionally, you need to create some temporal attributes. We call this process temporalization, which is also explained in the following.

PredictionTime

TextBefore any operation with temporal attributes involved, you should set the prediction time. Similar to the stream time, this is a necessary step to define in which time interval you are interested. May it be just the current point in time, some time prediod in the future or in the past. Typically, you align the prediction time at the stream time. This means that you consider the start timestamp as being "now". From there, you can define your start- and endtimestamp for the prediction time interval. For example, if you want to look from "now" up until 10 seconds into the future, you can do it like this:

Code Block
/// Set the prediction time
predTime = PREDICTIONTIME({
	addtostartvalue = [0, 'SECONDS'],
	addtoendvalue = [10, 'SECONDS'],
	predictionbasetimeunit = 'SECONDS',
	alignAtEnd = false 
	},
recombine)

You can also align the prediction time interval at the end timestamp of the stream time. This can be done with alignAtEnd = true.

Temporalization

Text

Map

Text

...