org.apache.hadoop.hive.ql.io
Interface StatsProvidingRecordWriter

All Superinterfaces:
FileSinkOperator.RecordWriter

public interface StatsProvidingRecordWriter
extends FileSinkOperator.RecordWriter

If a file format internally gathers statistics (like ORC) while writing then it can expose the statistics through this record writer interface. Writer side statistics is useful for updating the metastore with table/partition level statistics. StatsProvidingRecordWriter.


Method Summary
 SerDeStats getStats()
          Returns the statistics information
 
Methods inherited from interface org.apache.hadoop.hive.ql.exec.FileSinkOperator.RecordWriter
close, write
 

Method Detail

getStats

SerDeStats getStats()
Returns the statistics information

Returns:
SerDeStats


Copyright © 2014 The Apache Software Foundation. All rights reserved.