public class GetSentenceCountFunction extends Object implements org.apache.spark.api.java.function.Function<Pair<List<String>,AtomicLong>,AtomicLong>
| Constructor and Description |
|---|
GetSentenceCountFunction() |
| Modifier and Type | Method and Description |
|---|---|
AtomicLong |
call(Pair<List<String>,AtomicLong> pair) |
public AtomicLong call(Pair<List<String>,AtomicLong> pair) throws Exception
call in interface org.apache.spark.api.java.function.Function<Pair<List<String>,AtomicLong>,AtomicLong>ExceptionCopyright © 2016. All Rights Reserved.