Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support encode for native client #130

Merged
merged 3 commits into from
Feb 8, 2019
Merged

Support encode for native client #130

merged 3 commits into from
Feb 8, 2019

Conversation

darionyaphet
Copy link
Contributor

Support encode for native client

  • add encode method for native client
  • build the static library

@nebula-community-bot
Copy link
Member

Unit testing passed.

Copy link
Member

@sherman-the-tank sherman-the-tank left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done! 👍

Thanks for implementing this. Regarding the C++ libraries, our preference is folly, boost, and stl, in that order.

So in this case, I would suggest to use folly::dynamic, unless there is a strong reason that we have to use boost or stl, such as better performance

namespace nebula {
namespace dataman {

typedef boost::any Value;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest to use folly::dynamic

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for review . Actually I have studied folly::dynamic but I found it don't have float data type and can't pick out between double and float. So I try to use boost::any.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough :-)

Copy link
Member

@sherman-the-tank sherman-the-tank left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Awesome work! 👍

@nebula-community-bot
Copy link
Member

Unit testing passed.

@darionyaphet darionyaphet merged commit e334080 into vesoft-inc:master Feb 8, 2019
tong-hao pushed a commit to tong-hao/nebula that referenced this pull request Jun 1, 2021
yixinglu pushed a commit to yixinglu/nebula that referenced this pull request Mar 21, 2022
Co-authored-by: Shylock Hg <33566796+Shylock-Hg@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants