Package org.apache.avro.hadoop.file

Class Summary
HadoopCodecFactory Encapsulates 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 to deflate org.apache.hadoop.io.compress.SnappyCodec will map to snappy org.apache.hadoop.io.compress.BZip2Codec will map to zbip2 org.apache.hadoop.io.compress.GZipCodec will map to deflate New and custom codecs can be registered using #addCodec(String, CodecFactory).
SortedKeyValueFile A SortedKeyValueFile is an indexed Avro container file of KeyValue records sorted by key.
SortedKeyValueFile.Reader<K,V> Reads a SortedKeyValueFile by loading the key index into memory.
SortedKeyValueFile.Reader.Options A class to encapsulate the options of a Reader.
SortedKeyValueFile.Writer<K,V> Writes a SortedKeyValueFile.
SortedKeyValueFile.Writer.Options A class to encapsulate the various options of a SortedKeyValueFile.Writer.
 



Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.