public static BigInteger convertToBigInteger(Inet4Address value) {
        return value == null ? null : new BigInteger(1, value.getAddress());
    }
Converts IP address to big integer.

@param value IP address
@return big integer
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseValues.java