Query Class
Represents a query object in CEP metadata.
Inheritance Hierarchy
System.Object
Microsoft.ComplexEventProcessing.CepObject
Microsoft.ComplexEventProcessing.ApplicationObject
Microsoft.ComplexEventProcessing.Query
Namespace: Microsoft.ComplexEventProcessing
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
public sealed class Query : ApplicationObject
The Query type exposes the following members.
Properties
Name | Description | |
---|---|---|
Application | Gets the hosting application. (Inherited from ApplicationObject.) | |
Description | Gets the description of this query. | |
InputStreamBindings | Gets the collection of input stream bindings. | |
IsResilient | Gets or sets a value that indicates whether the query is resilient. | |
Name | Gets the name of this object. (Inherited from CepObject.) | |
OutputStreamBindings | Gets the collection of output stream bindings. | |
QueryTemplateName | Gets the name of the query template associated with this query. | |
ShortName | Gets the short name of the CEP object. (Inherited from CepObject.) |
Top
Methods
Name | Description | |
---|---|---|
Delete | Deletes the object. (Inherited from ApplicationObject.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Start | Starts the query asynchronously. | |
Stop | Stops this query. | |
ToString | (Inherited from Object.) |
Top
Extension Methods
Name | Description | |
---|---|---|
ToStream<TPayload>() | Overloaded. Creates a new input stream bound to the output event stream of an existing query. (Defined by DynamicQueryCompositionExtensions.) | |
ToStream<TPayload>(String) | Overloaded. Creates a new input stream with a given name bound to the output event stream of an existing query. (Defined by DynamicQueryCompositionExtensions.) | |
ToStream<TPayload>(AdvanceTimeSettings) | Overloaded. Creates a new input stream with given advance time settings bound to the output event stream of an existing query. (Defined by DynamicQueryCompositionExtensions.) | |
ToStream<TPayload>(String, AdvanceTimeSettings) | Overloaded. Creates a new input stream with given name and advance time settings bound to the output event stream of an existing query. (Defined by DynamicQueryCompositionExtensions.) |
Top
Fields
Name | Description | |
---|---|---|
_name | Name of the CepObject, which is a full Uri path. (Inherited from CepObject.) | |
_shortName | Short name of the CepObject, without the full Uri path. (Inherited from CepObject.) |
Top
Remarks
Query objects are based on the specification of event sources and sinks and query templates and their binding to each other. They are entities that are registered in an application on a CEP server, so that they can be started and stopped. For more information, see StreamInsight Server Concepts.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.