Class WordCount.FormatAsTextFn
java.lang.Object
org.apache.beam.sdk.transforms.InferableFunction<KV<String,Long>,String>
  
org.apache.beam.sdk.transforms.SimpleFunction<KV<String,Long>,String>
  
org.apache.beam.runners.spark.structuredstreaming.examples.WordCount.FormatAsTextFn
- All Implemented Interfaces:
 Serializable,HasDisplayData,ProcessFunction<KV<String,,Long>, String> SerializableFunction<KV<String,Long>, String> 
- Enclosing class:
 WordCount
A SimpleFunction that converts a Word and Count into a printable string.
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class org.apache.beam.sdk.transforms.SimpleFunction
fromSerializableFunctionWithOutputTypeMethods inherited from class org.apache.beam.sdk.transforms.InferableFunction
fromProcessFunctionWithOutputType, getInputTypeDescriptor, getOutputTypeDescriptor, populateDisplayData 
- 
Constructor Details
- 
FormatAsTextFn
public FormatAsTextFn() 
 - 
 - 
Method Details
- 
apply
Description copied from interface:ProcessFunctionReturns the result of invoking this function on the given input. 
 -