public class ExampleOutputFormat extends ParquetOutputFormat<Group>
ParquetOutputFormat.JobSummaryLevelBLOCK_SIZE, COMPRESSION, DICTIONARY_PAGE_SIZE, ENABLE_DICTIONARY, ENABLE_JOB_SUMMARY, ESTIMATE_PAGE_SIZE_CHECK, JOB_SUMMARY_LEVEL, MAX_PADDING_BYTES, MAX_ROW_COUNT_FOR_PAGE_SIZE_CHECK, MEMORY_POOL_RATIO, MIN_MEMORY_ALLOCATION, MIN_ROW_COUNT_FOR_PAGE_SIZE_CHECK, PAGE_SIZE, VALIDATION, WRITE_SUPPORT_CLASS, WRITER_VERSION| Constructor and Description |
|---|
ExampleOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
static MessageType |
getSchema(org.apache.hadoop.mapreduce.Job job)
retrieve the schema from the conf
|
static void |
setSchema(org.apache.hadoop.mapreduce.Job job,
MessageType schema)
set the schema being written to the job conf
|
getBlockSize, getBlockSize, getCompression, getCompression, getDictionaryPageSize, getDictionaryPageSize, getEnableDictionary, getEnableDictionary, getEstimatePageSizeCheck, getJobSummaryLevel, getLongBlockSize, getMaxRowCountForPageSizeCheck, getMemoryManager, getMinRowCountForPageSizeCheck, getOutputCommitter, getPageSize, getPageSize, getRecordWriter, getRecordWriter, getRecordWriter, getValidation, getValidation, getWriterVersion, getWriteSupport, getWriteSupportClass, isCompressionSet, isCompressionSet, setBlockSize, setCompression, setDictionaryPageSize, setEnableDictionary, setMaxPaddingSize, setMaxPaddingSize, setPageSize, setValidation, setValidation, setWriteSupportClass, setWriteSupportClasscheckOutputSpecs, getCompressOutput, getDefaultWorkFile, getOutputCompressorClass, getOutputName, getOutputPath, getPathForWorkFile, getUniqueFile, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputName, setOutputPathpublic static void setSchema(org.apache.hadoop.mapreduce.Job job,
MessageType schema)
job - a jobschema - the schema of the datapublic static MessageType getSchema(org.apache.hadoop.mapreduce.Job job)
job - a jobCopyright © 2019 The Apache Software Foundation. All rights reserved.