-
Notifications
You must be signed in to change notification settings - Fork 25
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
Decouple the client and server source code. #54
Decouple the client and server source code. #54
Conversation
template <> | ||
struct TccStructTraits<nebula::DataSet> { | ||
static void translateFieldName(MAYBE_UNUSED folly::StringPiece _fname, | ||
MAYBE_UNUSED int16_t& fid, | ||
MAYBE_UNUSED apache::thrift::protocol::TType& _ftype) { | ||
if (_fname == "column_names") { | ||
fid = 1; | ||
_ftype = apache::thrift::protocol::T_LIST; | ||
} else if (_fname == "rows") { | ||
fid = 2; | ||
_ftype = apache::thrift::protocol::T_LIST; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does nebula-cpp need these Ops-in.h files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For more compatible we copy the server implementation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Client won't depends on server code again.