Package | Description |
---|---|
org.apache.edgent.connectors.http |
HTTP stream connector.
|
org.apache.edgent.connectors.iot |
Edgent IoT device and IoT Gateway device connector API to an IoT 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.
|
TSink<com.google.gson.JsonObject> |
IotGateway.eventsForDevice(Function<com.google.gson.JsonObject,java.lang.String> deviceId,
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.
|
TSink<com.google.gson.JsonObject> |
IotpGateway.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> |
IotpGateway.eventsForDevice(Function<com.google.gson.JsonObject,java.lang.String> fqDeviceId,
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> |
IotpDevice.httpEvents(TStream<com.google.gson.JsonObject> stream,
Function<com.google.gson.JsonObject,java.lang.String> eventId,
UnaryOperator<com.google.gson.JsonObject> payload)
Publish a stream's tuples as device events using the WIoTP HTTP protocol.
|
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 © 2017 The Apache Software Foundation. All Rights Reserved - 4744f56-20170226-1707