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
RemoteException
RemoteCollectorConsumer<T> getConsumer() throws RemoteException
RemoteException
void setConsumer(RemoteCollectorConsumer<T> consumer) throws RemoteException
RemoteException
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.