public class DataStatistics extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IDataStatistics
Description 'Esri Data Statistics object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IIDca691dd5_8a14_11d2_ae6c_080009ec732a, xxDummy| Constructor and Description |
|---|
DataStatistics()
Constructs a DataStatistics using ArcGIS Engine.
|
DataStatistics(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
DataStatistics theDataStatistics = (DataStatistics) obj; |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
java.lang.String |
getField()
The field for which to gather statistics.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
int |
getSampleRate()
The maximum number of records to sample at a time (-1 means pull all records).
|
IStatisticsResults |
getStatistics()
The statistics for the current field over the current cursor.
|
int |
getUniqueValueCount()
The number of unique values for the current sample.
|
IEnumVARIANT |
getUniqueValues()
The unique values for the current field over the current cursor.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isCancelled()
Indicates if the operation has been cancelled.
|
boolean |
isContinue()
Indicates if the cursor contains more records than the current sample.
|
boolean |
isSimpleStats()
Indicates whether only simple statistics are generated.
|
void |
release()
Release this COM object reference
|
void |
setCursorByRef(ICursor rhs1)
The cursor which will generate the statistics.
|
void |
setField(java.lang.String field)
The field for which to gather statistics.
|
void |
setSampleRate(int maxRecords)
The maximum number of records to sample at a time (-1 means pull all records).
|
void |
setSimpleStats(boolean simple)
Indicates whether only simple statistics are generated.
|
public DataStatistics()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic DataStatistics(java.lang.Object obj)
throws java.io.IOException
DataStatistics theDataStatistics = (DataStatistics) obj;obj to DataStatistics.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic void setField(java.lang.String field)
throws java.io.IOException,
AutomationException
setField in interface IDataStatisticsfield - The field (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getField()
throws java.io.IOException,
AutomationException
getField in interface IDataStatisticsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setCursorByRef(ICursor rhs1) throws java.io.IOException, AutomationException
setCursorByRef in interface IDataStatisticsrhs1 - A reference to a com.esri.arcgis.geodatabase.ICursor (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setSampleRate(int maxRecords)
throws java.io.IOException,
AutomationException
setSampleRate in interface IDataStatisticsmaxRecords - The maxRecords (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getSampleRate()
throws java.io.IOException,
AutomationException
getSampleRate in interface IDataStatisticsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setSimpleStats(boolean simple)
throws java.io.IOException,
AutomationException
setSimpleStats in interface IDataStatisticssimple - The simple (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isSimpleStats()
throws java.io.IOException,
AutomationException
isSimpleStats in interface IDataStatisticsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IStatisticsResults getStatistics() throws java.io.IOException, AutomationException
getStatistics in interface IDataStatisticsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumVARIANT getUniqueValues() throws java.io.IOException, AutomationException
getUniqueValues in interface IDataStatisticsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getUniqueValueCount()
throws java.io.IOException,
AutomationException
getUniqueValueCount in interface IDataStatisticsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isContinue()
throws java.io.IOException,
AutomationException
isContinue in interface IDataStatisticsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isCancelled()
throws java.io.IOException,
AutomationException
isCancelled in interface IDataStatisticsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.