Class AutoSchemaFunction
- java.lang.Object
-
- org.apache.pulsar.functions.api.examples.AutoSchemaFunction
-
- All Implemented Interfaces:
org.apache.pulsar.functions.api.Function<org.apache.pulsar.client.api.schema.GenericRecord,java.lang.String>
public class AutoSchemaFunction extends java.lang.Object implements org.apache.pulsar.functions.api.Function<org.apache.pulsar.client.api.schema.GenericRecord,java.lang.String>Function that deals with Schema.Auto.
-
-
Constructor Summary
Constructors Constructor Description AutoSchemaFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringprocess(org.apache.pulsar.client.api.schema.GenericRecord input, org.apache.pulsar.functions.api.Context context)
-
-
-
Method Detail
-
process
public java.lang.String process(org.apache.pulsar.client.api.schema.GenericRecord input, org.apache.pulsar.functions.api.Context context)- Specified by:
processin interfaceorg.apache.pulsar.functions.api.Function<org.apache.pulsar.client.api.schema.GenericRecord,java.lang.String>
-
-