This project has retired. For details please refer to its Attic page.
BaseDoTable (Apache Crunch 0.11.0 API)

org.apache.crunch.impl.dist.collect
Class BaseDoTable<K,V>

java.lang.Object
  extended by org.apache.crunch.impl.dist.collect.PCollectionImpl<Pair<K,V>>
      extended by org.apache.crunch.impl.dist.collect.PTableBase<K,V>
          extended by org.apache.crunch.impl.dist.collect.BaseDoTable<K,V>
All Implemented Interfaces:
PCollection<Pair<K,V>>, PTable<K,V>
Direct Known Subclasses:
DoTable

public class BaseDoTable<K,V>
extends PTableBase<K,V>
implements PTable<K,V>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.crunch.impl.dist.collect.PCollectionImpl
PCollectionImpl.Visitor
 
Method Summary
 long getLastModifiedAt()
          The time of the most recent modification to one of the input sources to the collection.
 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.dist.collect.PTableBase
asMap, bottom, cache, cache, cogroup, collectValues, filter, filter, getKeyType, getValueType, groupByKey, groupByKey, groupByKey, join, keys, mapKeys, mapKeys, mapValues, mapValues, materializeToMap, top, union, union, values, write, write
 
Methods inherited from class org.apache.crunch.impl.dist.collect.PCollectionImpl
accept, aggregate, asCollection, asReadable, by, by, count, first, getDepth, getMaterializedAt, getName, getOnlyParent, getParallelDoOptions, getPipeline, getSize, getTargetDependencies, getTypeFamily, isBreakpoint, length, materialize, materializeAt, max, min, parallelDo, parallelDo, parallelDo, parallelDo, parallelDo, parallelDo, sequentialDo, setBreakpoint, toString, union, union
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.crunch.PTable
asMap, bottom, cache, cache, cogroup, collectValues, filter, filter, getKeyType, getValueType, groupByKey, groupByKey, groupByKey, join, keys, mapKeys, mapKeys, mapValues, mapValues, materializeToMap, top, union, union, values, write, write
 
Methods inherited from interface org.apache.crunch.PCollection
aggregate, asCollection, asReadable, by, by, count, first, getName, getPipeline, getSize, getTypeFamily, length, materialize, max, min, parallelDo, parallelDo, parallelDo, parallelDo, parallelDo, parallelDo, sequentialDo, union, union
 

Method Detail

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>

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

getLastModifiedAt

public long getLastModifiedAt()
Description copied from class: PCollectionImpl
The time of the most recent modification to one of the input sources to the collection. If the time can not be determined then -1 should be returned.

Specified by:
getLastModifiedAt in class PCollectionImpl<Pair<K,V>>
Returns:
time of the most recent modification to one of the input sources to the collection.


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