@DefaultSchema(value=AutoValueSchema.class) public abstract static class JavaRowUdf.Configuration extends java.lang.Object implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
JavaRowUdf.Configuration.Builder |
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
static JavaRowUdf.Configuration.Builder |
builder() |
abstract java.lang.String |
getCallable() |
abstract java.lang.String |
getExpression() |
abstract java.lang.String |
getName() |
abstract java.lang.String |
getPath() |
void |
validate() |
@SchemaFieldDescription(value="Source code of a java expression in terms of the schema fields.") @Nullable public abstract java.lang.String getExpression()
@SchemaFieldDescription(value="Source code of a public class implementing Function<Row, T> for some schema-compatible T.") @Nullable public abstract java.lang.String getCallable()
@SchemaFieldDescription(value="Path to a jar file implementing the function referenced in name.") @Nullable public abstract java.lang.String getPath()
@SchemaFieldDescription(value="Fully qualified name of either a class implementing Function<Row, T> (e.g. com.pkg.MyFunction), or a method taking a single Row argument (e.g. com.pkg.MyClass::methodName). If a method is passed, it must either be static or belong to a class with a public nullary constructor.") @Nullable public abstract java.lang.String getName()
public void validate()
public static JavaRowUdf.Configuration.Builder builder()