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

JSON: Extending JSON for Query specification. #15

Open
prataprc opened this issue Jun 21, 2017 · 2 comments
Open

JSON: Extending JSON for Query specification. #15

prataprc opened this issue Jun 21, 2017 · 2 comments
Assignees
Labels

Comments

@prataprc
Copy link
Member

prataprc commented Jun 21, 2017

When key used in a kv storage is shaped as JSON string, then we need some additional support besides what is available in JSON spec

  • Min-Unbounded, to denote that we want to iterate from the first item.
  • Max-Unbounded, to denote that we want to iterate till the last item.
  • -Infinity, to denote smallest number.
  • +Infinity, to denote largest number.
  • NaN, since it is included in IEEE 754 spec.
  • Missing, what is the sort position for missing in the supported list of types.
@prataprc
Copy link
Member Author

Terminator byte = 0
TypeMissing byte = 11
TypeNull byte = 12
TypeFalse byte = 13
TypeTrue byte = 14
TypeNumber byte = 15
TypeString byte = 16
TypeLength byte = 17
TypeArray byte = 18
TypeObj byte = 19
TypeBinary byte = 20

Creating a gap between Terminator and TypeNull, for more types that can be
included later on.

@prataprc prataprc added the task label Jun 29, 2017
@prataprc prataprc self-assigned this Jun 29, 2017
@prataprc
Copy link
Member Author

prataprc commented Jul 2, 2017

These representations can be added in collation binary format.
While some more analysis are required for JSON and CBOR.

prataprc added a commit that referenced this issue Jan 29, 2018
@prataprc prataprc changed the title Extending JSON for Query specification. JSON: Extending JSON for Query specification. Feb 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant