Product Documentation

c-treeDB API for C

Next Topic

c-treeDB API for C - Developers Guide

Developer Guide

c-treeDB API for C

Audience:

Developers

Subject:

c-treeDB Navigational, Session-Oriented C API

Copyright:

© Copyright 2024, FairCom Corporation. All rights reserved. For full information, see the FairCom Copyright Notice.

 

FairCom is pleased to present the c-tree database API — c-treeDB API. c-treeDB API gives application developers a simple interface into the powerful core of c-tree database engine, yet includes the advanced functionality that distinguishes c-tree from other database solutions. The c-treeDB API offers a method of database creation and maintenance that is easier to use than the traditional FairCom DB ISAM and FairCom Low-Level APIs. The c-tree database utilizes the simplified concepts of sessions, databases, and tables in addition to the standard concepts of records, fields, indexes, and segments. This database API allows for effortless and productive management of database systems.

Overview

The c-treeDB C API provides libraries that, once installed and correctly referenced, allow C programs to access the c-tree database core via function calls. The c-tree database API gives application developers a simple interface into the powerful core of c-tree, yet includes the advanced functionality that distinguishes c-tree from other database solutions. The c-treeDB API offers a method of database creation and maintenance that is easier to use than the traditional FairCom DB NoSQL (ISAM) and FairCom Low-Level APIs.

API Hierarchy - V11.5

The c-treeDB API utilizes the simplified concepts of sessions, databases, and tables in addition to the standard concepts of records, fields, indices, and segments. This database layer allows for effortless and productive management of database systems.

c-treeDB Relationships

The c-treeDB API consists of two separate APIs. The C++ API provides the classes and methods that comprise the database functionality. The C API provides the function calls without object-oriented schema. Aside from the schematic differences, there are few distinctions between these c-treeDB C++ and C APIs.

Layout of this Manual

This documentation, which describes the c-treeDB C API, is divided into the following major chapters:

Quick Tour

The quick tour section will show how easy it is to develop database applications using the c-treeDB C API. Basically you should initialize, define, manage, and you are done. Please take a look at our introductory tutorials for a quick introduction into c-treeDB database programming.

Programmer’s Reference

The programmer's reference presents a detailed description of the concepts exported by c-treeDB C API. Each concept is presented with a detailed description and programming examples.

Function Reference

The function reference details the functions that comprise the c-treeDB C API.

Next Topic

Quick Start Tutorials

FairCom provides four quick tutorials for each supported API. These tutorials show the major components of our core technology:

  • How to init, define and manage data.
  • How to handle index files.
  • How to use locks in a multi-user environment.
  • How to use transaction processing.

You can find these tutorials in the ReadMe files for the c-treeDB API navigational interface:

c-treeDB API Interfaces for Other Languages

FairCom offers navigational interfaces for many languages.

Navigational record-oriented interfaces:

Language

Notes

Drivers Folder

(V12 location)

Nickname

C

Record-oriented C API

c.nav

ctdb

C++

Record-oriented C++ API

cpp.nav

ctpp

C#

Record-oriented Microsoft C# .NET API

csharp.nav

 

Java

Record-oriented Java API

java.nav

jtdb

JPA Hibernate

Java

java.jpa.nav

ctree.isam.jpa

Node.js JavaScript - NAV

Record-oriented API for JavaScript

nodejs.nav

c-tree Node.js Module

Python FairCom NAV

Record-oriented API for Python

python.nav

Python NAV

Visual Basic

Record-oriented API for Microsoft Visual Basic .NET

vb.nav

vtdb

VCL

Record-oriented API for VCL data components for Embarcadero Delphi

(available from FairCom)

dtdb

You can find additional tutorials and information about the entire set of FairCom APIs in the following ReadMe:

The ReadMe files document the very basic tutorials packaged with the product. On the FairCom website you can find a highly informative interactive tutorial:

Online Interactive Tutorials

This tutorial covers the major programming languages that c-treeDB API supports. It goes into depth to illustrate best practices for multi-threaded environments with SQL compatibility.

TOCIndex