infovis.metadata
Class MinAggregation
java.lang.Object
infovis.metadata.MinAggregation
- All Implemented Interfaces:
- Aggregation, AggregationConstants, Constants
public class MinAggregation
- extends Object
- implements Aggregation
Aggregate by computing the min value
- Version:
- $Revision: 1.4 $
- Author:
- Jean-Daniel Fekete
- InfoVis factory arguments:
- AggregationFactory Min
Fields inherited from interface infovis.metadata.AggregationConstants |
AGGREGATE_COMPATIBLE, AGGREGATE_NO, AGGREGATE_YES, AGGREGATION_TYPE, AGGREGATION_TYPE_ADDITIVE, AGGREGATION_TYPE_ATLEAF, AGGREGATION_TYPE_CONCAT, AGGREGATION_TYPE_MAX, AGGREGATION_TYPE_MEAN, AGGREGATION_TYPE_MIN, AGGREGATION_TYPE_NONE |
Fields inherited from interface infovis.metadata.Constants |
CONTRIBUTOR, COVERAGE, CREATOR, DATE, DESCRITION, FORMAT, IDENTIFIER, LANGUAGE, PUBLISHER, RELATION, RIGHTS, SOURCE, SUBJECT, TITLE, TYPE |
MinAggregation
public MinAggregation()
getInstance
public static MinAggregation getInstance()
isAggregating
public boolean isAggregating(Column col,
Tree tree)
- Description copied from interface:
Aggregation
- Checks whether a column is aggregating following the
class aggregation scheme.
- Specified by:
isAggregating
in interface Aggregation
- Parameters:
col
- the columntree
- the tree
- Returns:
true
if the column follows the aggregation
scheme, false
otherwise.
aggregate
public Column aggregate(Column src,
Tree tree,
Column dst)
- Description copied from interface:
Aggregation
- Computes the aggregation values of the specified source column into
the destination column. Source and destination should be allocated
and of the right type.
- Specified by:
aggregate
in interface Aggregation
- Parameters:
src
- the source columntree
- the treedst
- the destination column
- Returns:
- the dst column.
getType
public String getType()
- Description copied from interface:
Aggregation
- Returns the type name of the aggregation.
- Specified by:
getType
in interface Aggregation
- Returns:
- the type name of the aggregation.
build
public static ColumnProxy build(Column src,
Tree tree)
Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.