Package | Description |
---|---|
org.apache.avro.hadoop.io | |
org.apache.avro.mapreduce |
Modifier and Type | Class and Description |
---|---|
static class |
AvroDatumConverterFactory.AvroWrapperConverter
Converts AvroWrappers into their wrapped Avro data.
|
static class |
AvroDatumConverterFactory.BooleanWritableConverter
Converts BooleanWritables into Booleans.
|
static class |
AvroDatumConverterFactory.BytesWritableConverter
Converts BytesWritables into ByteBuffers.
|
static class |
AvroDatumConverterFactory.ByteWritableConverter
Converts ByteWritables into GenericFixed of size 1.
|
static class |
AvroDatumConverterFactory.DoubleWritableConverter
Converts DoubleWritables into Doubles.
|
static class |
AvroDatumConverterFactory.FloatWritableConverter
Converts FloatWritables into Floats.
|
static class |
AvroDatumConverterFactory.IntWritableConverter
Converts IntWritables into Ints.
|
static class |
AvroDatumConverterFactory.LongWritableConverter
Converts LongWritables into Longs.
|
static class |
AvroDatumConverterFactory.NullWritableConverter
Converts NullWritables into Nulls.
|
static class |
AvroDatumConverterFactory.TextConverter
Converts Text into CharSequences.
|
Modifier and Type | Method and Description |
---|---|
<IN,OUT> AvroDatumConverter<IN,OUT> |
AvroDatumConverterFactory.create(Class<IN> inputClass)
Creates a converter that turns objects of type
inputClass into Avro data. |
Constructor and Description |
---|
AvroKeyValueRecordWriter(AvroDatumConverter<K,?> keyConverter,
AvroDatumConverter<V,?> valueConverter,
GenericData dataModel,
CodecFactory compressionCodec,
OutputStream outputStream)
Constructor.
|
AvroKeyValueRecordWriter(AvroDatumConverter<K,?> keyConverter,
AvroDatumConverter<V,?> valueConverter,
GenericData dataModel,
CodecFactory compressionCodec,
OutputStream outputStream)
Constructor.
|
AvroKeyValueRecordWriter(AvroDatumConverter<K,?> keyConverter,
AvroDatumConverter<V,?> valueConverter,
GenericData dataModel,
CodecFactory compressionCodec,
OutputStream outputStream,
int syncInterval)
Constructor.
|
AvroKeyValueRecordWriter(AvroDatumConverter<K,?> keyConverter,
AvroDatumConverter<V,?> valueConverter,
GenericData dataModel,
CodecFactory compressionCodec,
OutputStream outputStream,
int syncInterval)
Constructor.
|
Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.