In file ../../src/Pegasus/Common/OperationContext.h:

class PEGASUS_COMMON_LINKAGE SubscriptionFilterQueryContainer

The SubscriptionFilterQueryContainer class contains a query filter string and a query language string.

Documentation

The SubscriptionFilterQueryContainer class contains a query filter string and a query language string. The query filter contains the whole SELECT statement from the filter associated with the subscription. This is different than the filter condition string in SubscriptionFilterConditionContainer, which only contains the WHERE clause of the filter. The query language string contains the language of the filter (eg. "WQL", "CIM:CQL").

    This container may be used by providers that wish to filter indications.
    The query filter and query langauge strings may used to constuct a QueryExpression
    object for parsing and evaluation.
    

Inheritance:


Public Fields

[more]static const String NAME
The name of this container.

Public Methods

[more] SubscriptionFilterQueryContainer (const OperationContext::Container & container)
Copy constructor.
[more] SubscriptionFilterQueryContainer (const SubscriptionFilterQueryContainer & container)
Copy constructor
[more] SubscriptionFilterQueryContainer (const String & filterQuery, const String & queryLanguage, const CIMNamespaceName & sourceNameSpace)
Constructor
[more]virtual ~SubscriptionFilterQueryContainer (void)
Destructor
[more]SubscriptionFilterQueryContainer& operator= (const SubscriptionFilterQueryContainer & container)
Assignment
[more]virtual String getName (void) const
Returns the name of this container.
[more]virtual OperationContext::Container* clone (void) const
Creates a duplicate of this container.
[more]virtual void destroy (void)
Deletes this container.
[more]String getFilterQuery (void) const
Returns the query filter string.
[more]String getQueryLanguage (void) const
Returns the query language string.
[more]CIMNamespaceName getSourceNameSpace (void) const
Returns the source namespace for the filter.

ostatic const String NAME
The name of this container. This is set to "SubscriptionFilterQueryContainer".

o SubscriptionFilterQueryContainer(const OperationContext::Container & container)
Copy constructor.
Throws:
DynamicCastFailedException If the parameter is not the correct type.
Parameters:
container - The container to be copied. It must be of type SubscriptionFilterQueryContainer.

o SubscriptionFilterQueryContainer(const SubscriptionFilterQueryContainer & container)
Copy constructor
Parameters:
container - The container to be copied.

o SubscriptionFilterQueryContainer(const String & filterQuery, const String & queryLanguage, const CIMNamespaceName & sourceNameSpace)
Constructor
Parameters:
filterQuery - String containing the query filter.
queryLanguage - String containing the language of the query filter.

ovirtual ~SubscriptionFilterQueryContainer(void)
Destructor

oSubscriptionFilterQueryContainer& operator= (const SubscriptionFilterQueryContainer & container)
Assignment
Parameters:
container - Container from which to assign.

ovirtual String getName(void) const
Returns the name of this container.
Returns:
Name of this container.

ovirtual OperationContext::Container* clone(void) const
Creates a duplicate of this container.
Returns:
Pointer to the cloned container.

ovirtual void destroy(void)
Deletes this container.

oString getFilterQuery(void) const
Returns the query filter string.
Returns:
The query filter string.

oString getQueryLanguage(void) const
Returns the query language string.
Returns:
The query language string.

oCIMNamespaceName getSourceNameSpace(void) const
Returns the source namespace for the filter.
Returns:
The source namespace.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java