public class CreatedTable<K,V> extends PTableBase<K,V> implements SparkCollection
Iterable
of
key-value pairs.PCollectionImpl.Visitor
Constructor and Description |
---|
CreatedTable(SparkPipeline pipeline,
Iterable<Pair<K,V>> contents,
PTableType<K,V> 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() |
PTableType<K,V> |
getPTableType()
Returns the
PTableType of this PTable . |
PType<Pair<K,V>> |
getPType()
Returns the
PType of this PCollection . |
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
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
aggregate, asCollection, asReadable, by, by, count, first, getName, getPipeline, getSize, getTypeFamily, length, materialize, max, min, parallelDo, parallelDo, parallelDo, parallelDo, parallelDo, parallelDo, sequentialDo, union, union
public CreatedTable(SparkPipeline pipeline, Iterable<Pair<K,V>> contents, PTableType<K,V> ptype, CreateOptions options)
public List<PCollectionImpl<?>> getParents()
getParents
in class PCollectionImpl<Pair<K,V>>
public long getLastModifiedAt()
PCollectionImpl
-1
should be returned.getLastModifiedAt
in class PCollectionImpl<Pair<K,V>>
public PTableType<K,V> getPTableType()
PTable
PTableType
of this PTable
.getPTableType
in interface PTable<K,V>
public PType<Pair<K,V>> getPType()
PCollection
PType
of this PCollection
.getPType
in interface PCollection<Pair<K,V>>
public org.apache.spark.api.java.JavaRDDLike<?,?> getJavaRDDLike(SparkRuntime runtime)
getJavaRDDLike
in interface SparkCollection
Copyright © 2016 The Apache Software Foundation. All rights reserved.