[This is preliminary documentation and is subject to change.]
The abstract base class for query formatters, which format SIF_Query queries
in another form such as an SQL WHERE clause. The way in which a query is
formatted is determined by the subclass implementation. A subclass must
implement these methods:
- getOpenBrace
- getCloseBrace
- getOperator
- renderField
- renderValue
| C# | Visual Basic | Visual C++ |
public abstract class QueryFormatter
Public MustInherit Class QueryFormatter
public ref class QueryFormatter abstract
| All Members | Constructors | Methods | |||
| Icon | Member | Description |
|---|---|---|
| QueryFormatterQueryFormatterNew()() | Constructs a QueryFormatter | |
| Format(Query, IDictionary) | Builds a query string given a dictionary of mappings and a Query
instance. This method evaluates the conditions of that Query to produce
a textual query string in format determined by the implementation. | |
| GetOperator(GroupOperator) | Return the text that should be inserted for a logical AND or OR operation | |
| GetOperator(ComparisonOperators) | Return the text that should be inserted for a logical greater than, less than, equal or not equal comparison | |
| RenderField(IElementDef, Object) | Return the text for a field name | |
| RenderValue(String, Object) | Return the text for a field value |
| Object | ||
| QueryFormatter | ||
| SQLQueryFormatter | ||