Query Class
Represents a query object in CEP metadata.
Namespace: Microsoft.ComplexEventProcessing
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Inheritance Hierarchy
System.Object
Microsoft.ComplexEventProcessing.CepObject
Microsoft.ComplexEventProcessing.ApplicationObject
Microsoft.ComplexEventProcessing.Query
Syntax
public sealed class Query : ApplicationObject
public ref class Query sealed : ApplicationObject
[<Sealed>]
type Query =
class
inherit ApplicationObject
end
Public NotInheritable Class Query
Inherits ApplicationObject
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.) |
Methods
Name | Description | |
---|---|---|
Delete() | Deletes the object.(Inherited from ApplicationObject.) |
|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
Start() | Starts the query asynchronously. |
|
Stop() | Stops this query. |
|
ToString() | (Inherited from Object.) |
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>(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) | 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>(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.) |
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 NIB StreamInsight Server Concepts.
Examples
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.
See Also
Microsoft.ComplexEventProcessing Namespace
Return to top