Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbGetRecordKeyPos

Retrieve the given record position in the default index.

Syntax

CTDBRET ctdbDECL ctdbGetRecordKeyPos(CTHANDLE Handle, pCTOFFSET pPosition)

Parameters

  • Handle [IN] - c-treeDB API C API record handle
  • pPosition [OUT] - Position in the given index

Description

Retrieves the given record position in the default index. The returned position is the Ordinal key position, not a file offset.

Return

CTDBRET_OK on success.

TOCIndex