public class CreatedCollection<T> extends PCollectionImpl<T> implements SparkCollection
Iterable
of
values.PCollectionImpl.Visitor
Constructor and Description |
---|
CreatedCollection(SparkPipeline p,
Iterable<T> contents,
PType<T> ptype,
CreateOptions options) |
Modifier and Type | Method and Description |
---|---|
org.apache.spark.api.java.JavaRDDLike<?,?> |
getJavaRDDLike(SparkRuntime runtime) |
long |
getLastModifiedAt()
The time of the most recent modification to one of the input sources to the collection.
|
List<PCollectionImpl<?>> |
getParents() |
PType<T> |
getPType()
Returns the
PType of this PCollection . |
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, sequentialDo, setBreakpoint, toString, union, union, write, write
public CreatedCollection(SparkPipeline p, Iterable<T> contents, PType<T> ptype, CreateOptions options)
public List<PCollectionImpl<?>> getParents()
getParents
in class PCollectionImpl<T>
public long getLastModifiedAt()
PCollectionImpl
-1
should be returned.getLastModifiedAt
in class PCollectionImpl<T>
public PType<T> getPType()
PCollection
PType
of this PCollection
.getPType
in interface PCollection<T>
public org.apache.spark.api.java.JavaRDDLike<?,?> getJavaRDDLike(SparkRuntime runtime)
getJavaRDDLike
in interface SparkCollection
Copyright © 2016 The Apache Software Foundation. All rights reserved.