List of utility methods to do Array to Primitive Type Convert
if (value == null) return null; long[] res = new long[value.length]; for (int i = 0; i < value.length; i++) { res[i] = value[i]; return res;