org.jfree.report.data

Interface PrecomputedValueRegistry

public interface PrecomputedValueRegistry

Expression precomputation processes the report in a parallel process to retrieve the final value of an function. The final value of an expression is the value the expression would return before it goes out of scope. Precomputation can be generally considered expensive, so it should be done only once. During the precomputation run, no output is generated at all. Only named data-row expressions can be precomputed.

Author: Thomas Morgner

Method Summary
voidaddFunction(String name, Object value)
PrecomputeNodecurrentNode()
voidfinishElement(PrecomputeNodeKey element)
voidfinishElementPrecomputation(PrecomputeNodeKey element)
voidstartElement(PrecomputeNodeKey element)
voidstartElementPrecomputation(PrecomputeNodeKey element)

Method Detail

addFunction

public void addFunction(String name, Object value)

currentNode

public PrecomputeNode currentNode()

finishElement

public void finishElement(PrecomputeNodeKey element)

finishElementPrecomputation

public void finishElementPrecomputation(PrecomputeNodeKey element)

startElement

public void startElement(PrecomputeNodeKey element)

startElementPrecomputation

public void startElementPrecomputation(PrecomputeNodeKey element)