public class FileBasedOutputSizeReader extends 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 PigStatsOutputSizeReadersto - POStoreconf - Configurationpublic long getOutputSize(POStore sto, org.apache.hadoop.conf.Configuration conf) throws IOException
getOutputSize in interface PigStatsOutputSizeReadersto - POStoreconf - configurationIOExceptionCopyright © 2007-2017 The Apache Software Foundation