public class ExampleOutputFormat extends ParquetOutputFormat<Group>
ExampleOutputFormat#setSchema(Configuration, MessageType),
GroupWriteSupport.PARQUET_EXAMPLE_SCHEMABLOCK_SIZE, COMPRESSION, DICTIONARY_PAGE_SIZE, ENABLE_DICTIONARY, ENABLE_JOB_SUMMARY, MEMORY_POOL_RATIO, MIN_MEMORY_ALLOCATION, 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, getLongBlockSize, getOutputCommitter, getPageSize, getPageSize, getRecordWriter, getRecordWriter, getRecordWriter, getValidation, getValidation, getWriterVersion, getWriteSupport, getWriteSupportClass, isCompressionSet, isCompressionSet, setBlockSize, setCompression, setDictionaryPageSize, setEnableDictionary, 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)
schema - the schema of the dataconfiguration - the job configurationpublic static MessageType getSchema(org.apache.hadoop.mapreduce.Job job)
configuration - the job confCopyright © 2015 The Apache Software Foundation. All rights reserved.