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
System_CAPS_pubproperty Application

Gets the hosting application.(Inherited from ApplicationObject.)

System_CAPS_pubproperty Description

Gets the description of this query.

System_CAPS_pubproperty InputStreamBindings

Gets the collection of input stream bindings.

System_CAPS_pubproperty IsResilient

Gets or sets a value that indicates whether the query is resilient.

System_CAPS_pubproperty Name

Gets the name of this object.(Inherited from CepObject.)

System_CAPS_pubproperty OutputStreamBindings

Gets the collection of output stream bindings.

System_CAPS_pubproperty QueryTemplateName

Gets the name of the query template associated with this query.

System_CAPS_pubproperty ShortName

Gets the short name of the CEP object. (Inherited from CepObject.)

Methods

Name Description
System_CAPS_pubmethod Delete()

Deletes the object.(Inherited from ApplicationObject.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Start()

Starts the query asynchronously.

System_CAPS_pubmethod Stop()

Stops this query.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Extension Methods

Name Description
System_CAPS_pubmethod ToStream<TPayload>()

Overloaded. Creates a new input stream bound to the output event stream of an existing query.(Defined by DynamicQueryCompositionExtensions.)

System_CAPS_pubmethod 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.)

System_CAPS_pubmethod 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.)

System_CAPS_pubmethod 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