Class CalcColEvalContext
- java.lang.Object
-
- com.healthmarketscience.jackcess.impl.BaseEvalContext
-
- com.healthmarketscience.jackcess.impl.RowEvalContext
-
- com.healthmarketscience.jackcess.impl.CalcColEvalContext
-
- All Implemented Interfaces:
EvalContext,LocaleContext
public class CalcColEvalContext extends RowEvalContext
- Author:
- James Ahlborn
-
-
Constructor Summary
Constructors Constructor Description CalcColEvalContext(ColumnImpl col)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objecteval(Object[] row)Value.TypegetResultType()-
Methods inherited from class com.healthmarketscience.jackcess.impl.RowEvalContext
getIdentifierValue
-
Methods inherited from class com.healthmarketscience.jackcess.impl.BaseEvalContext
collectIdentifiers, createDateFormatter, createDecimalFormat, eval, get, getBindings, getLocale, getNumericConfig, getRandom, getTemporalConfig, getThisColumnValue, getZoneId, put, toString, toValueType
-
-
-
-
Constructor Detail
-
CalcColEvalContext
public CalcColEvalContext(ColumnImpl col)
-
-
Method Detail
-
getResultType
public Value.Type getResultType()
- Specified by:
getResultTypein interfaceEvalContext- Overrides:
getResultTypein classBaseEvalContext- Returns:
- the expected type of the result value for the current expression evaluation (for "default value" and "calculated" expressions)
-
eval
public Object eval(Object[] row) throws IOException
- Throws:
IOException
-
-