com.cloudera.crunch.io.impl
Class ReadableSourceTargetImpl<T>

java.lang.Object
  extended by com.cloudera.crunch.io.impl.SourceTargetImpl<T>
      extended by com.cloudera.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>


Field Summary
 
Fields inherited from class com.cloudera.crunch.io.impl.SourceTargetImpl
source, target
 
Constructor Summary
ReadableSourceTargetImpl(ReadableSource<T> source, Target target)
           
 
Method Summary
 Iterable<T> read(org.apache.hadoop.conf.Configuration conf)
           
 
Methods inherited from class com.cloudera.crunch.io.impl.SourceTargetImpl
accept, asSourceTarget, configureSource, equals, getSize, getType, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.cloudera.crunch.Source
configureSource, getSize, getType
 
Methods inherited from interface com.cloudera.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. All Rights Reserved.