This project has retired. For details please refer to its
Attic page.
BaseDoCollection (Apache Crunch 0.9.0 API)
org.apache.crunch.impl.dist.collect
Class BaseDoCollection<S>
java.lang.Object
org.apache.crunch.impl.dist.collect.PCollectionImpl<S>
org.apache.crunch.impl.dist.collect.BaseDoCollection<S>
- All Implemented Interfaces:
- PCollection<S>
- Direct Known Subclasses:
- DoCollection, DoCollection
public class BaseDoCollection<S>
- extends PCollectionImpl<S>
Methods inherited from class org.apache.crunch.impl.dist.collect.PCollectionImpl |
accept, asCollection, asReadable, by, by, cache, cache, count, filter, filter, getChainingCollection, getDepth, getMaterializedAt, getName, getOnlyParent, getParallelDoOptions, getPipeline, getSize, getTargetDependencies, getTypeFamily, isBreakpoint, length, materialize, materializeAt, materializedData, max, min, parallelDo, parallelDo, parallelDo, parallelDo, parallelDo, parallelDo, setBreakpoint, toString, union, union, write, write |
fn
protected final DoFn<Object,S> fn
ptype
protected final PType<S> ptype
BaseDoCollection
protected BaseDoCollection(String name,
PCollectionImpl<T> parent,
DoFn<T,S> fn,
PType<S> ptype,
ParallelDoOptions options)
getSizeInternal
protected long getSizeInternal()
- Specified by:
getSizeInternal
in class PCollectionImpl<S>
getReadableDataInternal
protected ReadableData<S> getReadableDataInternal()
- Specified by:
getReadableDataInternal
in class PCollectionImpl<S>
getPType
public PType<S> getPType()
- Description copied from interface:
PCollection
- Returns the
PType
of this PCollection
.
getParents
public List<PCollectionImpl<?>> getParents()
- Specified by:
getParents
in class PCollectionImpl<S>
getLastModifiedAt
public long getLastModifiedAt()
- Specified by:
getLastModifiedAt
in class PCollectionImpl<S>
acceptInternal
protected void acceptInternal(PCollectionImpl.Visitor visitor)
- Specified by:
acceptInternal
in class PCollectionImpl<S>
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.