This project has retired. For details please refer to its
Attic page.
ReflectDataFactory (Apache Crunch 0.4.0-incubating API)
org.apache.crunch.types.avro
Class ReflectDataFactory
java.lang.Object
org.apache.crunch.types.avro.ReflectDataFactory
public class ReflectDataFactory
- extends Object
A Factory class for constructing Avro reflection-related objects.
Method Summary |
<T> org.apache.avro.reflect.ReflectDatumReader<T> |
|
getReader(org.apache.avro.Schema schema)
|
org.apache.avro.reflect.ReflectData |
getReflectData()
|
<T> org.apache.avro.reflect.ReflectDatumWriter<T> |
|
getWriter(org.apache.avro.Schema schema)
|
ReflectDataFactory
public ReflectDataFactory()
getReflectData
public org.apache.avro.reflect.ReflectData getReflectData()
getReader
public <T> org.apache.avro.reflect.ReflectDatumReader<T> getReader(org.apache.avro.Schema schema)
getWriter
public <T> org.apache.avro.reflect.ReflectDatumWriter<T> getWriter(org.apache.avro.Schema schema)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.