com.esri.arcgis.geodatabase
Interface IDataStatistics

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DataStatistics, IDataStatisticsProxy

public interface IDataStatistics
extends java.io.Serializable

COM Interface 'IDataStatistics'. Generated 3/19/2015 1:20:56 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members to generate statistics on a field.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDca691dd5_8a14_11d2_ae6c_080009ec732a
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 java.lang.String getField()
          The field for which to gather statistics.
 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.
 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 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.
 

Field Detail

IIDca691dd5_8a14_11d2_ae6c_080009ec732a

static final int IIDca691dd5_8a14_11d2_ae6c_080009ec732a
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

setField

void setField(java.lang.String field)
              throws java.io.IOException,
                     AutomationException
The field for which to gather statistics.

Parameters:
field - The field (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getField

java.lang.String getField()
                          throws java.io.IOException,
                                 AutomationException
The field for which to gather statistics.

Returns:
The field
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCursorByRef

void setCursorByRef(ICursor rhs1)
                    throws java.io.IOException,
                           AutomationException
The cursor which will generate the statistics.

Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.ICursor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSampleRate

void setSampleRate(int maxRecords)
                   throws java.io.IOException,
                          AutomationException
The maximum number of records to sample at a time (-1 means pull all records).

Parameters:
maxRecords - The maxRecords (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSampleRate

int getSampleRate()
                  throws java.io.IOException,
                         AutomationException
The maximum number of records to sample at a time (-1 means pull all records).

Returns:
The maxRecords
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSimpleStats

void setSimpleStats(boolean simple)
                    throws java.io.IOException,
                           AutomationException
Indicates whether only simple statistics are generated.

Parameters:
simple - The simple (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSimpleStats

boolean isSimpleStats()
                      throws java.io.IOException,
                             AutomationException
Indicates whether only simple statistics are generated.

Returns:
The simple
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStatistics

IStatisticsResults getStatistics()
                                 throws java.io.IOException,
                                        AutomationException
The statistics for the current field over the current cursor.

Returns:
A reference to a com.esri.arcgis.system.IStatisticsResults
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUniqueValues

IEnumVARIANT getUniqueValues()
                             throws java.io.IOException,
                                    AutomationException
The unique values for the current field over the current cursor.

Returns:
A reference to a com.esri.arcgis.support.ms.stdole.IEnumVARIANT
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUniqueValueCount

int getUniqueValueCount()
                        throws java.io.IOException,
                               AutomationException
The number of unique values for the current sample.

Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isContinue

boolean isContinue()
                   throws java.io.IOException,
                          AutomationException
Indicates if the cursor contains more records than the current sample.

Returns:
The canContinue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCancelled

boolean isCancelled()
                    throws java.io.IOException,
                           AutomationException
Indicates if the operation has been cancelled.

Returns:
The cancelled
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.