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

public class DoTableImpl<K,V>
extends PTableBase<K,V>
implements PTable<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
 
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()
           
 boolean hasCombineFn()
           
 
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.PTable
bottom, cogroup, collectValues, getKeyType, getValueType, groupByKey, groupByKey, groupByKey, join, top, union, write
 
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
 

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.

Specified by:
getPTableType in interface PTable<K,V>

acceptInternal

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

getPType

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

Specified by:
getPType in interface PCollection<Pair<K,V>>

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

hasCombineFn

public boolean hasCombineFn()


Copyright © 2012. All Rights Reserved.