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
  extended by org.apache.crunch.types.avro.ReflectDataFactory

public class ReflectDataFactory
extends Object

A Factory class for constructing Avro reflection-related objects.


Constructor Summary
ReflectDataFactory()
           
 
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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectDataFactory

public ReflectDataFactory()
Method Detail

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.