|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jagg.Aggregator
net.sf.jagg.MultiPropAggregator
public abstract class MultiPropAggregator
This abstract class allows for the state necessary to implement aggregate
functions over any number of variables (properties). The aggregation
algorithm is the same as in Aggregator
, but
MultiPropAggregators
have access to a List
of
properties.
Field Summary |
---|
Fields inherited from class net.sf.jagg.Aggregator |
---|
PROP_SELF |
Constructor Summary | |
---|---|
protected |
MultiPropAggregator()
Default constructor is protected so that only subclasses of MultiPropAggregator can be instantiated. |
Method Summary | |
---|---|
int |
getNumProperties()
Returns the number of properties. |
java.lang.String |
getProperty(int index)
Retrieves the property name specified by the given zero-based index. |
protected void |
setProperty(java.lang.String property)
Sets any number of property Strings . |
java.lang.String |
toString()
A String representation of this
MultiPropAggregator . |
Methods inherited from class net.sf.jagg.Aggregator |
---|
equals, getAggregator, getAggregator, getProperty, getValueFromProperty, hashCode, init, isInUse, iterate, merge, replicate, setInUse, terminate, terminateDoubleDouble |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected MultiPropAggregator()
MultiPropAggregator
can be instantiated.
Method Detail |
---|
protected void setProperty(java.lang.String property)
Strings
. The default
implementation expects propert names separated by commas.
setProperty
in class Aggregator
property
- The property String
, with commas
separating multiple actual property names.Aggregator.getProperty()
,
getProperty(int)
public java.lang.String getProperty(int index)
index
- The zero-based index.
public int getNumProperties()
public java.lang.String toString()
String
representation of this
MultiPropAggregator
. It takes into account that there are
multiple properties.
toString
in class Aggregator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |