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

org.apache.crunch.impl.mr.collect
Class UnionTable<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.UnionTable<K,V>
All Implemented Interfaces:
PCollection<Pair<K,V>>, PTable<K,V>

public class UnionTable<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
UnionTable(List<PTableBase<K,V>> tables)
           
 
Method Summary
 DoNode createDoNode()
           
 List<PCollectionImpl<?>> getParents()
           
 PTableType<K,V> getPTableType()
          Returns the PTableType of this PTable.
 PType<Pair<K,V>> getPType()
          Returns the PType of this PCollection.
 
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
equals, getClass, hashCode, 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

UnionTable

public UnionTable(List<PTableBase<K,V>> tables)
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>>


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