T - The type of the records the collector will receivepublic interface RemoteCollector<T> extends Remote
RemoteCollectorOutputFormat
and implementations will receive remote results through the collect function.| Modifier and Type | Method and Description |
|---|---|
void |
collect(T element) |
RemoteCollectorConsumer<T> |
getConsumer() |
void |
setConsumer(RemoteCollectorConsumer<T> consumer) |
void collect(T element) throws RemoteException
RemoteExceptionRemoteCollectorConsumer<T> getConsumer() throws RemoteException
RemoteExceptionvoid setConsumer(RemoteCollectorConsumer<T> consumer) throws RemoteException
RemoteExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.