Advantage Client Engine
Evaluate a filter expression to determine its optimization level
UNSIGNED32 |
AdsEvalAOF (ADSHANDLE hTable, UNSIGNED8 *pucFilter, UNSIGNED16 *pusOptLevel); |
hTable (I) |
Table or cursor for which the AOF is being considered. |
pucFilter (I) |
Filter expression to evaluate to determine optimization level. |
pusOptLevel (O) |
Return optimization level of the given expression. Values are ADS_OPTIMIZED_FULL, ADS_OPTIMIZED_PART, ADS_OPTIMIZED_NONE. |
AdsEvalAOF can be used to determine the optimization level of a potential filter expression. It performs the same parsing as AdsSetAOF but does not actually build the filter.
For more information, see Advantage Optimized Filters.