public class FileBasedOutputSizeReader extends java.lang.Object implements PigStatsOutputSizeReader
OUTPUT_SIZE_READER_KEY, OUTPUT_SIZE_READER_UNSUPPORTED
Constructor and Description |
---|
FileBasedOutputSizeReader() |
Modifier and Type | Method and Description |
---|---|
long |
getOutputSize(POStore sto,
org.apache.hadoop.conf.Configuration conf)
Returns the total size of output files in bytes
|
boolean |
supports(POStore sto,
org.apache.hadoop.conf.Configuration conf)
Returns whether the given POStore is supported by this output size reader
or not.
|
public boolean supports(POStore sto, org.apache.hadoop.conf.Configuration conf)
supports
in interface PigStatsOutputSizeReader
sto
- POStoreconf
- Configurationpublic long getOutputSize(POStore sto, org.apache.hadoop.conf.Configuration conf) throws java.io.IOException
getOutputSize
in interface PigStatsOutputSizeReader
sto
- POStoreconf
- configurationjava.io.IOException
Copyright © 2007-2012 The Apache Software Foundation