Package | Description |
---|---|
org.apache.edgent.connectors.http |
HTTP 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.mqtt.iot |
An MQTT based IotDevice connector.
|
org.apache.edgent.function |
Functional interfaces for lambda expressions.
|
org.apache.edgent.topology |
Functional api to build a streaming topology.
|
org.apache.edgent.topology.spi |
Modifier and Type | Method and Description |
---|---|
static TStream<com.google.gson.JsonObject> |
HttpStreams.postJson(TStream<com.google.gson.JsonObject> stream,
Supplier<org.apache.http.impl.client.CloseableHttpClient> clientCreator,
Function<com.google.gson.JsonObject,java.lang.String> uri,
UnaryOperator<com.google.gson.JsonObject> body)
Make an HTTP POST request with JsonObject.
|
static TStream<com.google.gson.JsonObject> |
HttpStreams.putJson(TStream<com.google.gson.JsonObject> stream,
Supplier<org.apache.http.impl.client.CloseableHttpClient> clientCreator,
Function<com.google.gson.JsonObject,java.lang.String> uri,
UnaryOperator<com.google.gson.JsonObject> body)
Make an HTTP PUT request with JsonObject.
|
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.
|
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.
|
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) |
Modifier and Type | Method and Description |
---|---|
static <T> UnaryOperator<T> |
Functions.identity()
Returns the identity function that returns its single argument.
|
Modifier and Type | Method and Description |
---|---|
TStream<T> |
TStream.modify(UnaryOperator<T> modifier)
Declare a new stream that modifies each tuple from this stream into one
(or zero) tuple of the same type
T . |
Modifier and Type | Method and Description |
---|---|
TStream<T> |
AbstractTStream.modify(UnaryOperator<T> modifier)
Declare a new stream that modifies each tuple from this stream into one
(or zero) tuple of the same type
T . |
Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641