Constructs a time window for use by the query.
Namespace: StreamBase.LiveView.APIAssembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 10.2.1.2 (10.2.1.2)
Syntax
C# | Visual Basic | Visual C++ |
Parameters
- windowStartTimeExpr
- String
The expression representing the start of the window, for example NOW-seconds(5). You may also use the word begin. If left null or empty, begin is used.
- windowEndTimeExpr
- String
The expression representing the end of the window, for example NOW-seconds(2) You may also use the word end. If left null or empty, end is used.
- timestampField
- String
The name of a timestamp field at the target table, for example ArrivalTime Must not be null or empty, and must point to a field of type TIMESTAMP.
Exceptions
Exception | Condition |
---|---|
StreamBase.SB..::..NullValueException | If the timestampField parameter is left null or empty. |