Package | Description |
---|---|
org.apache.edgent.analytics.math3.json |
JSON analytics using Apache Commons Math.
|
org.apache.edgent.topology |
Functional api to build a streaming topology.
|
org.apache.edgent.topology.spi.graph |
Modifier and Type | Method and Description |
---|---|
static <K extends com.google.gson.JsonElement> |
JsonAnalytics.aggregate(TWindow<com.google.gson.JsonObject,K> window,
java.lang.String resultPartitionProperty,
java.lang.String valueProperty,
JsonUnivariateAggregate... aggregates)
Aggregate against a single
Numeric variable contained in an JSON object. |
static <K extends com.google.gson.JsonElement> |
JsonAnalytics.aggregate(TWindow<com.google.gson.JsonObject,K> window,
java.lang.String resultPartitionProperty,
java.lang.String resultProperty,
ToDoubleFunction<com.google.gson.JsonObject> valueGetter,
JsonUnivariateAggregate... aggregates)
Aggregate against a single
Numeric variable contained in an JSON object. |
static <K extends com.google.gson.JsonElement> |
JsonAnalytics.mvAggregate(TWindow<com.google.gson.JsonObject,K> window,
java.lang.String resultPartitionKeyProperty,
java.lang.String resultProperty,
java.util.List<org.apache.commons.math3.util.Pair<java.lang.String,JsonUnivariateAggregate[]>> aggregateSpecs)
Aggregate against multiple
Numeric variables contained in an JSON object. |
Modifier and Type | Method and Description |
---|---|
<K> TWindow<T,K> |
TStream.last(int count,
Function<T,K> keyFunction)
Declare a partitioned window that continually represents the last
count
tuples on this stream for each partition. |
<K> TWindow<T,K> |
TStream.last(long time,
java.util.concurrent.TimeUnit unit,
Function<T,K> keyFunction)
Declare a partitioned window that continually represents the last
time seconds of
tuples on this stream for each partition. |
Modifier and Type | Method and Description |
---|---|
<J,U,K> TStream<J> |
TStream.join(Function<T,K> keyer,
TWindow<U,K> window,
BiFunction<T,java.util.List<U>,J> joiner)
Join this stream with a partitioned window of type
U with key type K . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTWindow<T,K> |
class |
TWindowImpl<T,K> |
class |
TWindowTimeImpl<T,K> |
Modifier and Type | Method and Description |
---|---|
<K> TWindow<T,K> |
ConnectorStream.last(int count,
Function<T,K> keyFunction) |
<K> TWindow<T,K> |
ConnectorStream.last(long time,
java.util.concurrent.TimeUnit unit,
Function<T,K> keyFunction) |
Modifier and Type | Method and Description |
---|---|
<J,U,K> TStream<J> |
ConnectorStream.join(Function<T,K> keyer,
TWindow<U,K> twindow,
BiFunction<T,java.util.List<U>,J> joiner) |
Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641