T - type of elements in the spark collectionpublic interface SparkCollection<T>
<C> C getUnderlying()
SparkCollection<T> cache()
SparkCollection<T> union(SparkCollection<T> other)
SparkCollection<RecordInfo<Object>> transform(StageSpec stageSpec, StageStatisticsCollector collector)
SparkCollection<RecordInfo<Object>> multiOutputTransform(StageSpec stageSpec, StageStatisticsCollector collector)
<U> SparkCollection<U> flatMap(StageSpec stageSpec, org.apache.spark.api.java.function.FlatMapFunction<T,U> function)
SparkCollection<RecordInfo<Object>> aggregate(StageSpec stageSpec, @Nullable Integer partitions, StageStatisticsCollector collector)
<K,V> SparkPairCollection<K,V> flatMapToPair(org.apache.spark.api.java.function.PairFlatMapFunction<T,K,V> function)
<U> SparkCollection<U> compute(StageSpec stageSpec, SparkCompute<T,U> compute) throws Exception
Exceptionvoid store(StageSpec stageSpec, org.apache.spark.api.java.function.PairFlatMapFunction<T,Object,Object> sinkFunction)
void publishAlerts(StageSpec stageSpec, StageStatisticsCollector collector) throws Exception
ExceptionSparkCollection<T> window(StageSpec stageSpec, Windower windower)
Copyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.