borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.dataset
java.lang.Object +----borland.jbcl.dataset.AggDescriptor
Constructors Properties MethodsThe AggDescriptor class collects the properties associated with an aggregation calculation. It is associated with a Column by the Column component's agg property. In the JBuilder Component Inspector, this object is accessed from the agg property.
Set the aggOperator property to define the type of aggregation to perform: count, sum, minimum value or maximum value. You specify a single column for the aggregation operation. You can optionally include a set of Column names to base the grouping logic of the aggregation (subtotals) or, if left unspecified, the calculation is done across an entire DataSet.
For more information on using aggregators in calculated columns, see Aggregating data with calculated fields in the Database Application Developer's Guide.
For examples of applications that use aggregators, see the following projects in the specified directories of your JBuilder installation:
public AggDescriptor(java.lang.String[] groupColumnNames, java.lang.String aggColumnName, borland.jbcl.dataset.AggOperator aggOperator)
public String getAggColumnName()
public AggOperator getAggOperator()
public String[] getGroupColumnNames()