To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
Holds a raw indexed value together with its formatted, display-ready representation, as produced by ESFieldMeta.formattedValues. A single raw value can format to more than one display string, for example when the raw value is a list.
Properties
| Property | Returns | Description |
|---|---|---|
| formatted | List<String> | The display-ready string form of the raw value, one entry per value where the raw value is a list. |
| numeric | boolean | Whether the raw value is a numeric type, used by search results tables to right-align the column. |
| raw | Object | The raw value as read back from Elasticsearch, before formatting - may be a single value, a list, or any type the underlying field stores. |
Methods
isNumeric()
Returns: boolean
Whether the raw value is a numeric type, used by search results tables to right-align the column.
getRaw()
Returns: Object
The raw value as read back from Elasticsearch, before formatting - may be a single value, a list, or any type the underlying field stores.
getFormatted()
Returns: List<String>
The display-ready string form of the raw value, one entry per value where the raw value is a list.