This repository has been archived by the owner on Jun 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Code
Stavros Papadopoulos edited this page Mar 25, 2017
·
16 revisions
The code is organized into the following directories:
-
core
The files for the core TileDB storage manager. -
examples
The tutorial examples from the TileDB website -
test
Google tests for TileDB -
doc
Contains the Doxygen configuration files.
If you wish to dive into the implementation details of TileDB, we recommend the following steps:
-
Step 1 - Learn the TileDB internal mechanics
Visit the TileDB tutorials and read the TileDB Mechanics 101 tutorial. -
Step 2 - Run all the TileDB examples
Visit the TileDB tutorials, read the TileDB C API tutorial, and run all the examples locally. Also try to study the code of the examples. -
Step 3 - Learn the C API code
Read through filescore/include/c_api/constants.h
,core/include/c_api/c_api.h
andcore/src/c_api/c_api.cc
-
Step 4 - Dive deeper into the rest of the classes
For each C API function, follow the code and read through the rest of the files incore/include
andcore/src
All the header files in core/include
are fairly documented with Doxygen. Simply run:
make doc
in your build directory and open doxygen/html/index.html
in your browser. You can navigate from there to all the TileDB header files.
We have set up the Google Test infrastructure for code testing for TileDB. All the tests are in directory test
. We will be constantly augmenting our tests in the future releases. To run the tests, follow the instructions of the Building TileDB section.