Skip to content

Dictionary should expose its index values #7

@trxcllnt

Description

@trxcllnt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions