Skip to main content
Next section

About This Book

InterSystems IRIS® provides a lightweight Native API for Python for direct access to the native data structure of InterSystems databases. Globals are the tree-based sparse arrays used to implement the InterSystems multidimensional storage model. These native data structures provide very fast, flexible storage and retrieval. InterSystems IRIS uses globals to make data available as objects or relational tables, but you can use the Native API to implement your own data structures.

The following chapters discuss the main features of the Native API:

  • Introduction to the Native API — demonstrates how to create an instance of the main Native API class, open a connection, and perform some simple database operations.

  • Working with Global Arrays — describes how to create, change, or delete nodes in a multidimensional global array, and demonstrates methods for iteration, transactions, and locking.

  • Calling ObjectScript Methods and Functions — describes a set of methods that allow an application to call user defined ObjectScript class methods and functions on the server.

  • Native API Quick Reference — provides a brief description of each method in the Native API.

There is also a detailed Table of Contents.

More information about globals

Versions of the Native API are also available for Java, .NET, and Node.js:

The following book is highly recommended for developers who want to master the full power of globals:

  • Using Globals — describes how to use globals in ObjectScript, and provides more information about how multidimensional storage is implemented on the server.