HIVE-5324 : Extend record writer and ORC reader/writer interfaces to provide statistics (Prasanth J via Ashutosh Chauhan)