org.eclipse.mat.query.quantize
Class LatestValueFunction
java.lang.Object
org.eclipse.mat.query.quantize.LatestValueFunction
- All Implemented Interfaces:
- Quantize.Function.Factory
public final class LatestValueFunction
- extends java.lang.Object
- implements Quantize.Function.Factory
Simple quantize function which just returns the last value add to the
distribution bucket.
Its purpose is performance optimization: Assume you want to create a
frequency distribution on column value A and you know there is a 1:1
relationship to column value B, one can use the LatestValueFunction to
display column value B instead of adding B to the composite key (A,B).
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LatestValueFunction
public LatestValueFunction()
build
public Quantize.Function build()
throws java.lang.Exception
- Description copied from interface:
Quantize.Function.Factory
- Builds a new function.
- Specified by:
build
in interface Quantize.Function.Factory
- Throws:
java.lang.Exception
column
public Column column(java.lang.String label)
- Description copied from interface:
Quantize.Function.Factory
- Creates a new column to display the values of a function.
- Specified by:
column
in interface Quantize.Function.Factory