-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CurrentDomain API support. (#5041)
This PR adds the foundation for the CurrentDomain API: - format change in array schema and disk serialization - plumbing so you can create/open an array with current_domain data using sm APIs - array schema dump extension - test coverage To be done C and CPP API that wrap APIs defined here. [sc-42489] --- TYPE: FEATURE DESC: Add CurrentDomain API support. --------- Co-authored-by: Luc Rancourt <lucrancourt@gmail.com> Co-authored-by: KiterLuc <67824247+KiterLuc@users.noreply.github.com>
- Loading branch information
1 parent
1326ed4
commit 9116d3c
Showing
27 changed files
with
1,870 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: Current Domain | ||
--- | ||
|
||
## Main Structure | ||
|
||
The array current domain is stored within the [Array Schema](./array_schema.md#array-schema-file) | ||
file. If a current domain is empty, only the version number and the empty flag are serialized to storage. | ||
|
||
| **Field** | **Type** | **Description** | | ||
| :--- | :--- | :--- | | ||
| Version number | `uint32_t` | Current domain version number | | ||
| Empty | `uint8_t` | Whether the current domain has a representation(e.g. NDRectangle) set or not | | ||
| Type | `uint8_t` | The type of current domain stored in this file | | ||
| NDRectangle | [MBR](./fragment.md#mbr) | A hyperrectangle defined using [1DRange](./fragment.md#mbr) items for each dimension | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.