Class DMin
java.lang.Object
org.apache.poi.ss.formula.functions.DMin
- All Implemented Interfaces:
IDStarAlgorithm
Implementation of the DMin function:
Finds the minimum value of a column in an area with given conditions.
TODO:
- wildcards ? and * in string conditions
- functions as conditions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn a result ValueEval that will be the result of the calculation.boolean
processMatch
(ValueEval eval) Process a match that is found during a run through a database.
-
Constructor Details
-
DMin
public DMin()
-
-
Method Details
-
processMatch
Description copied from interface:IDStarAlgorithm
Process a match that is found during a run through a database.- Specified by:
processMatch
in interfaceIDStarAlgorithm
- Parameters:
eval
- ValueEval of the cell in the matching row. References will already be resolved.- Returns:
- Whether we should continue iterating through the database.
-
getResult
Description copied from interface:IDStarAlgorithm
Return a result ValueEval that will be the result of the calculation. This is always called at the end of a run through the database.- Specified by:
getResult
in interfaceIDStarAlgorithm
- Returns:
- a ValueEval
-