By default, dictionaries are not ordered, or the order does not have semantic meaning. In some statistical, applications, dictionary-encoding is used to represent ordered categorical data, and we provide a way to preserve that metadata here
| 1981 | /// is used to represent ordered categorical data, and we provide a way to |
| 1982 | /// preserve that metadata here |
| 1983 | bool isOrdered() const { |
| 1984 | return GetField<uint8_t>(VT_ISORDERED, 0) != 0; |
| 1985 | } |
| 1986 | org::apache::arrow::flatbuf::DictionaryKind dictionaryKind() const { |
| 1987 | return static_cast<org::apache::arrow::flatbuf::DictionaryKind>(GetField<int16_t>(VT_DICTIONARYKIND, 0)); |
| 1988 | } |
nothing calls this directly
no outgoing calls
no test coverage detected