public class SparkCollectFactory extends Object implements PCollectionFactory
Constructor and Description |
---|
SparkCollectFactory() |
public <S> BaseInputCollection<S> createInputCollection(Source<S> source, String named, DistributedPipeline pipeline, ParallelDoOptions doOpts)
createInputCollection
in interface PCollectionFactory
public <K,V> BaseInputTable<K,V> createInputTable(TableSource<K,V> source, String named, DistributedPipeline pipeline, ParallelDoOptions doOpts)
createInputTable
in interface PCollectionFactory
public <S> BaseUnionCollection<S> createUnionCollection(List<? extends PCollectionImpl<S>> internal)
createUnionCollection
in interface PCollectionFactory
public <S,T> BaseDoCollection<T> createDoCollection(String name, PCollectionImpl<S> parent, DoFn<S,T> fn, PType<T> type, ParallelDoOptions options)
createDoCollection
in interface PCollectionFactory
public <S,K,V> BaseDoTable<K,V> createDoTable(String name, PCollectionImpl<S> parent, DoFn<S,Pair<K,V>> fn, PTableType<K,V> type, ParallelDoOptions options)
createDoTable
in interface PCollectionFactory
public <S,K,V> BaseDoTable<K,V> createDoTable(String name, PCollectionImpl<S> parent, CombineFn<K,V> combineFn, DoFn<S,Pair<K,V>> fn, PTableType<K,V> type)
createDoTable
in interface PCollectionFactory
public <K,V> BaseGroupedTable<K,V> createGroupedTable(PTableBase<K,V> parent, GroupingOptions groupingOptions)
createGroupedTable
in interface PCollectionFactory
public <K,V> PTable<K,V> createUnionTable(List<PTableBase<K,V>> internal)
createUnionTable
in interface PCollectionFactory
Copyright © 2016 The Apache Software Foundation. All rights reserved.