|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.BasicTableHistogram
public class BasicTableHistogram
A histogram data structure that is created from table data. Use this to pass data to a classification object.
BasicTableHistogram is used to produce a histogram data structure based on input from an object that supports ITable. This data structure is commonly used as input to the classification coclasses (e.g. NaturalBreaks, Quantile). Use this object if you are developing against only ArcEngine components. The BasicTableHistogram performs a simliar function to TableHistogram, but unlike TableHistogram , it is available to ArcEngine developers.
| Constructor Summary | |
|---|---|
BasicTableHistogram()
Constructs a BasicTableHistogram using ArcGIS Engine. |
|
BasicTableHistogram(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. BasicTableHistogram theBasicTableHistogram = (BasicTableHistogram) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getCount()
The count of the values. |
IDataExclusion |
getExclusion()
Data exclusion options. |
String |
getExclusionClause()
Data Exclusion where clause. |
String |
getField()
Value field. |
boolean |
getHistogram(Object[] doubleArrayValues,
Object[] longArrayFrequencies)
Histogram as an array of values (doubles) and a paired array of frequencies (longs). |
double |
getMaximum()
The maximum value. |
int |
getMaxSampleSize()
Data Sampling Max Size. |
double |
getMean()
The arithmetic mean. |
double |
getMinimum()
The minimum value. |
String |
getNormalizationField()
Normalization field. |
String |
getNormalizationFieldAlias()
Normalization field alias. |
double |
getNormalizationTotal()
Total of all values (used when normalizing by percent of total). |
int |
getNormalizationType()
Normalization type. |
String |
getNormField()
Normalization field. |
IDataSampling |
getSampling()
Data sampling options. |
double |
getStandardDeviation()
The standard deviation, based on sample flag. |
double |
getSum()
The sum of the values. |
ITable |
getTable()
The associated table. |
int |
hashCode()
the hashcode for this object |
void |
invalidate()
Causes to recreate the Histogram from the Table for the next GetHistogram call. |
void |
resetCustomMinMax()
Resets custom minimum and maximum. |
void |
setCustomMax(double rhs1)
Custom maximum. |
void |
setCustomMin(double rhs1)
Custom minimum. |
void |
setExclusionByRef(IDataExclusion dataExclusion)
Data exclusion options. |
void |
setExclusionClause(String name)
Data Exclusion where clause. |
void |
setField(String name)
Value field. |
void |
setMaxSampleSize(int size)
Data Sampling Max Size. |
void |
setNormalizationField(String fieldName)
Normalization field. |
void |
setNormalizationFieldAlias(String name)
Normalization field alias. |
void |
setNormalizationTotal(double value)
Total of all values (used when normalizing by percent of total). |
void |
setNormalizationType(int type)
Normalization type. |
void |
setNormField(String name)
Normalization field. |
void |
setSamplingByRef(IDataSampling dataSampling)
Data sampling options. |
void |
setTableByRef(ITable table)
The associated table. |
| 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 BasicTableHistogram()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public BasicTableHistogram(Object obj)
throws IOException
BasicTableHistogram theBasicTableHistogram = (BasicTableHistogram) obj;
obj to BasicTableHistogram.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public boolean getHistogram(Object[] doubleArrayValues,
Object[] longArrayFrequencies)
throws IOException,
AutomationException
getHistogram in interface IBasicHistogramdoubleArrayValues - A Variant (out: use single element array)longArrayFrequencies - A Variant (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomMin(double rhs1)
throws IOException,
AutomationException
setCustomMin in interface IBasicHistogramrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomMax(double rhs1)
throws IOException,
AutomationException
setCustomMax in interface IBasicHistogramrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void resetCustomMinMax()
throws IOException,
AutomationException
resetCustomMinMax in interface IBasicHistogramIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void invalidate()
throws IOException,
AutomationException
invalidate in interface IBasicHistogramIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTableByRef(ITable table)
throws IOException,
AutomationException
setTableByRef in interface ITableHistogramtable - A reference to a com.esri.arcgis.geodatabase.ITable (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITable getTable()
throws IOException,
AutomationException
getTable in interface ITableHistogramIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExclusionByRef(IDataExclusion dataExclusion)
throws IOException,
AutomationException
setExclusionByRef in interface ITableHistogramdataExclusion - A reference to a com.esri.arcgis.carto.IDataExclusion (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDataExclusion getExclusion()
throws IOException,
AutomationException
getExclusion in interface ITableHistogramIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSamplingByRef(IDataSampling dataSampling)
throws IOException,
AutomationException
setSamplingByRef in interface ITableHistogramdataSampling - A reference to a com.esri.arcgis.carto.IDataSampling (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDataSampling getSampling()
throws IOException,
AutomationException
In implementations of ITableHistogram, the sampling property is null by default. Specify the sample method desired when utilizing the histogram if sampling is desired.
getSampling in interface ITableHistogramIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setField(String name)
throws IOException,
AutomationException
setField in interface ITableHistogramname - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getField()
throws IOException,
AutomationException
getField in interface ITableHistogramIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNormField(String name)
throws IOException,
AutomationException
setNormField in interface ITableHistogramname - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getNormField()
throws IOException,
AutomationException
getNormField in interface ITableHistogramIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExclusionClause(String name)
throws IOException,
AutomationException
setExclusionClause in interface ITableHistogram2name - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getExclusionClause()
throws IOException,
AutomationException
getExclusionClause in interface ITableHistogram2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaxSampleSize(int size)
throws IOException,
AutomationException
setMaxSampleSize in interface ITableHistogram2size - The size (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMaxSampleSize()
throws IOException,
AutomationException
getMaxSampleSize in interface ITableHistogram2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getNormalizationField()
throws IOException,
AutomationException
getNormalizationField in interface IDataNormalizationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNormalizationField(String fieldName)
throws IOException,
AutomationException
setNormalizationField in interface IDataNormalizationfieldName - The fieldName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getNormalizationFieldAlias()
throws IOException,
AutomationException
NormalizationField alias is not implemented by many of the classes implementing IDataNormalization and will return E_NOTIMPL in those cases.
getNormalizationFieldAlias in interface IDataNormalizationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNormalizationFieldAlias(String name)
throws IOException,
AutomationException
setNormalizationFieldAlias in interface IDataNormalizationname - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getNormalizationType()
throws IOException,
AutomationException
esriNormalizeByField requires that the NormalizationField be set.
esriNormalizeByLog takes a base 10 logarithm of the data values.
esriNormalizeByPercentageOfTotal requires the NormalizationTotal field to be set to the total data value. This is used to calculate percentages. Each value is divided by the NormalizationTotal and then multiplied by 100. You can use IDataStatistics to generate NormalizationTotal .
esriNormalizeByArea is not implemented.
esriNormalizeByNothing disables normalization.
getNormalizationType in interface IDataNormalizationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNormalizationType(int type)
throws IOException,
AutomationException
setNormalizationType in interface IDataNormalizationtype - A com.esri.arcgis.carto.esriDataNormalization constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getNormalizationTotal()
throws IOException,
AutomationException
Not implemented by ProportionalSymbolRenderer .
getNormalizationTotal in interface IDataNormalizationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNormalizationTotal(double value)
throws IOException,
AutomationException
Not implemented by ProportionalSymbolRenderer.
setNormalizationTotal in interface IDataNormalizationvalue - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
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 IStatisticsResultsIOException - 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 IStatisticsResultsIOException - 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 IStatisticsResultsIOException - 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 IStatisticsResultsIOException - 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 IStatisticsResultsIOException - 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 IStatisticsResultsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IGenerateStatistics.setSample(boolean)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||