Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.28.15 NdbScanFilter::gt()

Description.  This method is used to perform a greater-than (strict upper bound) test on a column value and an integer.

Signature.  This method accommodates both 32-bit and 64-bit values:

int gt
    (
      int    ColId,
      Uint32 value
    )


int gt
    (
      int    ColId,
      Uint64 value
    )

Parameters.  Like the other NdbScanFilter methods of this type, this method takes two parameters:

  • The ID (ColId) of the column whose value is to be tested

  • An integer with which to compare the column value; this integer may be either 32-bit or 64-bit, and is unsigned in either case.

Return value.  0 on success; -1 on failure.


User Comments
Sign Up Login You must be logged in to post a comment.