Local initialization

Initialization functions related to Local AEs. Local AEs are initialized using the function nzaeLoc-protGetApi. If an AE is local, function nzaeIsLocal returns a TRUE value. If an AE is not local it is remote.

Functions

int nzaeIsLocal()
Returns TRUE if the AE is local.
int nzaeIsRemote()
Returns a true value if this is a Remote AE.
int nzaeLocprotGetApi(NzaeApi *result, int ldkVersion, char *errorMessage, int errorMes-sageSize)
Returns the handle for a local AE.

Detailed description

Initialization functions related to Local AEs. Local AEs are initialized using the function nzaeLoc-protGetApi. If an AE is local, function nzaeIsLocal returns a TRUE value. If an AE is not local it is remote.

Function documentation

int nzaeIsLocal()
Returns TRUE if the AE is local.

The lifecycle of a local process is controlled by the Netezza software.

int nzaeIsRemote()
Returns a true value if this is a Remote AE.
int nzaeLocprotGetApi(NzaeApi *result, int ldkVersion, char *errorMessage, int errorMessageSize
Returns the handle for a local AE.
Parameters:
  • NzaeApi result

    The returned API.

  • ldkVersion

    The expected version.

  • errorMessage

    The error message buffer.

  • errorMessageSize

    The error message buffer size.

Returns A value of 0 on success, -1 on error.

Returns 0 on success, -1 on error. The caller provides the errorMessage buffer and size. The suggested rrror message buffer size is 1050.