PointsToStaysDecoder class
Decoder that merges entities in a source stream to GpsStay entities, which will typically reduce the total number of entries in the stream significantly.
Constructors
- PointsToStaysDecoder({int? maxTimeGapSeconds, double? maxDistanceGapMeters})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bind(
Stream< GpsPoint> stream) → Stream<GpsStay> -
Transforms the provided
stream
.inherited -
cast<
RS, RT> () → Converter< RS, RT> -
Provides a
Converter<RS, RT>
view of this stream transformer.inherited -
convert(
GpsPoint input) → GpsStay -
The convert method cannot be called, because
input
may generate any number of GpsStay entities, which can therefore not be returned as one single result.override -
fuse<
TT> (Converter< GpsStay, TT> other) → Converter<GpsPoint, TT> -
Fuses
this
withother
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startChunkedConversion(
Sink< GpsStay> sink) → Sink<GpsPoint> -
Starts a chunked conversion.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited