Type#NULL. Also note that all the conversion methods
will throw an EvalException if the conversion is not supported for the current value.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | Value.
the types supported within the expression evaluation engine |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public BigDecimal | Returns: this primitive value converted to a BigDecimalReturns this primitive value converted to a BigDecimal. |
| public boolean | Returns: this primitive value converted to a booleanReturns this primitive value converted to a boolean. |
| public Value | Returns: this value converted to a date/time valueSince date/time values have different types, it may be more convenient to get the date/time primitive value with the appropriate type information. |
| public Double | Returns: this primitive value converted (rounded) to a doubleReturns this primitive value converted (rounded) to a double. |
| public LocalDateTime | Returns: this primitive value converted to a LocalDateTimeReturns this primitive value converted to a LocalDateTime. |
| public Integer | Returns: this primitive value converted (rounded) to an intReturns this primitive value converted (rounded) to an int. |
| public String | Returns: this primitive value converted to a StringReturns this primitive value converted to a String. |
| public Value. | |
| public boolean | Returns: true if this value represents a "Null" value, false otherwise.Returns |
| get | back to summary |
|---|---|
| public Object get() Returns the raw primitive value.
| |
| getAsBigDecimal | back to summary |
|---|---|
| public BigDecimal getAsBigDecimal(LocaleContext ctx) Returns this primitive value converted to a BigDecimal.
| |
| getAsBoolean | back to summary |
|---|---|
| public boolean getAsBoolean(LocaleContext ctx) Returns this primitive value converted to a boolean.
| |
| getAsDateTimeValue | back to summary |
|---|---|
| public Value getAsDateTimeValue(LocaleContext ctx) Since date/time values have different types, it may be more convenient to get the date/time primitive value with the appropriate type information.
| |
| getAsDouble | back to summary |
|---|---|
| public Double getAsDouble(LocaleContext ctx) Returns this primitive value converted (rounded) to a double.
| |
| getAsLocalDateTime | back to summary |
|---|---|
| public LocalDateTime getAsLocalDateTime(LocaleContext ctx) Returns this primitive value converted to a LocalDateTime.
| |
| getAsLongInt | back to summary |
|---|---|
| public Integer getAsLongInt(LocaleContext ctx) Returns this primitive value converted (rounded) to an int.
| |
| getAsString | back to summary |
|---|---|
| public String getAsString(LocaleContext ctx) Returns this primitive value converted to a String.
| |
| getType | back to summary |
|---|---|
| public Value. Returns the type of this value. | |
| isNull | back to summary |
|---|---|
| public boolean isNull() Returns
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final Value. | |
| public static final Value. | |
| public static final Value. | |
| public static final Value. | |
| public static final Value. | |
| public static final Value. | |
| public static final Value. | |
| public static final Value. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Value. | |
| public Value. | |
| private boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public static Value. | |
| public static Value. |
| BIG_DEC | back to summary |
|---|---|
| public static final Value. | |
| DATE | back to summary |
|---|---|
| public static final Value. | |
| DATE_TIME | back to summary |
|---|---|
| public static final Value. | |
| DOUBLE | back to summary |
|---|---|
| public static final Value. | |
| LONG | back to summary |
|---|---|
| public static final Value. | |
| NULL | back to summary |
|---|---|
| public static final Value. | |
| STRING | back to summary |
|---|---|
| public static final Value. | |
| TIME | back to summary |
|---|---|
| public static final Value. | |
| Type | back to summary |
|---|---|
| private Type() | |
| getPreferredFPType | back to summary |
|---|---|
| public Value. | |
| getPreferredNumericType | back to summary |
|---|---|
| public Value. | |
| inRange | back to summary |
|---|---|
| private boolean inRange(Value. | |
| isIntegral | back to summary |
|---|---|
| public boolean isIntegral() | |
| isNumeric | back to summary |
|---|---|
| public boolean isNumeric() | |
| isString | back to summary |
|---|---|
| public boolean isString() | |
| isTemporal | back to summary |
|---|---|
| public boolean isTemporal() | |
| valueOf | back to summary |
|---|---|
| public static Value. | |
| values | back to summary |
|---|---|
| public static Value. | |