public class FunctionCatalog extends Object
Constructor and Description |
---|
FunctionCatalog() |
Modifier and Type | Method and Description |
---|---|
static scala.collection.immutable.Map<String,Class<?>> |
buildInFunctions() |
void |
clear()
Drop all registered functions.
|
boolean |
dropFunction(String name)
Drop a function and return if the function existed.
|
Expression |
lookupFunction(String name,
scala.collection.Seq<Expression> children)
Lookup and create an expression if we find a match.
|
void |
registerFunction(String name,
Class<?> builder) |
static FunctionCatalog |
withBuildIns()
Create a new function catalog with build-in functions.
|
public static FunctionCatalog withBuildIns()
public Expression lookupFunction(String name, scala.collection.Seq<Expression> children)
public boolean dropFunction(String name)
public void clear()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.