Interface LazyRefEval

All Superinterfaces:
RefEval, ValueEval

public interface LazyRefEval extends RefEval
A RefEval that defers cell-value lookup until the consumer actually asks for it (via RefEval.getInnerValueEval(int)). The formula engine returns lazy refs whenever it can avoid evaluating a cell that the calling function will not ultimately read.

Custom functions should treat LazyRefEval the same as RefEval — the laziness is an internal optimisation. The separate type exists for the rare case (e.g. OFFSET-style functions) that needs to query the reference shape before triggering evaluation.

Replaces org.apache.poi.ss.formula.LazyRefEval.

Since:
7.0.0