Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbGetCndxIndexLength

Retrieve the length in bytes of the conditional expression string, given the index number.

Declaration

NINT ctdbGetCndxIndexLength(CTHANDLE Handle, NINT indexnbr)

Description

ctdbGetCndxIndexLength() retrieves the length in bytes of the conditional expression string, given the index number. To retrieve the conditional expression, use ctdbGetCndxIndex() or ctdbGetCndxIndexByName(). The conditional expression is added, deleted or updated with ctdbUpdateCndxIndex() or ctdbUpdateCndxIndexByName().

  • Handle [in] the Table Handle.
  • indexnbr [in] the index number.

Returns

ctdbGetCndxIndexLength() returns the conditional index length in bytes on success or -1 on failure.

See also

ctdbGetCndxIndexLengthByName(), ctdbUpdateCndxIndex(), ctdbUpdateCndxIndexByName()

TOCIndex