Package | Description |
---|---|
org.apache.edgent.connectors.command |
Command / OS Process connector.
|
org.apache.edgent.connectors.file |
File stream connector.
|
org.apache.edgent.connectors.iot |
Edgent device connector API to a message hub.
|
org.apache.edgent.connectors.iotp |
IBM Watson IoT Platform stream connector.
|
org.apache.edgent.connectors.jdbc |
JDBC based database stream connector.
|
org.apache.edgent.connectors.kafka |
Apache Kafka enterprise messing hub stream connector.
|
org.apache.edgent.connectors.mqtt |
MQTT (lightweight messaging protocol for small sensors and mobile devices) stream connector.
|
org.apache.edgent.connectors.mqtt.iot |
An MQTT based IotDevice connector.
|
org.apache.edgent.connectors.pubsub |
Publish subscribe model between jobs.
|
org.apache.edgent.connectors.wsclient |
WebSocket Client Connector API for sending and receiving messages to a WebSocket Server.
|
org.apache.edgent.connectors.wsclient.javax.websocket |
WebSocket Client Connector for sending and receiving messages to a WebSocket Server.
|
org.apache.edgent.topology |
Functional api to build a streaming topology.
|
org.apache.edgent.topology.spi | |
org.apache.edgent.topology.spi.graph |
Modifier and Type | Method and Description |
---|---|
static TSink<java.lang.String> |
CommandStreams.sink(TStream<java.lang.String> stream,
java.lang.ProcessBuilder cmd)
Sink a
TStream<String> to a command's input. |
Modifier and Type | Method and Description |
---|---|
static TSink<java.lang.String> |
FileStreams.textFileWriter(TStream<java.lang.String> contents,
Supplier<java.lang.String> basePathname)
Write the contents of a stream to files.
|
static TSink<java.lang.String> |
FileStreams.textFileWriter(TStream<java.lang.String> contents,
Supplier<java.lang.String> basePathname,
Supplier<org.apache.edgent.connectors.file.runtime.IFileWriterPolicy<java.lang.String>> policy)
Write the contents of a stream to files subject to the control
of a file writer policy.
|
Modifier and Type | Method and Description |
---|---|
TSink<com.google.gson.JsonObject> |
IotDevice.events(TStream<com.google.gson.JsonObject> stream,
Function<com.google.gson.JsonObject,java.lang.String> eventId,
UnaryOperator<com.google.gson.JsonObject> payload,
Function<com.google.gson.JsonObject,java.lang.Integer> qos)
Publish a stream's tuples as device events.
|
TSink<com.google.gson.JsonObject> |
IotDevice.events(TStream<com.google.gson.JsonObject> stream,
java.lang.String eventId,
int qos)
Publish a stream's tuples as device events.
|
Modifier and Type | Method and Description |
---|---|
TSink<com.google.gson.JsonObject> |
IotpDevice.events(TStream<com.google.gson.JsonObject> stream,
Function<com.google.gson.JsonObject,java.lang.String> eventId,
UnaryOperator<com.google.gson.JsonObject> payload,
Function<com.google.gson.JsonObject,java.lang.Integer> qos)
Publish a stream's tuples as device events.
|
TSink<com.google.gson.JsonObject> |
IotpDevice.events(TStream<com.google.gson.JsonObject> stream,
java.lang.String eventId,
int qos)
Publish a stream's tuples as device events.
|
Modifier and Type | Method and Description |
---|---|
<T> TSink<T> |
JdbcStreams.executeStatement(TStream<T> stream,
StatementSupplier stmtSupplier,
ParameterSetter<T> paramSetter)
For each tuple on
stream execute an SQL statement. |
<T> TSink<T> |
JdbcStreams.executeStatement(TStream<T> stream,
Supplier<java.lang.String> stmtSupplier,
ParameterSetter<T> paramSetter)
For each tuple on
stream execute an SQL statement. |
Modifier and Type | Method and Description |
---|---|
TSink<java.lang.String> |
KafkaProducer.publish(TStream<java.lang.String> stream,
java.lang.String topic)
Publish the stream of tuples as Kafka key/value records
to the specified partitions of the specified topics.
|
<T> TSink<T> |
KafkaProducer.publish(TStream<T> stream,
Function<T,java.lang.String> keyFn,
Function<T,java.lang.String> valueFn,
Function<T,java.lang.String> topicFn,
Function<T,java.lang.Integer> partitionFn)
Publish the stream of tuples as Kafka key/value records
to the specified partitions of the specified topics.
|
<T> TSink<T> |
KafkaProducer.publishBytes(TStream<T> stream,
Function<T,byte[]> keyFn,
Function<T,byte[]> valueFn,
Function<T,java.lang.String> topicFn,
Function<T,java.lang.Integer> partitionFn)
Publish the stream of tuples as Kafka key/value records
to the specified topic partitions.
|
Modifier and Type | Method and Description |
---|---|
TSink<java.lang.String> |
MqttStreams.publish(TStream<java.lang.String> stream,
java.lang.String topic,
int qos,
boolean retain)
Publish a
TStream<String> stream's tuples as MQTT messages. |
<T> TSink<T> |
MqttStreams.publish(TStream<T> stream,
Function<T,java.lang.String> topic,
Function<T,byte[]> payload,
Function<T,java.lang.Integer> qos,
Function<T,java.lang.Boolean> retain)
Publish a stream's tuples as MQTT messages.
|
Modifier and Type | Method and Description |
---|---|
TSink<com.google.gson.JsonObject> |
MqttDevice.events(TStream<com.google.gson.JsonObject> stream,
Function<com.google.gson.JsonObject,java.lang.String> eventId,
UnaryOperator<com.google.gson.JsonObject> payload,
Function<com.google.gson.JsonObject,java.lang.Integer> qos) |
TSink<com.google.gson.JsonObject> |
MqttDevice.events(TStream<com.google.gson.JsonObject> stream,
java.lang.String eventId,
int qos) |
Modifier and Type | Method and Description |
---|---|
static <T> TSink<T> |
PublishSubscribe.publish(TStream<T> stream,
java.lang.String topic,
java.lang.Class<? super T> streamType)
Publish this stream to a topic.
|
Modifier and Type | Method and Description |
---|---|
TSink<com.google.gson.JsonObject> |
WebSocketClient.send(TStream<com.google.gson.JsonObject> stream)
Send a stream's JsonObject tuples as JSON in a WebSocket text message.
|
TSink<byte[]> |
WebSocketClient.sendBytes(TStream<byte[]> stream)
Send a stream's byte[] tuples in a WebSocket binary message.
|
TSink<java.lang.String> |
WebSocketClient.sendString(TStream<java.lang.String> stream)
Send a stream's String tuples in a WebSocket text message.
|
Modifier and Type | Method and Description |
---|---|
TSink<com.google.gson.JsonObject> |
Jsr356WebSocketClient.send(TStream<com.google.gson.JsonObject> stream)
Send a stream's JsonObject tuples as JSON in a WebSocket text message.
|
TSink<byte[]> |
Jsr356WebSocketClient.sendBytes(TStream<byte[]> stream)
Send a stream's byte[] tuples in a WebSocket binary message.
|
TSink<java.lang.String> |
Jsr356WebSocketClient.sendString(TStream<java.lang.String> stream)
Send a stream's String tuples in a WebSocket text message.
|
Modifier and Type | Method and Description |
---|---|
TSink<T> |
TStream.print()
Utility method to print the contents of this stream
to
System.out at runtime. |
TSink<T> |
TStream.sink(Consumer<T> sinker)
Sink (terminate) this stream using a function.
|
TSink<T> |
TStream.sink(Sink<T> oplet)
Sink (terminate) this stream using a oplet.
|
Modifier and Type | Method and Description |
---|---|
TSink<T> |
AbstractTStream.print()
Utility method to print the contents of this stream to
System.out
at runtime. |
TSink<T> |
AbstractTStream.sink(Consumer<T> sinker) |
Modifier and Type | Method and Description |
---|---|
TSink<T> |
ConnectorStream.sink(Sink<T> oplet) |
Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641