-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
properties: upgrade HBaseVertex to support multi-properties
The HBase graph tinkerpop implementation specifies Cardinality.single as the default. Since HBase does not (at the time of this writing) support multiple values, this feature wraps the multi-values in a list and writes the list to HBase. As a consequence of this list wrapper, indexed properties can still only support-single value properties. When reading/writing from HBase, most properties will be written as single objects. Only when a property is specifically added with non-single cardinality will it be written to HBase as a list. In order to avoid java native serialization, the serialization of non-single property values uses Kryo (with a small lightweight wrapper class to accomplish this).
- Loading branch information
Michael Rappazzo
committed
Mar 13, 2019
1 parent
29b0ea4
commit 3265dde
Showing
15 changed files
with
564 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.