com.cloudera.crunch.impl.mr.collect
Class UnionTable<K,V>

java.lang.Object
  extended by com.cloudera.crunch.impl.mr.collect.PCollectionImpl<Pair<K,V>>
      extended by com.cloudera.crunch.impl.mr.collect.PTableBase<K,V>
          extended by com.cloudera.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 com.cloudera.crunch.impl.mr.collect.PCollectionImpl
PCollectionImpl.Visitor
 
Field Summary
 
Fields inherited from class com.cloudera.crunch.impl.mr.collect.PCollectionImpl
pipeline
 
Constructor Summary
UnionTable(List<PTableBase<K,V>> tables)
           
 
Method Summary
protected  void acceptInternal(PCollectionImpl.Visitor visitor)
           
 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.
protected  long getSizeInternal()
           
 
Methods inherited from class com.cloudera.crunch.impl.mr.collect.PTableBase
bottom, cogroup, collectValues, getKeyType, getValueType, groupByKey, groupByKey, groupByKey, join, top, union, write
 
Methods inherited from class com.cloudera.crunch.impl.mr.collect.PCollectionImpl
accept, count, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.cloudera.crunch.PCollection
count, 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

getSizeInternal

protected long getSizeInternal()
Specified by:
getSizeInternal in class PCollectionImpl<Pair<K,V>>

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>>

acceptInternal

protected void acceptInternal(PCollectionImpl.Visitor visitor)
Specified by:
acceptInternal in class PCollectionImpl<Pair<K,V>>

createDoNode

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


Copyright © 2012. All Rights Reserved.