Skip to content

Commit

Permalink
FragmentInfo CAPI Handle. (#5299)
Browse files Browse the repository at this point in the history
`FragmentInfo` CAPI Handle.

[sc-53778]

---
TYPE: C_API
DESC: `FragmentInfo` CAPI Handle.
  • Loading branch information
bekadavis9 authored Oct 1, 2024
1 parent c0fce06 commit 6b20735
Show file tree
Hide file tree
Showing 18 changed files with 3,902 additions and 2,239 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ list(APPEND TILEDB_C_API_RELATIVE_HEADERS
"${CMAKE_SOURCE_DIR}/tiledb/api/c_api/filter/filter_api_enum.h"
"${CMAKE_SOURCE_DIR}/tiledb/api/c_api/filter/filter_api_external.h"
"${CMAKE_SOURCE_DIR}/tiledb/api/c_api/filter_list/filter_list_api_external.h"
"${CMAKE_SOURCE_DIR}/tiledb/api/c_api/fragment_info/fragment_info_api_experimental.h"
"${CMAKE_SOURCE_DIR}/tiledb/api/c_api/fragment_info/fragment_info_api_external.h"
"${CMAKE_SOURCE_DIR}/tiledb/api/c_api/group/group_api_external.h"
"${CMAKE_SOURCE_DIR}/tiledb/api/c_api/ndrectangle/ndrectangle_api_external_experimental.h"
"${CMAKE_SOURCE_DIR}/tiledb/api/c_api/object/object_api_enum.h"
Expand Down
3 changes: 3 additions & 0 deletions tiledb/api/c_api/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ add_subdirectory(filter)
# `filter_list`: depends on `context`, `filter`
add_subdirectory(filter_list)

# `fragment_info`: depends on `context`
add_subdirectory(fragment_info)

# `dimension`: depends on `filter_list`, `datatype`
add_subdirectory(dimension)

Expand Down
42 changes: 42 additions & 0 deletions tiledb/api/c_api/fragment_info/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#
# tiledb/api/c_api/fragment_info/CMakeLists.txt
#
# The MIT License
#
# Copyright (c) 2024 TileDB, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
#

include(common NO_POLICY_SCOPE)
include(object_library)

list(APPEND SOURCES
fragment_info_api.cc
)
gather_sources(${SOURCES})

commence(object_library capi_fragment_info_stub)
this_target_sources(${SOURCES})
this_target_link_libraries(export)
this_target_object_libraries(fragment_metadata)
this_target_object_libraries(capi_context_stub)
conclude(object_library)

add_test_subdirectory()
Loading

0 comments on commit 6b20735

Please sign in to comment.