public interface

CountInfo

com.microstrategy.web.objects.admin.monitors.CountInfo

Class Overview

The interface CountInfo represents count information grouped by a particular field from EnumDSSXMLJobInfo, EnumDSSXMLUserConnectionInfo or EnumDSSXMLDBConnectionInfo.

Summary

Public Methods
abstract CountInfo get(int i)
Returns the child CountInfo object at the given index.
abstract int getCount()
Returns the count of items at this level.
abstract int getField()
Returns the field that this count is grouped by.
abstract CountInfo getParent()
Returns the parent CountInfo, if one exists.
abstract int getUniqueCount()
Returns the count of unique items at this level.
abstract String getValue()
Returns the value for the current field that this count grouping represents.
abstract boolean hasChildren()
Returns whether there is child CountInfo objects or not.
abstract int size()
Returns the number of child CountInfo objects.

Public Methods

public abstract CountInfo get (int i)

Returns the child CountInfo object at the given index.

Parameters
i the position of the child CountInfo
Returns
  • the child CountInfo.

public abstract int getCount ()

Returns the count of items at this level.

Returns
  • the count of items at this level.

public abstract int getField ()

Returns the field that this count is grouped by.

Returns
  • the field that this count is grouped by.
See Also

public abstract CountInfo getParent ()

Returns the parent CountInfo, if one exists. If there is no parent CountInfo, meaning it is a top-level grouping, this method will return null.

Returns
  • the parent CountInfo, if one exists. Otherwise returns null.

public abstract int getUniqueCount ()

Returns the count of unique items at this level. If this is not meaningfully different from getCount(), then the result of getCount() will be returned.

Returns
  • the count of unique items at this level.

public abstract String getValue ()

Returns the value for the current field that this count grouping represents.

Returns
  • the value for the current field that this count grouping represents.

public abstract boolean hasChildren ()

Returns whether there is child CountInfo objects or not.

Returns
  • true if there is child CountInfo objects.

public abstract int size ()

Returns the number of child CountInfo objects.

Returns
  • the number of child CountInfo objects.