ObjectInspector helps analyze the internal structure of a row object and the individual structure of columns in Hive. It also provides a uniform way to access complex objects that can be stored in multiple formats in the memory.
An instance of Java class
A standard Java object
A lazily initialized object
ObjectInspector tells the structure of the object and also the ways to access the internal fields inside the object.