static StructObjectInspector createEventObjectInspector(ObjectInspector rowInspector) {
    List<StructField> fields = new ArrayList<StructField>();
    fields.add(new OrcStruct.Field(OPERATION_FIELD_NAME,
        PrimitiveObjectInspectorFactory.writableIntObjectInspector, OPERATION));
    fields.add(new OrcStruct.Field(ORIGINAL_WRITEID_FIELD_NAME,
        PrimitiveObjectInspectorFactory.writableLongObjectInspector, ORIGINAL_WRITEID));
    fields.add(new OrcStruct.Field(BUCKET_FIELD_NAME,
        PrimitiveObjectInspectorFactory.writableIntObjectInspector, BUCKET));
    fields.add(new OrcStruct.Field(ROW_ID_FIELD_NAME,
        PrimitiveObjectInspectorFactory.writableLongObjectInspector, ROW_ID));
    fields.add(new OrcStruct.Field(CURRENT_WRITEID_FIELD_NAME,
        PrimitiveObjectInspectorFactory.writableLongObjectInspector, CURRENT_WRITEID));
    fields.add(new OrcStruct.Field(ROW_FIELD_NAME, rowInspector, ROW));
    return new OrcStruct.OrcStructInspector(fields);
  }
Create an object inspector for the ACID event based on the object inspector
for the underlying row.
@param rowInspector the row's object inspector
@return an object inspector for the event stream
ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcRecordUpdater.java