HeavyDB uses Apache Thrift to generate client-side interfaces. Interface definitions can be found in the $OMNISCI_PATH/omnisci.thrift
file.
Read the Apache Thrift Documentation to learn how to use Thrift to generate client-side interfaces for different programming languages.
You can find sample client code examples in the $HEAVYAI_PATH/samples
directory.