borland Packages Class Hierarchy dx.dataset Package
CountAggOperator class
java.lang.Object
+----com.borland.dx.dataset.AggOperator
+----com.borland.dx.dataset.CountAggOperator
About the CountAggOperator class
Variables Properties Methods
Implements Serializable, Cloneable
The CountAggOperator class is instantiable subclass of the AggOperator and defines an aggregation operation of a count.
Set the aggOperator property of the AggDescriptor object to this class to perform a count calculation using the property settings stored in the AggDescriptor. Attach the AggDescriptor object to a Column component's agg property to access the data that the aggregation uses.
CountAggOperator variables
CountAggOperator properties
*Read-only properties **Write-only properties
Properties implemented in java.lang.Object
CountAggOperator methods
Methods implemented in this class
Methods implemented in java.lang.Object
- equals(java.lang.Object)
- finalize()
- hashCode()
- notify()
- notifyAll()
- toString()
- wait()
- wait(long)
- wait(long, int)
CountAggOperator methods
add(com.borland.dx.dataset.ReadRow, long, boolean)
public void add(ReadRow row, long internalRow, boolean first)
A row has been added or updated.
Parameters:
- row
- The row containing the values.
- internalRow
- The unique identifier for the row.
- first
- Returns true if this is the first row in the group, false otherwise.
Overrides:
com.borland.dx.dataset.AggOperator.add(com.borland.dx.dataset.ReadRow, long, boolean)
delete(com.borland.dx.dataset.ReadRow, long)
public void delete(ReadRow row, long internalRow)
A row has been deleted or updated. The ReadRow parameter contains the values and
internalRow is a unique identifier for the row.
Overrides:
com.borland.dx.dataset.AggOperator.delete(com.borland.dx.dataset.ReadRow, long)
init(com.borland.dx.dataset.StorageDataSet, java.lang.String[], com.borland.dx.dataset.StorageDataSet, com.borland.dx.dataset.Column, com.borland.dx.dataset.Column)
public void init(StorageDataSet dataSet, String[]groupColumnNames, StorageDataSet aggDataSet, Column resultColumn, Column aggColumn)
Initializes the CountAggOperator by calling the constructor of its superclass.
Parameters:
- dataSet
- The StorageDataSet that contains the aggColumn that is being aggregated on
- groupColumnNames
- A array of the Column names to perform grouping by.
- aggDataSet
- The internal StorageDataSet that contains and maintains aggregated values.
- resultColumn
- The Column in aggDataSet that contains the aggregated value.
- aggColumn
- The Column in the DataSet that is being aggregated on.
Overrides:
com.borland.dx.dataset.AggOperator.init(com.borland.dx.dataset.StorageDataSet, java.lang.String[], com.borland.dx.dataset.StorageDataSet, com.borland.dx.dataset.Column, com.borland.dx.dataset.Column)