Defines an alias for the given function spec. This is useful for functions that require arguments to the constructor. @param function - the new function alias to define. @param funcSpec - the FuncSpec object representing the name of the function class and any arguments to constructor.
(String function, FuncSpec funcSpec)
| 558 | * the function class and any arguments to constructor. |
| 559 | */ |
| 560 | public void registerFunction(String function, FuncSpec funcSpec) { |
| 561 | pigContext.registerFunction(function, funcSpec); |
| 562 | } |
| 563 | |
| 564 | /** |
| 565 | * Defines an alias for the given streaming command. |
no outgoing calls