public class StoreFuncDecorator extends Object
StoreFunc#putNext(Tuple). It
handles errors by calling
OutputErrorHandler#handle(String, long, Throwable) if the
StoreFunc implements ErrorHandling| Constructor and Description |
|---|
StoreFuncDecorator(StoreFuncInterface storer,
String udfSignature) |
| Modifier and Type | Method and Description |
|---|---|
StoreFuncInterface |
getStorer() |
void |
putNext(Tuple tuple)
Call
StoreFunc#putNext(Tuple) and handle errors |
public StoreFuncDecorator(StoreFuncInterface storer, String udfSignature)
public void putNext(Tuple tuple) throws IOException
StoreFunc#putNext(Tuple) and handle errorstuple - the tuple to store.IOExceptionpublic StoreFuncInterface getStorer()
Copyright © 2007-2017 The Apache Software Foundation