Skip to content

feat: support IncludeValue for get operation#207

Merged
mattisonchao merged 6 commits intomainfrom
feat.include.value
Mar 11, 2025
Merged

feat: support IncludeValue for get operation#207
mattisonchao merged 6 commits intomainfrom
feat.include.value

Conversation

@mattisonchao
Copy link
Member

Motivation

See oxia-db/oxia#636

@mattisonchao mattisonchao changed the title feat: support IncludeValue for get operation feat: support IncludeValue for get operation Mar 5, 2025
@mattisonchao mattisonchao self-assigned this Mar 5, 2025
Copy link

@heesung-sohn heesung-sohn left a comment

Choose a reason for hiding this comment

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

Lgtm. Is this backward compatible?

* @return A GetOption instance representing the include value setting.
*/
static GetOption IncludeValue(boolean includeValue) {
return new OptionIncludeValue(includeValue);
Copy link
Collaborator

Choose a reason for hiding this comment

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

We could use 2 static objects here instead of allocating new object each time

@mattisonchao mattisonchao requested a review from merlimat March 11, 2025 04:43
@mattisonchao mattisonchao merged commit 8088f25 into main Mar 11, 2025
1 check passed
@mattisonchao mattisonchao deleted the feat.include.value branch March 11, 2025 07:58
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.

4 participants