@InterfaceAudience.Public @InterfaceStability.Evolving public interface PigStatsOutputSizeReader
FileBasedOutputSizeReader
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OUTPUT_SIZE_READER_KEY |
static java.lang.String |
OUTPUT_SIZE_READER_UNSUPPORTED |
Modifier and Type | Method and Description |
---|---|
long |
getOutputSize(POStore sto,
org.apache.hadoop.conf.Configuration conf)
Returns the size of output in bytes.
|
boolean |
supports(POStore sto,
org.apache.hadoop.conf.Configuration conf)
Returns whether the given PSStore is supported by this output size reader
or not.
|
static final java.lang.String OUTPUT_SIZE_READER_KEY
static final java.lang.String OUTPUT_SIZE_READER_UNSUPPORTED
boolean supports(POStore sto, org.apache.hadoop.conf.Configuration conf)
sto
- POStoreconf
- Configurationlong getOutputSize(POStore sto, org.apache.hadoop.conf.Configuration conf) throws java.io.IOException
sto
- POStoreconf
- configurationjava.io.IOException
Copyright © 2007-2012 The Apache Software Foundation