Interface CountSettings
- 
 public interface CountSettingsThe interfaceCountSettingsis a collection of fields to group by when retrieving the count information of monitoring items.The field specifies the field to be sorted upon, and is from the enumerations EnumDSSXMLJobInfo,EnumDSSXMLDBConnectionInfo, andEnumDSSXMLUserConnectionInfo, for jobs, DB connections, and user connections, respectively.- Since:
- MicroStrategy Web 9.0.0
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(int level)Adds a single level to the end of the count criteria.voidclear()Clears the collection.intget(int i)Returns the item in the collection at the given 0-based index.int[]getAll()Returns the complete list of items, as an array of int.voidset(int[] levels)Sets an array of fields to the collection so that the resultant collection is same as the given array.intsize()Returns the total number of items in the collection.
 
- 
- 
- 
Method Detail- 
addvoid add(int level) Adds a single level to the end of the count criteria. If the level is already in the collection, it will be removed from its existing place in the collection and placed at the end.- Parameters:
- level- the field to group by.
 
 - 
clearvoid clear() Clears the collection.
 - 
setvoid set(int[] levels) Sets an array of fields to the collection so that the resultant collection is same as the given array.- Parameters:
- levels- an array of fields.
 
 - 
getint get(int i) Returns the item in the collection at the given 0-based index.- Parameters:
- i- the index of the item to retrieve.
- Returns:
- the item at the specified position.
 
 - 
sizeint size() Returns the total number of items in the collection.- Returns:
- the total number of items in the collection.
 
 - 
getAllint[] getAll() Returns the complete list of items, as an array of int.- Returns:
- the complete list of items, as an array of int.
 
 
- 
 
-