SE_stream_query_rowid_by_uuid

Gets a list of ArcSDE row ID values corresponding to a list of UUIDs

Usage syntax

LONG SE_stream_query_rowid_by_uuid (SE_STREAM stream, const CHAR *table, const CHAR *uuid_column, CHAR **uuid_array, LONG num_uuids, ULONG *not_found_bit_array, SE_LOGINFO logfile);

Parameters
stream The stream handle
table The table name
uuid_column The name of the UUID column
uuid_array The supplied UUID values
num_uuids The number of supplied UUIDs
not_found_bit_array Bit array signifying the positions of the UUIDs that were not found
logfile The log file for the returned ArcSDE row ID values
Description

This function returns the ArcSDE row ID value for each of the supplied UUID values. The function processes a batch of UUID values to minimize the number of round trips to the database. The function populates an SE_LOGINFO object that points to a log file holding the row IDs for the UUIDs that were found. It returns a bit array holding information about the UUIDs that were not found.

Returns

SE_SUCCESS
SE_ATTR_CONV_ERROR

SE_ATT_NOEXIST

SE_CONNECTION_IN_USE

SE_CONNECTION_LOCKED

SE_DB_IO_ERROR

SE_INVALID_LOGINFO_OBJECT

SE_INVALID_PARAM_VALUE

SE_INVALID_POINTER

SE_INVALID_ROW_ID_LAYER

SE_NET_FAILURE

SE_NO_PERMISSIONS

SE_OUT_OF_CLMEM

SE_OUT_OF_SVMEM

SE_SDE_NOT_STARTED

SE_STREAM_IN_PROGRESS

SE_TABLE_NOEXIST