|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.server.ServerStatisticsResults
public class ServerStatisticsResults
The ServerStatisticsResults object which returns a set of statistics, such as count, min, max, mean, for a single time period.
Constructor Summary | |
---|---|
ServerStatisticsResults(Object obj)
Construct a ServerStatisticsResults using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
int |
getCount()
The count of the values. |
Date |
getEndTime()
The end time for the period that the statistics represent. |
double |
getMaximum()
The maximum value. |
double |
getMean()
The arithmetic mean. |
double |
getMinimum()
The minimum value. |
double |
getStandardDeviation()
The standard deviation, based on sample flag. |
Date |
getStartTime()
The start time for the period that the statistics represent. |
double |
getSum()
The sum of the values. |
int |
hashCode()
the hashcode for this object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public ServerStatisticsResults(Object obj) throws IOException
obj
to ServerStatisticsResults
. *
ServerStatisticsResults o = (ServerStatisticsResults)obj; // will not work
ServerStatisticsResults o = new ServerStatisticsResults(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
ServerStatisticsResults theServerStatisticsResults = (ServerStatisticsResults) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int getCount() throws IOException, AutomationException
Returns the Count of data values in the BaseStatistics used to derive the statistics. Use this property when IGenerateStatistics.SimpleStats is set to true.
getCount
in interface IStatisticsResults
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMinimum() throws IOException, AutomationException
Returns the Minimum data values in the BaseStatistics. Use this property when IGenerateStatistics.SimpleStats is set to true.
getMinimum
in interface IStatisticsResults
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMaximum() throws IOException, AutomationException
Returns the Maximum data values in the BaseStatistics. Use this property when IGenerateStatistics.SimpleStats is set to true.
getMaximum
in interface IStatisticsResults
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSum() throws IOException, AutomationException
Returns the Sum of all the data values in the BaseStatistics. Use this property when IGenerateStatistics.SimpleStats is set to true.
getSum
in interface IStatisticsResults
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMean() throws IOException, AutomationException
Returns the arithmetic Mean of all the data values in the BaseStatistics. Use this property when IGenerateStatistics.SimpleStats is set to true.
getMean
in interface IStatisticsResults
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getStandardDeviation() throws IOException, AutomationException
Returns the StandardDeviation of all the data values in the BaseStatistics.
If your data is a sample of the real data, you should indicate so with IGenerateStatistics::Sample before calling StandardDeviation.
By default it returns the Sample Standard Deviation.
getStandardDeviation
in interface IStatisticsResults
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGenerateStatistics.setSample(boolean)
public Date getStartTime() throws IOException, AutomationException
getStartTime
in interface IServerTimeRange
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Date getEndTime() throws IOException, AutomationException
getEndTime
in interface IServerTimeRange
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |