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
Public property Application Gets the hosting application. (Inherited from ApplicationObject.)
Public property Description Gets the description of this query.
Public property InputStreamBindings Gets the collection of input stream bindings.
Public property IsResilient Gets or sets a value that indicates whether the query is resilient.
Public property Name Gets the name of this object. (Inherited from CepObject.)
Public property OutputStreamBindings Gets the collection of output stream bindings.
Public property QueryTemplateName Gets the name of the query template associated with this query.
Public property ShortName Gets the short name of the CEP object. (Inherited from CepObject.)

Top

Methods

  Name Description
Public method Delete Deletes the object. (Inherited from ApplicationObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Start Starts the query asynchronously.
Public method Stop Stops this query.
Public method ToString (Inherited from Object.)

Top

Extension Methods

  Name Description
Public Extension Method ToStream<TPayload>() Overloaded. Creates a new input stream bound to the output event stream of an existing query. (Defined by DynamicQueryCompositionExtensions.)
Public Extension Method 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.)
Public Extension Method 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.)
Public Extension Method 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
Protected field _name Name of the CepObject, which is a full Uri path. (Inherited from CepObject.)
Protected field _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.

See Also

Reference

Microsoft.ComplexEventProcessing Namespace