Package org.apache.avro.hadoop.file
package org.apache.avro.hadoop.file
-
ClassDescriptionEncapsulates the ability to specify and configure an avro compression codec from a given hadoop codec defined with the configuration parameter: mapred.output.compression.codec Currently there are three codecs registered by default:
org.apache.hadoop.io.compress.DeflateCodec
will map todeflate
org.apache.hadoop.io.compress.SnappyCodec
will map tosnappy
org.apache.hadoop.io.compress.BZip2Codec
will map tobzip2
org.apache.hadoop.io.compress.GZipCodec
will map todeflate
org.apache.hadoop.io.compress.ZStandardCodec
will map tozstandard
A SortedKeyValueFile is an indexed Avro container file of KeyValue records sorted by key.Reads a SortedKeyValueFile by loading the key index into memory.A class to encapsulate the options of a Reader.Writes a SortedKeyValueFile.A class to encapsulate the various options of a SortedKeyValueFile.Writer.