Per @TheNeuralBit's feedback, DictionaryVector should add a method for retrieving index values.
I tend to think of the dictionary index as the sorted keys list, so dictionary.key(i) feels right to me (and name feels complementary to dictionary.get(i)). but it's possible this name is too limiting/generic/non-descriptive.
@TheNeuralBit has proposed dictionary.getEncoded(i) which also works, but typically I'd expect a method named getEncoded to retrieve raw bytes from a Utf8/List Vector?
Comments welcome.
Per @TheNeuralBit's feedback, DictionaryVector should add a method for retrieving index values.
I tend to think of the dictionary index as the sorted keys list, so
dictionary.key(i)feels right to me (and name feels complementary todictionary.get(i)). but it's possible this name is too limiting/generic/non-descriptive.@TheNeuralBit has proposed
dictionary.getEncoded(i)which also works, but typically I'd expect a method namedgetEncodedto retrieve raw bytes from a Utf8/List Vector?Comments welcome.