SDO_UTIL.H3_INT_TO_STRING

Format

SDO_UTIL.H3_INT_TO_STRING(
      h3_key IN NUMBER
) RETURN RAW;

Description

Converts the unsigned 64-bit integer representation of an H3 index to its hexadecimal representation.

Parameters

h3_key

The numeric representation of an H3 index.

Usage Notes

The function returns the hexadecimal string representation of the H3 index.

Use SDO_UTIL.H3_STRING_TO_INT to convert the returned RAW representation back to its numeric representation.

Examples

The following example converts an H3 index from its numeric representation to its hexadecimal representation:

SELECT SDO_UTIL.H3_INT_TO_STRING(617700171168612351) FROM DUAL;
89283087033FFFF