Skip to content

Conversation

@maheshk114
Copy link
Contributor

No description provided.

private final OperationType opType;
private final TProtocolVersion protocol;
private boolean hasResultSet = false;
private boolean hasResultSetIsSet = false;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need hasResultSetIsSet? isn't it enough to keep default as false for hasResultSet if it is null in OperationHandle?

Copy link
Contributor

@sankarh sankarh Nov 27, 2018

Choose a reason for hiding this comment

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

ok got it... btw, can we use Boolean object instead of boolean primitive type for hasResultSet so that we can set it to null if not set. This will avoid extra variable hasResultSetIsSet.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@maheshk114 maheshk114 closed this Nov 28, 2018
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.

2 participants