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

org.apache.crunch.impl.mr.collect
Class InputTable<K,V>

java.lang.Object
  extended by org.apache.crunch.impl.mr.collect.PCollectionImpl<Pair<K,V>>
      extended by org.apache.crunch.impl.mr.collect.PTableBase<K,V>
          extended by org.apache.crunch.impl.mr.collect.InputTable<K,V>
All Implemented Interfaces:
PCollection<Pair<K,V>>, PTable<K,V>

public class InputTable<K,V>
extends PTableBase<K,V>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.crunch.impl.mr.collect.PCollectionImpl
PCollectionImpl.Visitor
 
Constructor Summary
InputTable(TableSource<K,V> source, MRPipeline pipeline)
           
 
Method Summary
 DoNode createDoNode()
           
 boolean equals(Object other)
           
 List<PCollectionImpl<?>> getParents()
           
 PTableType<K,V> getPTableType()
          Returns the PTableType of this PTable.
 PType<Pair<K,V>> getPType()
          Returns the PType of this PCollection.
 int hashCode()
           
 
Methods inherited from class org.apache.crunch.impl.mr.collect.PTableBase
bottom, cogroup, collectValues, getKeyType, getValueType, groupByKey, groupByKey, groupByKey, join, keys, materializeToMap, top, union, values, write
 
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
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.crunch.PCollection
by, by, count, filter, filter, getName, getPipeline, getSize, getTypeFamily, materialize, max, min, parallelDo, parallelDo, parallelDo, parallelDo, sample, sample, sort, union
 

Constructor Detail

InputTable

public InputTable(TableSource<K,V> source,
                  MRPipeline pipeline)
Method Detail

getPTableType

public PTableType<K,V> getPTableType()
Description copied from interface: PTable
Returns the PTableType of this PTable.


getPType

public PType<Pair<K,V>> getPType()
Description copied from interface: PCollection
Returns the PType of this PCollection.


getParents

public List<PCollectionImpl<?>> getParents()
Specified by:
getParents in class PCollectionImpl<Pair<K,V>>

createDoNode

public DoNode createDoNode()
Specified by:
createDoNode in class PCollectionImpl<Pair<K,V>>

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


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