Overview of EvalEx Data Types
mainEvalEx uses an EvaluationValue wrapper to store both a value and its corresponding data type. The following table maps EvalEx data types to their internal Java representations:
| Data Type | Internal Representation |
|---|---|
| NUMBER | java.math.BigDecimal |
| BOOLEAN | java.lang.Boolean |
| STRING | java.lang.String |
| DATE_TIME | java.time.Instant |
| DURATION | java.time.Duration |
| ARRAY | java.util.List |
| STRUCTURE | java.util.Map |
| EXPRESSION_NODE | com.ezylang.evalex.parser.ASTNode |
| BINARY | java.lang.Object |
| NULL | null |
| UNDEFINED | null (returned as "logical null") |