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

org.apache.crunch.impl.mr.collect
Class InputCollection<S>

java.lang.Object
  extended by org.apache.crunch.impl.mr.collect.PCollectionImpl<S>
      extended by org.apache.crunch.impl.mr.collect.InputCollection<S>
All Implemented Interfaces:
PCollection<S>

public class InputCollection<S>
extends PCollectionImpl<S>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.crunch.impl.mr.collect.PCollectionImpl
PCollectionImpl.Visitor
 
Constructor Summary
InputCollection(Source<S> source, MRPipeline pipeline)
           
 
Method Summary
 DoNode createDoNode()
           
 boolean equals(Object obj)
           
 List<PCollectionImpl<?>> getParents()
           
 PType<S> getPType()
          Returns the PType of this PCollection.
 Source<S> getSource()
           
 int hashCode()
           
 
Methods inherited from class org.apache.crunch.impl.mr.collect.PCollectionImpl
accept, by, by, count, filter, filter, getDepth, getMaterializedAt, getName, getOnlyParent, getPipeline, getSize, getTypeFamily, materialize, materializeAt, max, min, parallelDo, parallelDo, parallelDo, parallelDo, sample, sample, sort, toString, union, write
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InputCollection

public InputCollection(Source<S> source,
                       MRPipeline pipeline)
Method Detail

getPType

public PType<S> getPType()
Description copied from interface: PCollection
Returns the PType of this PCollection.


getSource

public Source<S> getSource()

getParents

public List<PCollectionImpl<?>> getParents()
Specified by:
getParents in class PCollectionImpl<S>

createDoNode

public DoNode createDoNode()
Specified by:
createDoNode in class PCollectionImpl<S>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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