org.hackystat.telemetry.analyzer.function.impl
Class FilterZeroFunction

java.lang.Object
  extended by org.hackystat.telemetry.analyzer.function.TelemetryFunction
      extended by org.hackystat.telemetry.analyzer.function.impl.FilterZeroFunction

public class FilterZeroFunction
extends TelemetryFunction

Filters out telemetry streams with zero values or no value in a TelemetryStreamCollection object.

Author:
(Cedric) Qin ZHANG

Constructor Summary
FilterZeroFunction()
          Constructs this instance.
 
Method Summary
 java.lang.Object compute(java.lang.Object[] parameters)
          Performs filter operation.
 
Methods inherited from class org.hackystat.telemetry.analyzer.function.TelemetryFunction
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterZeroFunction

public FilterZeroFunction()
Constructs this instance.

Method Detail

compute

public java.lang.Object compute(java.lang.Object[] parameters)
                         throws TelemetryFunctionException
Performs filter operation.

Specified by:
compute in class TelemetryFunction
Parameters:
parameters - An array of 1 objects of TelemetryStreamCollection type.
Returns:
A new TelemetryStreamCollection instance after filtering.
Throws:
TelemetryFunctionException - If anything is wrong.