static org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>> |
Pipeline.accumulateFlowSummaries(org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>> input,
org.joda.time.Duration accumulationDelay) |
|
static org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>> |
Pipeline.accumulateSummariesIfNecessary(NephronOptions options,
org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>> flowSummaries) |
|
static Pipeline.TotalAndSummary |
Pipeline.aggregateParentTotal(String transformPrefix,
org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>> child) |
Aggregates over parent keys.
|
static Pipeline.SumAndTopK |
Pipeline.aggregateSumAndTopK(String transformPrefix,
org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>> groupedByKey,
int k,
org.apache.beam.sdk.transforms.SerializableFunction<CompoundKey,Boolean> includeKeyInTopK) |
Reduces the input multimap collection into a collection with unique keys and the summed aggregates and
calculates the topK entries of these sums when selected over their parent keys.
|
static Pipeline.SumsAndTopKs |
Pipeline.aggregateSumsAndTopKs(String transformPrefix,
org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>> groupedByKeyWithTos,
CompoundKeyType typeWithoutTos,
int k,
org.apache.beam.sdk.transforms.SerializableFunction<CompoundKey,Boolean> includeKeyInTopK) |
Aggregates the sums and topKs for the input collection and a projection of the input collection where the tos
(i.e.
|
static void |
Pipeline.attachWriteToCortex(NephronOptions options,
org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>> flowSummaries) |
|
static void |
Pipeline.attachWriteToCortex(NephronOptions options,
org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>> flowSummaries,
Consumer<org.opennms.nephron.cortex.CortexIo.Write<CompoundKey,Aggregate>> additionalConfig) |
|
static void |
Pipeline.attachWriteToCortex(NephronOptions options,
org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>> flowSummaries,
Consumer<org.opennms.nephron.cortex.CortexIo.Write<CompoundKey,Aggregate>> additionalConfig) |
|
static void |
Pipeline.attachWriteToElastic(NephronOptions options,
org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>> flowSummaries) |
|
static void |
Pipeline.attachWriteToKafka(NephronOptions options,
org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>> flowSummaries) |
|
org.apache.beam.sdk.values.PDone |
Pipeline.WriteToElasticsearch.expand(org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>> input) |
|
org.apache.beam.sdk.values.PDone |
Pipeline.WriteToKafka.expand(org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<CompoundKey,Aggregate>> input) |
|
void |
Pipeline.ProjConvWithTos.processElement(org.apache.beam.sdk.values.KV<CompoundKey,Aggregate> kv,
org.apache.beam.sdk.transforms.DoFn.MultiOutputReceiver out) |
|
static FlowSummary |
Pipeline.toFlowSummary(org.apache.beam.sdk.values.KV<CompoundKey,Aggregate> fsd,
org.apache.beam.sdk.transforms.windowing.IntervalWindow window) |
|