This project has retired. For details please refer to its
Attic page.
BaseInputCollection (Apache Crunch 0.10.0 API)
org.apache.crunch.impl.dist.collect
Class BaseInputCollection<S>
java.lang.Object
org.apache.crunch.impl.dist.collect.PCollectionImpl<S>
org.apache.crunch.impl.dist.collect.BaseInputCollection<S>
- All Implemented Interfaces:
- PCollection<S>
- Direct Known Subclasses:
- InputCollection
public class BaseInputCollection<S>
- extends PCollectionImpl<S>
Methods inherited from class org.apache.crunch.impl.dist.collect.PCollectionImpl |
accept, aggregate, asCollection, asReadable, by, by, cache, cache, count, filter, filter, first, getDepth, getMaterializedAt, getName, getOnlyParent, getParallelDoOptions, getPipeline, getSize, getTargetDependencies, getTypeFamily, isBreakpoint, length, materialize, materializeAt, max, min, parallelDo, parallelDo, parallelDo, parallelDo, parallelDo, parallelDo, setBreakpoint, toString, union, union, write, write |
BaseInputCollection
public BaseInputCollection(Source<S> source,
DistributedPipeline pipeline)
getPType
public PType<S> getPType()
- Description copied from interface:
PCollection
- Returns the
PType
of this PCollection
.
getSource
public Source<S> getSource()
getParents
public List<PCollectionImpl<?>> getParents()
- Specified by:
getParents
in class PCollectionImpl<S>
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<S>
- Returns:
- time of the most recent modification to one of the input sources to the collection.
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.