@InterfaceAudience.Public @InterfaceStability.Evolving public interface PigStatsOutputSizeReader
FileBasedOutputSizeReader| Modifier and Type | Field and Description |
|---|---|
static String |
OUTPUT_SIZE_READER_KEY |
static 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 String OUTPUT_SIZE_READER_KEY
static final 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 IOException
sto - POStoreconf - configurationIOExceptionCopyright © 2007-2017 The Apache Software Foundation