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

org.apache.crunch.io.seq
Class SeqFileTableSourceTarget<K,V>

java.lang.Object
  extended by org.apache.crunch.io.impl.SourceTargetImpl<T>
      extended by org.apache.crunch.io.impl.SourcePathTargetImpl<T>
          extended by org.apache.crunch.io.impl.ReadableSourcePathTargetImpl<Pair<K,V>>
              extended by org.apache.crunch.io.seq.SeqFileTableSourceTarget<K,V>
All Implemented Interfaces:
MapReduceTarget, PathTarget, ReadableSource<Pair<K,V>>, ReadableSourceTarget<Pair<K,V>>, Source<Pair<K,V>>, SourceTarget<Pair<K,V>>, TableSource<K,V>, Target

public class SeqFileTableSourceTarget<K,V>
extends ReadableSourcePathTargetImpl<Pair<K,V>>
implements TableSource<K,V>


Constructor Summary
SeqFileTableSourceTarget(org.apache.hadoop.fs.Path path, PTableType<K,V> tableType)
           
SeqFileTableSourceTarget(String path, PTableType<K,V> tableType)
           
 
Method Summary
 PTableType<K,V> getTableType()
           
 String toString()
           
 
Methods inherited from class org.apache.crunch.io.impl.ReadableSourcePathTargetImpl
read
 
Methods inherited from class org.apache.crunch.io.impl.SourcePathTargetImpl
configureForMapReduce, getPath
 
Methods inherited from class org.apache.crunch.io.impl.SourceTargetImpl
accept, asSourceTarget, configureSource, equals, getSize, getType, hashCode
 
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

SeqFileTableSourceTarget

public SeqFileTableSourceTarget(String path,
                                PTableType<K,V> tableType)

SeqFileTableSourceTarget

public SeqFileTableSourceTarget(org.apache.hadoop.fs.Path path,
                                PTableType<K,V> tableType)
Method Detail

getTableType

public PTableType<K,V> getTableType()
Specified by:
getTableType in interface TableSource<K,V>

toString

public String toString()
Overrides:
toString in class SourceTargetImpl<Pair<K,V>>


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