public class MqttPublishFunction extends BaseFunction
| Constructor and Description |
|---|
MqttPublishFunction(MqttOptions options,
MqttTupleMapper mapper,
KeyStoreLoader keyStoreLoader,
boolean retain) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(TridentTuple tuple,
TridentCollector collector) |
void |
prepare(Map conf,
TridentOperationContext context) |
cleanuppublic MqttPublishFunction(MqttOptions options, MqttTupleMapper mapper, KeyStoreLoader keyStoreLoader, boolean retain)
public void prepare(Map conf, TridentOperationContext context)
prepare in interface Operationprepare in class BaseOperationpublic void execute(TridentTuple tuple, TridentCollector collector)
Copyright © 2018 The Apache Software Foundation. All Rights Reserved.