This project has retired. For details please refer to its
Attic page.
SparkCollectFactory (Apache Crunch 0.9.0 API)
org.apache.crunch.impl.spark.collect
Class SparkCollectFactory
java.lang.Object
org.apache.crunch.impl.spark.collect.SparkCollectFactory
- All Implemented Interfaces:
- PCollectionFactory
public class SparkCollectFactory
- extends Object
- implements PCollectionFactory
Method Summary |
|
createDoCollection(String name,
PCollectionImpl<S> parent,
DoFn<S,T> fn,
PType<T> type,
ParallelDoOptions options)
|
|
createDoTable(String name,
PCollectionImpl<S> parent,
CombineFn<K,V> combineFn,
DoFn<S,Pair<K,V>> fn,
PTableType<K,V> type)
|
|
createDoTable(String name,
PCollectionImpl<S> parent,
DoFn<S,Pair<K,V>> fn,
PTableType<K,V> type,
ParallelDoOptions options)
|
|
createGroupedTable(PTableBase<K,V> parent,
GroupingOptions groupingOptions)
|
|
createInputCollection(Source<S> source,
DistributedPipeline pipeline)
|
|
createInputTable(TableSource<K,V> source,
DistributedPipeline pipeline)
|
|
createUnionCollection(List<? extends PCollectionImpl<S>> internal)
|
|
createUnionTable(List<PTableBase<K,V>> internal)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SparkCollectFactory
public SparkCollectFactory()
createInputCollection
public <S> BaseInputCollection<S> createInputCollection(Source<S> source,
DistributedPipeline pipeline)
- Specified by:
createInputCollection
in interface PCollectionFactory
createInputTable
public <K,V> BaseInputTable<K,V> createInputTable(TableSource<K,V> source,
DistributedPipeline pipeline)
- Specified by:
createInputTable
in interface PCollectionFactory
createUnionCollection
public <S> BaseUnionCollection<S> createUnionCollection(List<? extends PCollectionImpl<S>> internal)
- Specified by:
createUnionCollection
in interface PCollectionFactory
createDoCollection
public <S,T> BaseDoCollection<T> createDoCollection(String name,
PCollectionImpl<S> parent,
DoFn<S,T> fn,
PType<T> type,
ParallelDoOptions options)
- Specified by:
createDoCollection
in interface PCollectionFactory
createDoTable
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)
- Specified by:
createDoTable
in interface PCollectionFactory
createDoTable
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)
- Specified by:
createDoTable
in interface PCollectionFactory
createGroupedTable
public <K,V> BaseGroupedTable<K,V> createGroupedTable(PTableBase<K,V> parent,
GroupingOptions groupingOptions)
- Specified by:
createGroupedTable
in interface PCollectionFactory
createUnionTable
public <K,V> PTable<K,V> createUnionTable(List<PTableBase<K,V>> internal)
- Specified by:
createUnionTable
in interface PCollectionFactory
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.