private boolean isBigDecimal(Object valueObj) {
        if (valueObj instanceof BigDecimal) {
            return true;
        }
        if (valueObj instanceof String) {
            String str = (String) valueObj;
            return BIG_DECIMAL_PATTERN.matcher(str).matches();
        }
        return false;
    }
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