IConditionFactory interface (structuredquery.h)
Provides methods for creating or resolving a condition tree that was obtained by parsing a query string.
The IConditionFactory interface inherits from the IUnknown interface. IConditionFactory also has these types of members:
The IConditionFactory interface has these methods.
Creates a condition node that is a logical conjunction (AND) or disjunction (OR) of a collection of subconditions.
Creates a leaf condition node that represents a comparison of property value and constant value.
Creates a condition node that is a logical negation (NOT) of another condition (a subnode of this node). (IConditionFactory.MakeNot)
Performs a variety of transformations on a condition tree, including the following:_resolves conditions with relative date/time expressions to conditions with absolute date/time (as a VT_FILETIME); turns other recognized named entities into condition trees with actual values; simplifies condition trees; replaces virtual or compound properties with OR trees of other properties; removes condition trees resulting from queries with property keywords that had no condition applied.
The StructuredQuerySample demonstrates how to read lines from the console, parse them using the system schema, and display the resulting condition trees.
|Minimum supported client||Windows XP with SP2, Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2003 with SP1 [desktop apps only]|
|Redistributable||Windows Desktop Search (WDS) 3.0|