@Test public final void testElementObjectInspector() throws SerDeException { ProtobufStructObjectInspector protobufOI = (ProtobufStructObjectInspector) deserializer .getObjectInspector(); ProtobufStructObjectInspector personOI = new ProtobufStructObjectInspector( Person.getDescriptor()); assertEquals(protobufOI.getStructFieldRef("person").getFieldObjectInspector().getClass(), ObjectInspectorFactory.getStandardListObjectInspector(personOI).getClass()); StandardListObjectInspector phoneOI = (StandardListObjectInspector) personOI.getStructFieldRef( "phone").getFieldObjectInspector(); assertEquals(phoneOI.getListElementObjectInspector().getTypeName(), "struct<number:string,type:string>"); }
@Override public ObjectInspector getObjectInspector() throws SerDeException { return objectInspector; }
ProtobufDeserializer implements Deserializer { @Override public ObjectInspector getObjectInspector() throws SerDeException { return objectInspector; } }
ProtobufDeserializer implements Deserializer { @Override public ObjectInspector getObjectInspector() throws SerDeException { return objectInspector; }  }
ProtobufDeserializer implements Deserializer { @Override public ObjectInspector getObjectInspector() throws SerDeException { return objectInspector; }  @Override void initialize(Configuration job, Properties tbl); @Override Object deserialize(Writable blob); @Override ObjectInspector getObjectInspector(); @Override SerDeStats getSerDeStats(); }
ProtobufDeserializer implements Deserializer { @Override public ObjectInspector getObjectInspector() throws SerDeException { return objectInspector; }  @Override void initialize(Configuration job, Properties tbl); @Override Object deserialize(Writable blob); @Override ObjectInspector getObjectInspector(); @Override SerDeStats getSerDeStats();  }