JavaScript is disabled on your browser.
java.lang.Object
co.cask.cdap.etl.spark.streaming.function.preview.LimitingFunction<T>
Type Parameters:
T - type of object in the rdd.
All Implemented Interfaces:
Serializable , org.apache.spark.api.java.function.Function<org.apache.spark.api.java.JavaRDD<T>,org.apache.spark.api.java.JavaRDD<T>>
public class LimitingFunction<T>
extends Object
implements org.apache.spark.api.java.function.Function<org.apache.spark.api.java.JavaRDD<T>,org.apache.spark.api.java.JavaRDD<T>>
Function used to limit the number of records
See Also:
Serialized Form
Constructor Summary
Constructors
Constructor and Description
LimitingFunction (int numOfRecordsLimited)
Method Summary
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Copyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0 .