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


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

This annotation is to be used on a Groovy method which is part of an Accumulator UDF to indicate that it will act as the 'cleanup' method of the UDF. The value of the annotation is the name of the Accumulator UDF it belongs to. The annotated method MUST NOT be static and MUST NOT accept any parameters. Its return value, if any, is ignored.


Required Element Summary
 String value
           
 

Element Detail

value

public abstract String value


Copyright © 2007-2012 The Apache Software Foundation