JavaStringIntObjectInspector oi = (JavaStringIntObjectInspector) sf.getFieldObjectInspector();
assertEquals(-12345, oi.get(result.get("cint")));
sf = soi.getStructFieldRef("cbigint");
assertTrue(sf.getFieldObjectInspector() instanceof JavaStringLongObjectInspector);
JavaStringLongObjectInspector bioi = (JavaStringLongObjectInspector) sf.getFieldObjectInspector();
assertEquals(-123446767687867L , bioi.get(result.get("cbigint")));
sf = soi.getStructFieldRef("cfloat");
assertTrue(sf.getFieldObjectInspector() instanceof JavaStringFloatObjectInspector);
JavaStringFloatObjectInspector foi = (JavaStringFloatObjectInspector) sf.getFieldObjectInspector();
assertEquals(-3.1415 , foi.get(result.get("cfloat")),0.001);