public class TridentMinMaxOfVehiclesTopology extends Object
Stream.minBy(String, Comparator)
* Stream.min(Comparator)
* Stream.maxBy(String, Comparator)
* Stream.max(Comparator)
operations on trident Stream
.Constructor and Description |
---|
TridentMinMaxOfVehiclesTopology() |
Modifier and Type | Method and Description |
---|---|
static StormTopology |
buildVehiclesTopology()
Creates a topology which demonstrates min/max operations on tuples of stream which contain vehicle and driver fields
with values
TridentMinMaxOfVehiclesTopology.Vehicle and TridentMinMaxOfVehiclesTopology.Driver respectively. |
static void |
main(String[] args) |
public static StormTopology buildVehiclesTopology()
TridentMinMaxOfVehiclesTopology.Vehicle
and TridentMinMaxOfVehiclesTopology.Driver
respectively.Copyright © 2023 The Apache Software Foundation. All rights reserved.