Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | See Also
StreamBase Client API
QueryConfig..::..TimeWindowParams Constructor

Constructs a time window for use by the query.

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

# 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

Exception | Condition
--- | ---
StreamBase.SB..::..NullValueException | If the timestampField parameter is left null or empty.

# See Also

QueryConfig..::..TimeWindowParams Class
StreamBase.LiveView.API Namespace