private <T> Optional<String> tryConvert(BigDecimal number, java.util.function.Function<BigDecimal, T> converter,
            java.util.function.Function<T, String> handler) {
        try {
            T value = converter.apply(number);
            return Optional.ofNullable(handler.apply(value));
        } catch (ArithmeticException e) {
            return Optional.empty();
        }
    }
HexFunction  ->  hex(dataStr)
description:
- Return the string obtained by converting the dataStr to hexadecimal if 'dataStr' can be parsed into numeric
- Return the string obtained by converting the ASCII code corresponding to each character to hexadecimal otherwise
inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/process/function/arithmetic/HexFunction.java