This project has retired. For details please refer to its Attic page.
ReadableSourceTargetImpl (Apache Crunch 0.3.0-incubating API)

org.apache.crunch.io.impl
Class ReadableSourceTargetImpl<T>

java.lang.Object
  extended by org.apache.crunch.io.impl.SourceTargetImpl<T>
      extended by org.apache.crunch.io.impl.ReadableSourceTargetImpl<T>
All Implemented Interfaces:
ReadableSource<T>, ReadableSourceTarget<T>, Source<T>, SourceTarget<T>, Target

public class ReadableSourceTargetImpl<T>
extends SourceTargetImpl<T>
implements ReadableSourceTarget<T>


Constructor Summary
ReadableSourceTargetImpl(ReadableSource<T> source, Target target)
           
 
Method Summary
 Iterable<T> read(org.apache.hadoop.conf.Configuration conf)
           
 
Methods inherited from class org.apache.crunch.io.impl.SourceTargetImpl
accept, asSourceTarget, configureSource, equals, getSize, getType, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.crunch.Source
configureSource, getSize, getType
 
Methods inherited from interface org.apache.crunch.Target
accept, asSourceTarget
 

Constructor Detail

ReadableSourceTargetImpl

public ReadableSourceTargetImpl(ReadableSource<T> source,
                                Target target)
Method Detail

read

public Iterable<T> read(org.apache.hadoop.conf.Configuration conf)
                 throws IOException
Specified by:
read in interface ReadableSource<T>
Throws:
IOException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.