GitHub user jackylk opened a pull request:
https://github.com/apache/incubator-carbondata/pull/236
[CARBONDATA-Pending] Add dictionary interface for new data load flow
In this PR, following is added:
- a BiDictionary interface which can retrieve key by value, or retrieve
value by key.
- DictionaryGenerator interface that generates dictionary key from value
- an implementation (InMemBiDictionary) that uses BiMap from Google Guava
library as backend data structure. This implementation also supports
pre-created dictionary.
Testcase is added for InMemBiDictionary
I will create the JIRA issue later after it is available
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jackylk/incubator-carbondata dict
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-carbondata/pull/236.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #236
----
commit 765aec43db1a94e101f99bd92b8763a3c1989edb
Author: jackylk <[email protected]>
Date: 2016-10-13T17:24:30Z
add dictionary interface
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---