public class GetSentenceCountFunction extends java.lang.Object implements org.apache.spark.api.java.function.Function<Pair<java.util.List<java.lang.String>,java.util.concurrent.atomic.AtomicLong>,java.util.concurrent.atomic.AtomicLong>
Constructor and Description |
---|
GetSentenceCountFunction() |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.atomic.AtomicLong |
call(Pair<java.util.List<java.lang.String>,java.util.concurrent.atomic.AtomicLong> pair) |
public java.util.concurrent.atomic.AtomicLong call(Pair<java.util.List<java.lang.String>,java.util.concurrent.atomic.AtomicLong> pair) throws java.lang.Exception
call
in interface org.apache.spark.api.java.function.Function<Pair<java.util.List<java.lang.String>,java.util.concurrent.atomic.AtomicLong>,java.util.concurrent.atomic.AtomicLong>
java.lang.Exception