infovis.metadata
Class AggregationFactory
java.lang.Object
infovis.utils.BasicFactory
infovis.metadata.AggregationFactory
- All Implemented Interfaces:
- AggregationConstants, Constants
public class AggregationFactory
- extends BasicFactory
- implements AggregationConstants
Class AggregationFactory manages hierarchical aggregation in columns.
- Version:
- $Revision: 1.3 $
- Author:
- Jean-Daniel Fekete
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 |
instance
public static final AggregationFactory instance
- Instance of AggregationFactory.
AggregationFactory
public AggregationFactory()
getInstance
public static AggregationFactory getInstance()
- Returns the instance.
- Returns:
- the instance.
getAggregationType
public static String getAggregationType(Column col,
Tree tree)
- Returns the aggregation type name of a specified column
in a specified tree.
- Parameters:
col
- the columntree
- the tree
- Returns:
- the aggregation type name
getAggregation
public static Aggregation getAggregation(Column col,
Tree tree)
get
public Aggregation get(String type)
get
public Aggregation get(Column col,
Tree tree)
getType
public String getType(Column col,
Tree tree)
guessAggregationType
public String guessAggregationType(Column col,
Tree tree)
putAggregationType
public Aggregation putAggregationType(String type,
Aggregation aggr)
iterator
public Iterator iterator()
Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.