public final class LatestValueFunction extends Object implements Quantize.Function.Factory
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).
Constructor and Description |
---|
LatestValueFunction() |
Modifier and Type | Method and Description |
---|---|
Quantize.Function |
build()
Builds a new function.
|
Column |
column(String label)
Creates a new column to display the values of a function.
|
public Quantize.Function build() throws Exception
Quantize.Function.Factory
build
in interface Quantize.Function.Factory
Exception
- if there is a problem constructing the new Function.public Column column(String label)
Quantize.Function.Factory
column
in interface Quantize.Function.Factory
label
- the readable valued used to label the column