Coding the GPSS Client

A newer version of this documentation is available. Click here to view the most up-to-date release of the Greenplum 5.x documentation.

Coding the GPSS Client

You will develop GPSS client code to perform the following tasks:

  1. Connect to the GPSS Server
  2. Connect to Greenplum Database
  3. Retrieve Greenplum schema and table information
  4. Prepare a Greenplum table for writing
  5. Write data to the Greenplum table
Note: The code excerpts in this topic are written in the Java programming language.

The code excerpts build upon each other. For example, the client instantiates a Session object in the Connect to Greenplum Database section. Subsequent code excerpts reference the same Session object instance.