org.apache.pig.scripting.groovy
Annotation Type AlgebraicInitial


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface AlgebraicInitial

This annotation is to be used on a Groovy method which is part of an Algebraic UDF to indicate that it will act as the exec method of the 'Initial' class of the UDF. The value of the annotation is the name of the Algebraic UDF it belongs to. The annotated method MUST accept a single groovy.lang.Tuple parameter, and MUST return a groovy.lang.Tuple or Object[].


Required Element Summary
 String value
           
 

Element Detail

value

public abstract String value


Copyright © 2007-2012 The Apache Software Foundation