Micro Focus Content Manager SDK 10.1
|
Public Member Functions | |
TrimAggregateResult | Current () |
Returns the current aggregate result where this iterator is position. You need to have got a successful result from the most recent MoveNext() or MoveToStart() before calling this. More... | |
bool | MoveNext () |
Moves the iterator forward through the result set. More... | |
void | Reset () |
Resets the iterator back to the initial state More... | |
void | Reset (bool reissueQuery) |
Resets the iterator back to the initial state, however you can optionally work with the current aggregated query results More... | |
TrimMainObjectSearch | ShowResultsForKey (string keyValue) |
gets a TrimMainObjectSearch that shows all the results for a single key value. More... | |
TrimMainObjectSearch | ShowResultsForManyKeys (StringArray keyValues) |
gets a TrimMainObjectSearch that shows all the results for one or more key values. More... | |
Properties | |
long | KeyCount [get] |
gets the number of distinct key values in the selection, which also corresponds to the number of items the iterator will return. More... | |
long | TotalHits [get] |
gets the total of all the counts for the different key values returned by this iterator. More... | |
long | RemovedKeyCount [get] |
gets the number of distinct key values that were removed from the selection because of the limitation imposed by the MaxKeyValues setting. These key values are aggregated into the the result called "Other". More... | |
long | MaxKeyValues [get, set] |
This method allows you to remove any results which have a low number of hits by restricting the list to a maximum number of items. Using this method you can then display only the most relevant key values (i.e. those with a higher number of hits) and group the remainder into a section called "other". The function returns a count of the total number of hits removed. Will automatically reset the iterator. More... | |
DateAggregationType | DateAggregationMethod [get, set] |
AggregationSortOrder | AggregationSortOrder [get, set] |
PropertyOrFieldDef | AggregateBy [get, set] |
gets or sets a ApiPropertyOrFieldDef object to indicate the property that is being used for the aggregation. More... | |
TrimAggregateResult TRIM.SDK.TrimAggregateResultIterator.Current | ( | ) |
Returns the current aggregate result where this iterator is position. You need to have got a successful result from the most recent MoveNext() or MoveToStart() before calling this.
bool TRIM.SDK.TrimAggregateResultIterator.MoveNext | ( | ) |
Moves the iterator forward through the result set.
void TRIM.SDK.TrimAggregateResultIterator.Reset | ( | ) |
Resets the iterator back to the initial state
void TRIM.SDK.TrimAggregateResultIterator.Reset | ( | bool | reissueQuery | ) |
Resets the iterator back to the initial state, however you can optionally work with the current aggregated query results
TrimMainObjectSearch TRIM.SDK.TrimAggregateResultIterator.ShowResultsForKey | ( | string | keyValue | ) |
gets a TrimMainObjectSearch that shows all the results for a single key value.
TrimMainObjectSearch TRIM.SDK.TrimAggregateResultIterator.ShowResultsForManyKeys | ( | StringArray | keyValues | ) |
gets a TrimMainObjectSearch that shows all the results for one or more key values.
|
getset |
gets or sets a ApiPropertyOrFieldDef object to indicate the property that is being used for the aggregation.
|
getset |
|
getset |
|
get |
gets the number of distinct key values in the selection, which also corresponds to the number of items the iterator will return.
|
getset |
This method allows you to remove any results which have a low number of hits by restricting the list to a maximum number of items. Using this method you can then display only the most relevant key values (i.e. those with a higher number of hits) and group the remainder into a section called "other". The function returns a count of the total number of hits removed. Will automatically reset the iterator.
|
get |
gets the number of distinct key values that were removed from the selection because of the limitation imposed by the MaxKeyValues setting. These key values are aggregated into the the result called "Other".
|
get |
gets the total of all the counts for the different key values returned by this iterator.