Class JavaRowUdf
- java.lang.Object
-
- org.apache.beam.sdk.schemas.transforms.providers.JavaRowUdf
-
- All Implemented Interfaces:
java.io.Serializable
public class JavaRowUdf extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJavaRowUdf.Configuration
-
Constructor Summary
Constructors Constructor Description JavaRowUdf(JavaRowUdf.Configuration config, Schema inputSchema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.function.Function<Row,java.lang.Object>getFunction()Schema.FieldTypegetOutputType()
-
-
-
Constructor Detail
-
JavaRowUdf
public JavaRowUdf(JavaRowUdf.Configuration config, Schema inputSchema) throws java.net.MalformedURLException, java.lang.ReflectiveOperationException, StringCompiler.CompileException
- Throws:
java.net.MalformedURLExceptionjava.lang.ReflectiveOperationExceptionStringCompiler.CompileException
-
-
Method Detail
-
getOutputType
public Schema.FieldType getOutputType()
-
getFunction
public java.util.function.Function<Row,java.lang.Object> getFunction() throws java.net.MalformedURLException, java.lang.ReflectiveOperationException, StringCompiler.CompileException
- Throws:
java.net.MalformedURLExceptionjava.lang.ReflectiveOperationExceptionStringCompiler.CompileException
-
-