Constructs a time window for use by the query.

Namespace: StreamBase.LiveView.API
Assembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 2.2.8.5956 (2.2.8.5956)

Syntax

         
 C#  Visual Basic  Visual C++ 
public TimeWindowParams(
	string windowStartTimeExpr,
	string windowEndTimeExpr,
	string timestampField
)
Public Sub New ( _
	windowStartTimeExpr As String, _
	windowEndTimeExpr As String, _
	timestampField As String _
)
public:
TimeWindowParams(
	String^ windowStartTimeExpr, 
	String^ windowEndTimeExpr, 
	String^ timestampField
)

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

ExceptionCondition
StreamBase.SB..::..NullValueExceptionIf the timestampField parameter is left null or empty.

See Also