@PublicEvolving public abstract class UserDefinedFunction extends Object implements FunctionDefinition, Serializable
User-defined functions combine the logical definition of a function for validation and planning and contain a corresponding runtime implementation.
| Constructor and Description |
|---|
UserDefinedFunction() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Tear-down method for user-defined function.
|
String |
functionIdentifier()
Returns a unique, serialized representation for this function.
|
void |
open(FunctionContext context)
Setup method for user-defined function.
|
String |
toString()
Returns the name of the UDF that is used for plan explanation and logging.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetKind, getRequirements, isDeterministicpublic final String functionIdentifier()
public void open(FunctionContext context) throws Exception
Exceptionpublic void close()
throws Exception
ExceptionCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.