Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides methods for creating or resolving a condition tree that was obtained by parsing a query string.
Inheritance
The IConditionFactory interface inherits from the IUnknown interface. IConditionFactory also has these types of members:
Methods
The IConditionFactory interface has these methods.
IConditionFactory::MakeAndOr Creates a condition node that is a logical conjunction (AND) or disjunction (OR) of a collection of subconditions. |
IConditionFactory::MakeLeaf Creates a leaf condition node that represents a comparison of property value and constant value. |
IConditionFactory::MakeNot Creates a condition node that is a logical negation (NOT) of another condition (a subnode of this node). (IConditionFactory.MakeNot) |
IConditionFactory::Resolve 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. |
Remarks
The StructuredQuerySample demonstrates how to read lines from the console, parse them using the system schema, and display the resulting condition trees.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP2, Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 with SP1 [desktop apps only] |
Target Platform | Windows |
Header | structuredquery.h |
Redistributable | Windows Desktop Search (WDS) 3.0 |
See also
Reference