mcpp index

compat.arrow-adbc

#include

Apache Arrow ADBC (Arrow Database Connectivity) C/C++ driver manager and optional SQLite driver

#include <arrow-adbc/adbc.h>
mcpp add compat.arrow-adbc@25

用法

來自本倉庫自己的測試專案 —— CI 真的編譯並執行過,不是為了網站寫的。

#include <arrow-adbc/adbc.h>
#include <arrow-adbc/adbc_driver_manager.h>
#include <arrow-adbc/driver/sqlite.h>

#include <cassert>
#include <cstdint>
#include <cstring>
#include <iostream>
#include <string>
#include <utility>
#include <vector>

namespace {

void CheckStatus(AdbcStatusCode status, struct AdbcError* err, const char* step) {
  if (status != ADBC_STATUS_OK) {
    std::cerr << step << " failed (" << AdbcStatusCodeMessage(status) << "): "
              << (err->message ? err->message : "(no message)") << "\n";
    if (err->release) {
      err->release(err);
    }
    assert(status == ADBC_STATUS_OK);
// …

tests/examples/arrow-adbc-sqlite/tests/test_arrow_adbc_sqlite.cpp · 專案 tests/examples/arrow-adbc-sqlite

建置

targets
arrow-adbc (lib)
language
c++23
C standard
c11
import std
no
include dirs
*/c/include

功能

功能宣告了
staticlibdefines
defaultimplies
sqlitedeps, flags, sources

原始檔 (4)

  • */c/driver_manager/adbc_driver_manager.cc
  • */c/driver_manager/adbc_driver_manager_api.cc
  • */c/driver_manager/adbc_driver_manager_driver_loading.cc
  • */c/driver_manager/adbc_driver_manager_profiles.cc

產生的檔案

  • mcpp_generated/driver/sqlite/config.h

版本

版本平台 鏡像sha256
25 最新 LinuxWindowsmacOS CN GLOBAL de2910f951ee…