Holds the configuration settings of a LiveView query.
Namespace: StreamBase.LiveView.APIAssembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 2.2.2.4176 (2.2.2.4176)
Syntax
C# | Visual Basic | Visual C++ |
public class QueryConfig
Public Class QueryConfig
public ref class QueryConfig
Members
All Members | Constructors | Fields | Properties | Methods |
Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |
Member | Description | |
---|---|---|
QueryConfig()()()() |
Constructs an empty instance of QueryConfig.
| |
CreateQueryConfig(String) |
Create a QueryConfig with the given query table. The resulting QueryString will be 'select * from <table>'
and the query will be a simple snapshot.
| |
CreateQueryConfig(IList<(Of <<'(String>)>>), String, String, Int32, QueryConfig..::..QueryTypes) |
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>'
| |
DEFAULT_ROW_LIMIT |
Default number of rows returned by a query.
| |
DEFAULT_TIME_PREDICATE_IN_MILLISECONDS |
The default delay in propagating a row that satisfies a query's predicate. The default is 0 (no delay).
| |
Equals(Object) | (Inherited from Object.) | |
FieldExpressions |
The list of fields and/or dynamic aggregation expressions to query from the table.
Dynamic aggregation expression allow you to calculate aggregate values against the table on the fly
and assign the result to a new field. For example, assuming Quantity and Price
are fields on the table, the following aggregate expression:
CopyC# Sum(Quantity * Price) AS Value | |
Fields | Obsolete.
The list of fields to query from the table.
| |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
GroupByExpressions |
The list of GROUP BY expressions that are to be applied to this query.
| |
IncludeInternalFields |
Whether to include internal fields in the query results.
| |
Limit | Obsolete.
The maximum number of rows to return with the query. -1 means no limit is imposed.
If/when the number of returned rows exceeds limit, an exception
is thrown and the query is closed.
| |
MaxResultSetSize |
The maximum number of rows to return with the query. -1 means no limit is imposed.
If/when the number of returned rows exceeds limit, an exception
is thrown and the query is closed.
| |
NO_ROW_LIMIT |
Unlimited number of rows.
| |
Predicate |
The predicate on which to filter (i.e. the WHERE clause).
| |
QueryString |
String representation of the QueryConfig, in SQL-like syntax.
The format is:
select [* | col [,col]*] from table where <predicate> [limit <#rows>] | |
QueryType |
The kind of query desired.
| |
SetTopN(OrderDefinition, Int32) |
Return only the top N results according to the order definition.
A continuous query will remove a row when it has added a new row to
keep the total result set no larger than N.
| |
Table |
The table to query (i.e. the FROM clause).
| |
TimePredicateInMilliseconds |
The number of millisecods to delay before propagating a row that satisfies a query's predicate.
| |
TimeWindow |
Configures this query as a time-windowed query, using the given start and end time
expressions, against the given timestamp field from the target table.
See QueryConfig..::..TimeWindowParams.
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |