Scala API
Scala API
Creates a Flow representing an BoundedOrdering. Orders the stream within a sliding window of n elements specified by the maxBounded parameter. Each element passing through the BoundedOrdering has an id. The elements can be ordered by the ordering function and the next expected id can be derived from the current id.
The input and output type of this stream component.
The type of the element's id.
The number of elements to wait for an out-of-order element.
The id of the first element getting to the BoundedOrdering.
Function to calculate the subsequent id from the current id.
Function to get the id from an element.
Defines how the element ids are being ordered.
The Flow representing the given BoundedOrdering
Java API
Java API
Creates a Flow representing an BoundedOrdering. Orders the stream within a sliding window of n elements specified by the maxBounded parameter. Each element passing through the BoundedOrdering has an id. The elements can be ordered by the id comparator and the next expected id can be derived from the current id.
The input and output type of this stream component.
The type of the element's id.
The number of elements to wait for an out-of-order element.
The id of the first element getting to the BoundedOrdering.
Function to calculate the subsequent id from the current id.
Function to get the id from an element.
The comparator used to find the ordering of the elements' ids.
The Flow representing the given BoundedOrdering
Java API
Java API
Creates a Flow representing an BoundedOrdering using the natural ordering of the element id. Orders the stream within a sliding window of n elements specified by the maxBounded parameter. Each element passing through the BoundedOrdering has an id. The elements can be ordered by comparing the id and the next expected id can be derived from the current id.
The input and output type of this stream component.
The type of the element's id.
The number of elements to wait for an out-of-order element.
The id of the first element getting to the BoundedOrdering.
Function to calculate the subsequent id from the current id.
Function to get the id from an element.
The Flow representing the given BoundedOrdering