Create a QueryConfig with field expressions, table, predicate, and row limit. The resulting QueryString will be 'select fieldexpr, fieldexpr... from <table> where <predicate> limit <limit>'

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public static QueryConfig CreateQueryConfig(
	IList<string> fieldExpressions,
	string table,
	string predicate,
	int limit,
	QueryConfig..::..QueryTypes qt
)
Public Shared Function CreateQueryConfig ( _
	fieldExpressions As IList(Of String), _
	table As String, _
	predicate As String, _
	limit As Integer, _
	qt As QueryConfig..::..QueryTypes _
) As QueryConfig
public:
static QueryConfig^ CreateQueryConfig(
	IList<String^>^ fieldExpressions, 
	String^ table, 
	String^ predicate, 
	int limit, 
	QueryConfig..::..QueryTypes qt
)

Parameters

fieldExpressions
IList<(Of <(<'String>)>)>
The list of field names and/or dynamic aggregation expressions to query. May be null to request all the table's fields.
table
String
The table to query.
predicate
String
The predicate on which to filter.
limit
Int32
The row limit to impose.
qt
QueryConfig..::..QueryTypes
The type of query to set up (Snapshot or Continuous).

Return Value

The new QueryConfig object.

See Also