Class Aggregators.Concatenate
java.lang.Object
org.openjump.core.ui.plugin.tools.aggregate.Aggregators.Concatenate
- All Implemented Interfaces:
Aggregator<Object>
- Enclosing class:
Aggregators
-
Field Summary
Fields inherited from interface Aggregator
SEPARATOR_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a new value to the aggregator.clone()Create a new Aggregator with the same attributes as this one.getName()Returns the name of this Aggregator.getParameter(String name) Returns parameter value for name parameter.Return parameter names used by this aggregatorbooleanReturns true if this aggregator must ignore null values.voidreset()Reset the aggregator (clear the list of values)voidsetIgnoreNull(boolean ignoreNull) Change the way this aggregator process null values.voidsetParameter(String name, Object value) Set a parameter value for this aggregator.toString()
-
Constructor Details
-
Concatenate
public Concatenate(boolean ignoreNull)
-
-
Method Details
-
clone
Description copied from interface:AggregatorCreate a new Aggregator with the same attributes as this one.- Specified by:
clonein interfaceAggregator<Object>
-
getResult
- Specified by:
getResultin interfaceAggregator<Object>- Returns:
- the aggregated value.
-
getParameters
Description copied from interface:AggregatorReturn parameter names used by this aggregator- Specified by:
getParametersin interfaceAggregator<T>- Returns:
- the set of parameters
-
setParameter
Description copied from interface:AggregatorSet a parameter value for this aggregator.- Specified by:
setParameterin interfaceAggregator<T>- Parameters:
name- the name of the aggregatorvalue- the new value of the parameter
-
getParameter
Description copied from interface:AggregatorReturns parameter value for name parameter.- Specified by:
getParameterin interfaceAggregator<T>- Parameters:
name- the name of the parameter
-
getName
Description copied from interface:AggregatorReturns the name of this Aggregator.- Specified by:
getNamein interfaceAggregator<T>
-
ignoreNull
public boolean ignoreNull()Description copied from interface:AggregatorReturns true if this aggregator must ignore null values.- Specified by:
ignoreNullin interfaceAggregator<T>
-
setIgnoreNull
public void setIgnoreNull(boolean ignoreNull) Description copied from interface:AggregatorChange the way this aggregator process null values.- Specified by:
setIgnoreNullin interfaceAggregator<T>
-
addValue
Description copied from interface:AggregatorAdds a new value to the aggregator.- Specified by:
addValuein interfaceAggregator<T>- Parameters:
object- value to be added
-
getValues
- Specified by:
getValuesin interfaceAggregator<T>- Returns:
- the values accumulated by this aggregator.
-
getOutputAttributeType
- Specified by:
getOutputAttributeTypein interfaceAggregator<T>- Returns:
- the AttributeType of the aggregated value.
-
reset
public void reset()Description copied from interface:AggregatorReset the aggregator (clear the list of values)- Specified by:
resetin interfaceAggregator<T>
-
toString
-